OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ | 5 #ifndef VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ |
6 #define VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ | 6 #define VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/controls/slider/slider.h" | 9 #include "views/controls/slider/slider.h" |
10 #include "views/examples/example_base.h" | 10 #include "views/examples/example_base.h" |
11 #include "views/fill_layout.h" | 11 #include "views/layout/fill_layout.h" |
12 | 12 |
13 namespace examples { | 13 namespace examples { |
14 | 14 |
15 // SliderExample demonstrates how to use the Slider class. | 15 // SliderExample demonstrates how to use the Slider class. |
16 class SliderExample : public ExampleBase, views::SliderListener { | 16 class SliderExample : public ExampleBase, views::SliderListener { |
17 public: | 17 public: |
18 explicit SliderExample(ExamplesMain* main) : ExampleBase(main) { | 18 explicit SliderExample(ExamplesMain* main) : ExampleBase(main) { |
19 } | 19 } |
20 | 20 |
21 virtual ~SliderExample() {} | 21 virtual ~SliderExample() {} |
(...skipping 21 matching lines...) Expand all Loading... |
43 | 43 |
44 views::Slider* slider_; | 44 views::Slider* slider_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(SliderExample); | 46 DISALLOW_COPY_AND_ASSIGN(SliderExample); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace examples | 49 } // namespace examples |
50 | 50 |
51 #endif // VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ | 51 #endif // VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_ |
52 | 52 |
OLD | NEW |