license.bot | f003cfe | 2008-08-24 09:55:55 +0900 | [diff] [blame^] | 1 | // 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.com | a6edc1d | 2008-08-21 04:34:30 +0900 | [diff] [blame] | 4 | |
| 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.com | 38f8a40 | 2008-08-23 05:14:37 +0900 | [diff] [blame] | 9 | #include "build/build_config.h" |
| 10 | |
| 11 | namespace gfx { |
awalker@google.com | a6edc1d | 2008-08-21 04:34:30 +0900 | [diff] [blame] | 12 | #if defined(OS_WIN) |
| 13 | class PlatformCanvasWin; |
| 14 | typedef PlatformCanvasWin PlatformCanvas; |
| 15 | #elif defined(OS_MACOSX) |
| 16 | class PlatformCanvasMac; |
| 17 | typedef PlatformCanvasMac PlatformCanvas; |
| 18 | #endif |
license.bot | f003cfe | 2008-08-24 09:55:55 +0900 | [diff] [blame^] | 19 | } |