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

Side by Side Diff: ui/views/test/test_slider.h

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/resources/views_resources.grd ('k') | ui/views/test/test_slider.cc » ('j') | 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 #ifndef UI_VIEWS_TEST_TEST_SLIDER_H_
6 #define UI_VIEWS_TEST_TEST_SLIDER_H_
7
8 #include "base/macros.h"
9 #include "ui/views/controls/slider.h"
10 #include "ui/views/view.h"
11 #include "ui/views/views_export.h"
12
13 namespace views {
14 class Slider;
15
16 // It is a dummy implementation of slider used for testing functionalities in
17 // slider.
18 class TestSlider : public Slider {
19 public:
20 explicit TestSlider(SliderListener* listener);
21 ~TestSlider() override;
22
23 // ui::Slider:
24 void UpdateState(bool control_on) override;
25
26 // views::View:
27 const char* GetClassName() const override;
28
29 protected:
30 // ui::Slider:
31 int GetThumbWidth() override;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(TestSlider);
35 };
36
37 } // namespace views
38
39 #endif // UI_VIEWS_TEST_TEST_SLIDER_H_
OLDNEW
« no previous file with comments | « ui/views/resources/views_resources.grd ('k') | ui/views/test/test_slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698