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

Unified Diff: views/controls/image_view.h

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/hwnd_view.cc ('k') | views/controls/image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/image_view.h
===================================================================
--- views/controls/image_view.h (revision 16147)
+++ views/controls/image_view.h (working copy)
@@ -8,7 +8,9 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/view.h"
-class ChromeCanvas;
+namespace gfx {
+class Canvas;
+}
namespace views {
@@ -71,7 +73,7 @@
// Return whether the image should be centered inside the view.
// Overriden from View
virtual gfx::Size GetPreferredSize();
- virtual void Paint(ChromeCanvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
// Overriden from View.
virtual bool GetTooltipText(int x, int y, std::wstring* tooltip);
« no previous file with comments | « views/controls/hwnd_view.cc ('k') | views/controls/image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698