1 // Copyright (c) 2012 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.
5 #ifndef UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_
6 #define UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_
8 #include "base/macros.h"
9 #include "ui/views/controls/slider.h"
10 #include "ui/views/examples/example_base.h"
17 class VIEWS_EXAMPLES_EXPORT SliderExample
: public ExampleBase
,
18 public SliderListener
{
21 ~SliderExample() override
;
24 void CreateExampleView(View
* container
) override
;
28 void SliderValueChanged(Slider
* sender
,
31 SliderChangeReason reason
) override
;
36 DISALLOW_COPY_AND_ASSIGN(SliderExample
);
39 } // namespace examples
42 #endif // UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_