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

Unified Diff: ui/views/controls/button/label_button.h

Issue 62873007: [Toolbar] Base toolbar button class with background images for button states (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add home button Created 7 years, 1 month 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: ui/views/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index c69ea037b1068db7934a1ab1528d7cc6c529a191..02446314c89730c83a68234654448739669d53fd 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -72,6 +72,7 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
protected:
Label* label() const { return label_; }
+ ImageView* image() const { return image_; }
Peter Kasting 2013/11/19 02:28:50 Nit: Put this above label() to match the member de
Greg Billock 2013/11/20 00:59:03 Yeah, you're probably right there. I mean technica
Peter Kasting 2013/11/20 01:10:20 Bonus points if you get them to return const X* in
Greg Billock 2013/11/20 01:30:46 :-) yeah. I realized even what I want to do with t
// Fill |params| with information about the button.
virtual void GetExtraParams(ui::NativeTheme::ExtraParams* params) const;
« chrome/browser/ui/views/toolbar/toolbar_view.cc ('K') | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698