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

Unified Diff: views/controls/button/text_button.h

Issue 7003080: Change profile menu button to avatar button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
Index: views/controls/button/text_button.h
===================================================================
--- views/controls/button/text_button.h (revision 88024)
+++ views/controls/button/text_button.h (working copy)
@@ -342,6 +342,9 @@
protected:
SkBitmap icon() const { return icon_; }
+ // Returns the image to paint. This is invoked from paint.
+ virtual SkBitmap GetImageToPaint() const;
sky 2011/06/09 15:46:46 Can this return const SkBitmap& ?
sail 2011/06/10 00:56:20 Done.
+
// Overridden from NativeThemeDelegate:
virtual gfx::NativeTheme::Part GetThemePart() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698