Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: app/gfx/canvas_paint.h

Issue 172046: A canvas_paint for OS X. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | app/resource_bundle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 APP_GFX_CANVAS_PAINT_H_ 5 #ifndef APP_GFX_CANVAS_PAINT_H_
6 #define APP_GFX_CANVAS_PAINT_H_ 6 #define APP_GFX_CANVAS_PAINT_H_
7 7
8 #include "app/gfx/canvas.h" 8 #include "app/gfx/canvas.h"
9 #include "skia/ext/canvas_paint.h" 9 #include "skia/ext/canvas_paint.h"
10 10
11 // Define a skia::CanvasPaint type that wraps our gfx::Canvas like the 11 // Define a skia::CanvasPaint type that wraps our gfx::Canvas like the
12 // skia::PlatformCanvasPaint wraps PlatformCanvas. 12 // skia::PlatformCanvasPaint wraps PlatformCanvas.
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 #if defined(OS_WIN) || defined(OS_LINUX)
17 typedef skia::CanvasPaintT<Canvas> CanvasPaint; 16 typedef skia::CanvasPaintT<Canvas> CanvasPaint;
18 #endif
19 17
20 } // namespace gfx 18 } // namespace gfx
21 19
22 #endif // APP_GFX_CANVAS_PAINT_H_ 20 #endif // APP_GFX_CANVAS_PAINT_H_
OLDNEW
« no previous file with comments | « no previous file | app/resource_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698