| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ |
| 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/views/controls/native_control_gtk.h" |
| 10 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" | 11 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" |
| 11 #include "views/controls/native_control_gtk.h" | |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 | 14 |
| 15 ///////////////////////////////////////////////////////////////////////////// | 15 ///////////////////////////////////////////////////////////////////////////// |
| 16 // | 16 // |
| 17 // NativeScrollBarGtk | 17 // NativeScrollBarGtk |
| 18 // | 18 // |
| 19 // A View subclass that wraps a Native gtk scrollbar control. | 19 // A View subclass that wraps a Native gtk scrollbar control. |
| 20 // | 20 // |
| 21 // A scrollbar is either horizontal or vertical. | 21 // A scrollbar is either horizontal or vertical. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // The NativeScrollBar we are bound to. | 71 // The NativeScrollBar we are bound to. |
| 72 NativeScrollBar* native_scroll_bar_; | 72 NativeScrollBar* native_scroll_bar_; |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarGtk); | 75 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarGtk); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace views | 78 } // namespace views |
| 79 | 79 |
| 80 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ | 80 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_GTK_H_ |
| OLD | NEW |