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

Unified Diff: views/window/custom_frame_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/widget/widget_win.cc ('k') | views/window/custom_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/custom_frame_view.h
===================================================================
--- views/window/custom_frame_view.h (revision 16147)
+++ views/window/custom_frame_view.h (working copy)
@@ -11,12 +11,12 @@
#include "views/window/window_resources.h"
namespace gfx{
+class Canvas;
class Font;
class Size;
class Path;
class Point;
}
-class ChromeCanvas;
namespace views {
@@ -45,7 +45,7 @@
virtual void ResetWindowControls();
// View overrides:
- virtual void Paint(ChromeCanvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
virtual void Layout();
virtual gfx::Size GetPreferredSize();
@@ -75,10 +75,10 @@
int* title_thickness) const;
// Paint various sub-components of this view.
- void PaintRestoredFrameBorder(ChromeCanvas* canvas);
- void PaintMaximizedFrameBorder(ChromeCanvas* canvas);
- void PaintTitleBar(ChromeCanvas* canvas);
- void PaintRestoredClientEdge(ChromeCanvas* canvas);
+ void PaintRestoredFrameBorder(gfx::Canvas* canvas);
+ void PaintMaximizedFrameBorder(gfx::Canvas* canvas);
+ void PaintTitleBar(gfx::Canvas* canvas);
+ void PaintRestoredClientEdge(gfx::Canvas* canvas);
// Layout various sub-components of this view.
void LayoutWindowControls();
« no previous file with comments | « views/widget/widget_win.cc ('k') | views/window/custom_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698