| OLD | NEW |
| 1 // Copyright (c) 2012 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/base/native_theme/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 "ui/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 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // the size of the arrow buttons. | 62 // the size of the arrow buttons. |
| 63 virtual gfx::Rect GetTrackBounds() const OVERRIDE; | 63 virtual gfx::Rect GetTrackBounds() const OVERRIDE; |
| 64 | 64 |
| 65 // The NativeScrollBar we are bound to. | 65 // The NativeScrollBar we are bound to. |
| 66 NativeScrollBar* native_scroll_bar_; | 66 NativeScrollBar* native_scroll_bar_; |
| 67 | 67 |
| 68 // The scroll bar buttons (Up/Down, Left/Right). | 68 // The scroll bar buttons (Up/Down, Left/Right). |
| 69 Button* prev_button_; | 69 Button* prev_button_; |
| 70 Button* next_button_; | 70 Button* next_button_; |
| 71 | 71 |
| 72 ui::NativeTheme::ExtraParams params_; | 72 gfx::NativeTheme::ExtraParams params_; |
| 73 ui::NativeTheme::Part part_; | 73 gfx::NativeTheme::Part part_; |
| 74 ui::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 |