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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: WIP: use observer Created 3 years, 9 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: ui/views/controls/button/image_button.h
diff --git a/ui/views/controls/button/image_button.h b/ui/views/controls/button/image_button.h
index eba2a835a40eff5f07a628558b2fe1fd5ad48b16..fc2a0d5edb67802d8a9fe07ef48ffa58b182578f 100644
--- a/ui/views/controls/button/image_button.h
+++ b/ui/views/controls/button/image_button.h
@@ -73,6 +73,8 @@ class VIEWS_EXPORT ImageButton : public CustomButton {
draw_image_mirrored_ = mirrored;
}
+ void SetPadding(const gfx::Insets& padding);
+
// Overridden from View:
gfx::Size GetPreferredSize() const override;
const char* GetClassName() const override;

Powered by Google App Engine
This is Rietveld 408576698