blob: 192d7dc912131c0aa2b416252c337bf3179a785a [file] [log] [blame]
license.botf003cfe2008-08-24 09:55:55 +09001// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
awalker@google.coma6edc1d2008-08-21 04:34:30 +09004
5// Declare a platform-neutral name for this platform's canvas class
6// that can be used by upper-level classes that just need to pass a reference
7// around.
8
pinkerton@google.com38f8a402008-08-23 05:14:37 +09009#include "build/build_config.h"
10
11namespace gfx {
awalker@google.coma6edc1d2008-08-21 04:34:30 +090012#if defined(OS_WIN)
13class PlatformCanvasWin;
14typedef PlatformCanvasWin PlatformCanvas;
15#elif defined(OS_MACOSX)
16class PlatformCanvasMac;
17typedef PlatformCanvasMac PlatformCanvas;
18#endif
license.botf003cfe2008-08-24 09:55:55 +090019}