summaryrefslogtreecommitdiffstats
path: root/views/window/custom_frame_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/custom_frame_view.h')
-rw-r--r--views/window/custom_frame_view.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/window/custom_frame_view.h b/views/window/custom_frame_view.h
index 0c41009..bee9e62 100644
--- a/views/window/custom_frame_view.h
+++ b/views/window/custom_frame_view.h
@@ -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 @@ class CustomFrameView : public NonClientFrameView,
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 @@ class CustomFrameView : public NonClientFrameView,
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();