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

Side by Side Diff: views/controls/slider/native_slider_wrapper.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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 7
8 #include "base/gfx/native_widget_types.h" 8 #include "app/gfx/native_widget_types.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 class Slider; 12 class Slider;
13 class View; 13 class View;
14 14
15 // An interface implemented by an object that provides a platform-native slider. 15 // An interface implemented by an object that provides a platform-native slider.
16 class NativeSliderWrapper { 16 class NativeSliderWrapper {
17 public: 17 public:
18 // The Slider calls this when it is destroyed to clean up the wrapper object. 18 // The Slider calls this when it is destroyed to clean up the wrapper object.
(...skipping 20 matching lines...) Expand all
39 // Returns a handle to the underlying native view for testing. 39 // Returns a handle to the underlying native view for testing.
40 virtual gfx::NativeView GetTestingHandle() const = 0; 40 virtual gfx::NativeView GetTestingHandle() const = 0;
41 41
42 // Creates an appropriate NativeSliderWrapper for the platform. 42 // Creates an appropriate NativeSliderWrapper for the platform.
43 static NativeSliderWrapper* CreateWrapper(Slider* slider); 43 static NativeSliderWrapper* CreateWrapper(Slider* slider);
44 }; 44 };
45 45
46 } // namespace views 46 } // namespace views
47 47
48 #endif // VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_ 48 #endif // VIEWS_CONTROLS_SLIDER_NATIVE_SLIDER_WRAPPER_H_
OLDNEW
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar_win.cc ('k') | views/controls/textfield/native_textfield_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698