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

Unified Diff: ui/views/examples/vector_example.cc

Issue 2310213002: Update some example + test code to use MdTextButton instead of (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | ui/views/focus/focus_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/vector_example.cc
diff --git a/ui/views/examples/vector_example.cc b/ui/views/examples/vector_example.cc
index fbf0f118b39498a3a6f0f7a08a1e940d29c4a82f..85566d411b541c105cef4067e94dae590d1a3118 100644
--- a/ui/views/examples/vector_example.cc
+++ b/ui/views/examples/vector_example.cc
@@ -13,8 +13,8 @@
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/vector_icons_public.h"
#include "ui/views/border.h"
-#include "ui/views/controls/button/blue_button.h"
#include "ui/views/controls/button/button.h"
+#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/controls/textfield/textfield_controller.h"
@@ -37,7 +37,9 @@ class VectorIconGallery : public View,
size_input_(new Textfield()),
color_input_(new Textfield()),
file_chooser_(new Textfield()),
- file_go_button_(new BlueButton(this, base::ASCIIToUTF16("Render"))),
+ file_go_button_(
+ MdTextButton::CreateStandardButton(this,
+ base::ASCIIToUTF16("Render"))),
vector_id_(0),
// 36dp is one of the natural sizes for MD icons, and corresponds
// roughly to a 32dp usable area.
« no previous file with comments | « no previous file | ui/views/focus/focus_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698