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

Unified Diff: webkit/port/platform/graphics/skia/PlatformContextSkia.h

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 side-by-side diff with in-line comments
Download patch
Index: webkit/port/platform/graphics/skia/PlatformContextSkia.h
===================================================================
--- webkit/port/platform/graphics/skia/PlatformContextSkia.h (revision 6968)
+++ webkit/port/platform/graphics/skia/PlatformContextSkia.h (working copy)
@@ -63,12 +63,12 @@
public:
// For printing, there shouldn't be any canvas. canvas can be NULL. If you
// supply a NULL canvas, you can also call setCanvas later.
- PlatformContextSkia(gfx::PlatformCanvas* canvas);
+ PlatformContextSkia(skia::PlatformCanvas* canvas);
~PlatformContextSkia();
// Sets the canvas associated with this context. Use when supplying NULL
// to the constructor.
- void setCanvas(gfx::PlatformCanvas* canvas);
+ void setCanvas(skia::PlatformCanvas* canvas);
void save();
void restore();
@@ -117,7 +117,7 @@
SkColor fillColor() const;
- gfx::PlatformCanvas* canvas() { return m_canvas; }
+ skia::PlatformCanvas* canvas() { return m_canvas; }
// TODO(brettw) why is this in this class?
void drawRect(SkRect rect);
@@ -132,7 +132,7 @@
// Warning: This function is deprecated so the users are reminded that they
// should use this layer of indirection instead of using the canvas
// directly. This is to help with the eventual serialization.
- gfx::PlatformCanvas* canvas() const;
+ skia::PlatformCanvas* canvas() const;
// Returns if the context is a printing context instead of a display
// context. Bitmap shouldn't be resampled when printing to keep the best
@@ -148,7 +148,7 @@
struct State;
// NULL indicates painting is disabled. Never delete this object.
- gfx::PlatformCanvas* m_canvas;
+ skia::PlatformCanvas* m_canvas;
// States stack. Enables local drawing state change with save()/restore()
// calls.
« no previous file with comments | « webkit/port/platform/graphics/skia/ImageSkia.cpp ('k') | webkit/port/platform/graphics/skia/PlatformContextSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698