| 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 #include <gtk/gtk.h> | 5 #include <gtk/gtk.h> |
| 6 | 6 |
| 7 #include "views/controls/slider/native_slider_gtk.h" | 7 #include "views/controls/slider/native_slider_gtk.h" |
| 8 | 8 |
| 9 #include "base/gfx/gtk_util.h" | 9 #include "app/gfx/gtk_util.h" |
| 10 #include "views/controls/slider/slider.h" | 10 #include "views/controls/slider/slider.h" |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 | 13 |
| 14 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
| 15 // NativeSliderGtk, public: | 15 // NativeSliderGtk, public: |
| 16 | 16 |
| 17 NativeSliderGtk::NativeSliderGtk(Slider* slider) | 17 NativeSliderGtk::NativeSliderGtk(Slider* slider) |
| 18 : slider_(slider) { | 18 : slider_(slider) { |
| 19 } | 19 } |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 //////////////////////////////////////////////////////////////////////////////// | 115 //////////////////////////////////////////////////////////////////////////////// |
| 116 // NativeSliderWrapper, public: | 116 // NativeSliderWrapper, public: |
| 117 | 117 |
| 118 // static | 118 // static |
| 119 NativeSliderWrapper* NativeSliderWrapper::CreateWrapper(Slider* field) { | 119 NativeSliderWrapper* NativeSliderWrapper::CreateWrapper(Slider* field) { |
| 120 return new NativeSliderGtk(field); | 120 return new NativeSliderGtk(field); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } // namespace views | 123 } // namespace views |
| OLD | NEW |