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

Unified Diff: views/controls/button/text_button.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/button/native_button.h ('k') | views/controls/button/text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/text_button.h
===================================================================
--- views/controls/button/text_button.h (revision 16147)
+++ views/controls/button/text_button.h (working copy)
@@ -5,7 +5,7 @@
#ifndef VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_
#define VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_
-#include "app/gfx/chrome_font.h"
+#include "app/gfx/font.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/border.h"
#include "views/controls/button/custom_button.h"
@@ -26,7 +26,7 @@
virtual ~TextButtonBorder();
// Render the background for the provided view
- virtual void Paint(const View& view, ChromeCanvas* canvas) const;
+ virtual void Paint(const View& view, gfx::Canvas* canvas) const;
// Returns the insets for the border.
virtual void GetInsets(gfx::Insets* insets) const;
@@ -92,7 +92,7 @@
// Paint the button into the specified canvas. If |for_drag| is true, the
// function paints a drag image representation into the canvas.
- virtual void Paint(ChromeCanvas* canvas, bool for_drag);
+ virtual void Paint(gfx::Canvas* canvas, bool for_drag);
// Overridden from View:
virtual gfx::Size GetPreferredSize();
@@ -101,7 +101,7 @@
protected:
virtual bool OnMousePressed(const MouseEvent& e);
- virtual void Paint(ChromeCanvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
private:
// The text string that is displayed in the button.
« no previous file with comments | « views/controls/button/native_button.h ('k') | views/controls/button/text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698