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

Unified Diff: ui/views/examples/button_example.h

Issue 2406323002: CustomButton: restrict animation repaints to buttons that actually animate (Closed)
Patch Set: don't use bool(T*) Created 4 years, 2 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 | « ui/views/controls/button/md_text_button.cc ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/button_example.h
diff --git a/ui/views/examples/button_example.h b/ui/views/examples/button_example.h
index 956759cf412c0d808eb21bd843f2e4603087cf8c..81ace6738b8192f2f979e0e25df1b2ba8841c72c 100644
--- a/ui/views/examples/button_example.h
+++ b/ui/views/examples/button_example.h
@@ -13,6 +13,7 @@ namespace views {
class ImageButton;
class LabelButton;
+class MdTextButton;
namespace examples {
@@ -36,6 +37,9 @@ class VIEWS_EXAMPLES_EXPORT ButtonExample : public ExampleBase,
LabelButton* label_button_ = nullptr;
LabelButton* styled_button_ = nullptr;
LabelButton* disabled_button_ = nullptr;
+ MdTextButton* md_button_ = nullptr;
+ MdTextButton* md_default_button_ = nullptr;
+ MdTextButton* md_prominent_button_ = nullptr;
ImageButton* image_button_ = nullptr;
const gfx::ImageSkia* icon_ = nullptr;
« no previous file with comments | « ui/views/controls/button/md_text_button.cc ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698