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

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

Issue 2692043009: Remove last MD reference from TrayPopupUtils. (Closed)
Patch Set: rebase Created 3 years, 10 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/examples/slider_example.cc
diff --git a/ui/views/examples/slider_example.cc b/ui/views/examples/slider_example.cc
index 9367d120c78d0a78386ce1a1a258a9258509d751..db3394076d1599a0f21b0762f0f34ae2974b3773 100644
--- a/ui/views/examples/slider_example.cc
+++ b/ui/views/examples/slider_example.cc
@@ -25,8 +25,7 @@ SliderExample::~SliderExample() {
void SliderExample::CreateExampleView(View* container) {
label_ = new Label();
- // Create a material design slider in this example.
- slider_ = Slider::CreateSlider(true /** is_material_design **/, this);
+ slider_ = new views::Slider(this);
slider_->SetValue(0.5);
« no previous file with comments | « ui/views/controls/slider_unittest.cc ('k') | ui/views/resources/default_100_percent/slider_center_active.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698