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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_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 "ui/gfx/native_widget_types.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 class Slider; 13 class Slider;
14 class View; 14 class View;
15 15
16 // An interface implemented by an object that provides a platform-native slider. 16 // An interface implemented by an object that provides a platform-native slider.
17 class NativeSliderWrapper { 17 class NativeSliderWrapper {
18 public: 18 public:
19 // The Slider calls this when it is destroyed to clean up the wrapper object. 19 // The Slider calls this when it is destroyed to clean up the wrapper object.
(...skipping 20 matching lines...) Expand all
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_
OLDNEW
« no previous file with comments | « views/controls/slider/native_slider_gtk.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698