OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // source code is governed by a BSD-style license that can be found in the | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ |
6 #define VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "gfx/native_widget_types.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 class Slider; | 13 class Slider; |
(...skipping 26 matching lines...) Expand all Loading... |
40 // Returns a handle to the underlying native view for testing. | 40 // Returns a handle to the underlying native view for testing. |
41 virtual gfx::NativeView GetTestingHandle() const = 0; | 41 virtual gfx::NativeView GetTestingHandle() const = 0; |
42 | 42 |
43 // Creates an appropriate NativeSliderWrapper for the platform. | 43 // Creates an appropriate NativeSliderWrapper for the platform. |
44 static NativeSliderWrapper* CreateWrapper(Slider* slider); | 44 static NativeSliderWrapper* CreateWrapper(Slider* slider); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace views | 47 } // namespace views |
48 | 48 |
49 #endif // VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ | 49 #endif // VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ |
OLD | NEW |