diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 07:37:29 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 07:37:29 +0000 |
commit | 82522511b7921e8c61742ebd80a4c674c56e7e48 (patch) | |
tree | 381d71de2b9c7b99675e6f2b4523ae0876c72ce8 /views/border.cc | |
parent | 631cf822bd6e64cf469544b42c9975f5602c29a6 (diff) | |
download | chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.zip chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.gz chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.bz2 |
ChromeCanvas->gfx::Canvas
Rename files too.
TBR=brettw
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113443
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/border.cc')
-rw-r--r-- | views/border.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/border.cc b/views/border.cc index 9127bce..2e74135 100644 --- a/views/border.cc +++ b/views/border.cc @@ -4,7 +4,7 @@ #include "views/border.h" -#include "app/gfx/chrome_canvas.h" +#include "app/gfx/canvas.h" #include "base/logging.h" namespace views { @@ -16,7 +16,7 @@ class SolidBorder : public Border { public: SolidBorder(int thickness, SkColor color); - virtual void Paint(const View& view, ChromeCanvas* canvas) const; + virtual void Paint(const View& view, gfx::Canvas* canvas) const; virtual void GetInsets(gfx::Insets* insets) const; private: @@ -33,7 +33,7 @@ SolidBorder::SolidBorder(int thickness, SkColor color) insets_(thickness, thickness, thickness, thickness) { } -void SolidBorder::Paint(const View& view, ChromeCanvas* canvas) const { +void SolidBorder::Paint(const View& view, gfx::Canvas* canvas) const { gfx::Rect clip_rect; if (!canvas->GetClipRect(&clip_rect)) return; // Empty clip rectangle, nothing to paint. @@ -70,7 +70,7 @@ class EmptyBorder : public Border { EmptyBorder(int top, int left, int bottom, int right) : top_(top), left_(left), bottom_(bottom), right_(right) {} - virtual void Paint(const View& view, ChromeCanvas* canvas) const {} + virtual void Paint(const View& view, gfx::Canvas* canvas) const {} virtual void GetInsets(gfx::Insets* insets) const { DCHECK(insets); |