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

Side by Side Diff: ui/views/test/test_slider.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 unified diff | Download patch
« no previous file with comments | « ui/views/test/test_slider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/test/test_slider.h"
6
7 #include "ui/views/controls/slider.h"
8
9 namespace views {
10
11 // Arbitrary thumb size used for tests.
12 const int thumb_size_ = 10;
13
14 TestSlider::TestSlider(SliderListener* listener) : Slider(listener) {}
15
16 TestSlider::~TestSlider() {}
17
18 void TestSlider::UpdateState(bool control_on) {
19 }
20
21 const char* TestSlider::GetClassName() const {
22 return "TestSlider";
23 }
24
25 int TestSlider::GetThumbWidth() {
26 return thumb_size_;
27 }
28
29 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/test/test_slider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698