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

Side by Side Diff: gfx/canvas_skia_paint.h

Issue 2862025: Canvas refactoring part 2.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « gfx/canvas_skia_mac.mm ('k') | gfx/canvas_skia_win.cc » ('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 GFX_CANVAS_PAINT_H_ 5 #ifndef GFX_CANVAS_SKIA_PAINT_H_
6 #define GFX_CANVAS_PAINT_H_ 6 #define GFX_CANVAS_SKIA_PAINT_H_
7 7
8 #include "gfx/canvas.h" 8 #include "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 gfx::CanvasSkiaPaint 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 typedef skia::CanvasPaintT<Canvas> CanvasPaint; 16 typedef skia::CanvasPaintT<CanvasSkia> CanvasSkiaPaint;
17 17
18 } // namespace gfx 18 } // namespace gfx
19 19
20 #endif // GFX_CANVAS_PAINT_H_ 20 #endif // GFX_CANVAS_SKIA_PAINT_H_
OLDNEW
« no previous file with comments | « gfx/canvas_skia_mac.mm ('k') | gfx/canvas_skia_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698