| 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_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ |
| 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "ui/views/controls/scrollbar/scroll_bar.h" | 13 #include "ui/views/controls/scrollbar/scroll_bar.h" |
| 14 #include "views/view.h" | 14 #include "ui/views/view.h" |
| 15 | 15 |
| 16 namespace views { | 16 namespace views { |
| 17 | 17 |
| 18 class NativeScrollBarWrapper; | 18 class NativeScrollBarWrapper; |
| 19 | 19 |
| 20 // The NativeScrollBar class is a scrollbar that uses platform's | 20 // The NativeScrollBar class is a scrollbar that uses platform's |
| 21 // native control. | 21 // native control. |
| 22 class VIEWS_EXPORT NativeScrollBar : public ScrollBar { | 22 class VIEWS_EXPORT NativeScrollBar : public ScrollBar { |
| 23 public: | 23 public: |
| 24 // The scroll-bar's class name. | 24 // The scroll-bar's class name. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // init border | 58 // init border |
| 59 NativeScrollBarWrapper* native_wrapper_; | 59 NativeScrollBarWrapper* native_wrapper_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(NativeScrollBar); | 61 DISALLOW_COPY_AND_ASSIGN(NativeScrollBar); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace views | 64 } // namespace views |
| 65 | 65 |
| 66 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ | 66 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_H_ |
| OLD | NEW |