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/controls/button/text_button.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/controls/button/text_button.cc')
-rw-r--r-- | views/controls/button/text_button.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc index 4f68b90..9bf9e24 100644 --- a/views/controls/button/text_button.cc +++ b/views/controls/button/text_button.cc @@ -4,7 +4,7 @@ #include "views/controls/button/text_button.h" -#include "app/gfx/chrome_canvas.h" +#include "app/gfx/canvas.h" #include "app/l10n_util.h" #include "app/throb_animation.h" #include "app/resource_bundle.h" @@ -67,7 +67,7 @@ TextButtonBorder::~TextButtonBorder() { // //////////////////////////////////////////////////////////////////////////////// -void TextButtonBorder::Paint(const View& view, ChromeCanvas* canvas) const { +void TextButtonBorder::Paint(const View& view, gfx::Canvas* canvas) const { const TextButton* mb = static_cast<const TextButton*>(&view); int state = mb->state(); @@ -182,7 +182,7 @@ void TextButton::ClearMaxTextSize() { max_text_size_ = text_size_; } -void TextButton::Paint(ChromeCanvas* canvas, bool for_drag) { +void TextButton::Paint(gfx::Canvas* canvas, bool for_drag) { if (!for_drag) { PaintBackground(canvas); @@ -318,7 +318,7 @@ bool TextButton::OnMousePressed(const MouseEvent& e) { return true; } -void TextButton::Paint(ChromeCanvas* canvas) { +void TextButton::Paint(gfx::Canvas* canvas) { Paint(canvas, false); } |