OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_CANVAS_SKIA_PAINT_H_ | 5 #ifndef UI_GFX_CANVAS_SKIA_PAINT_H_ |
6 #define UI_GFX_CANVAS_SKIA_PAINT_H_ | 6 #define UI_GFX_CANVAS_SKIA_PAINT_H_ |
7 | 7 |
8 // This file provides an easy way to include the appropriate CanvasPaint | 8 // This file provides an easy way to include the appropriate CanvasPaint |
9 // header file on your platform. | 9 // header file on your platform. |
10 | 10 |
11 #if defined(WIN32) | 11 #if defined(__APPLE__) |
12 #include "ui/gfx/canvas_paint_win.h" | |
13 #elif defined(__APPLE__) | |
14 #include "ui/gfx/canvas_paint_mac.h" | 12 #include "ui/gfx/canvas_paint_mac.h" |
15 #else | 13 #else |
16 #error "No canvas paint for this platform" | 14 #error "No canvas paint for this platform" |
17 #endif | 15 #endif |
18 | 16 |
19 #endif // UI_GFX_CANVAS_SKIA_PAINT_H_ | 17 #endif // UI_GFX_CANVAS_SKIA_PAINT_H_ |
OLD | NEW |