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_VIEWS_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_VIEWS_H_ |
6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_VIEWS_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ui/gfx/native_theme.h" | 10 #include "ui/gfx/native_theme.h" |
11 #include "ui/gfx/point.h" | 11 #include "ui/gfx/point.h" |
12 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
13 #include "ui/views/controls/scrollbar/base_scroll_bar.h" | 13 #include "ui/views/controls/scrollbar/base_scroll_bar.h" |
14 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" | 14 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" |
15 #include "views/view.h" | 15 #include "ui/views/view.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Canvas; | 18 class Canvas; |
19 } | 19 } |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
23 class NativeScrollBar; | 23 class NativeScrollBar; |
24 | 24 |
25 // Views implementation for the scrollbar. | 25 // Views implementation for the scrollbar. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 gfx::NativeTheme::ExtraParams params_; | 72 gfx::NativeTheme::ExtraParams params_; |
73 gfx::NativeTheme::Part part_; | 73 gfx::NativeTheme::Part part_; |
74 gfx::NativeTheme::State state_; | 74 gfx::NativeTheme::State state_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarViews); | 76 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarViews); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace views | 79 } // namespace views |
80 | 80 |
81 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_VIEWS_H_ | 81 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_VIEWS_H_ |
OLD | NEW |