| 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_BASE_SCROLL_BAR_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
| 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/views/context_menu_controller.h" |
| 9 #include "ui/views/controls/button/image_button.h" | 10 #include "ui/views/controls/button/image_button.h" |
| 10 #include "ui/views/controls/menu/menu_delegate.h" | 11 #include "ui/views/controls/menu/menu_delegate.h" |
| 11 #include "ui/views/controls/scrollbar/scroll_bar.h" | 12 #include "ui/views/controls/scrollbar/scroll_bar.h" |
| 12 #include "views/context_menu_controller.h" | |
| 13 #include "views/repeat_controller.h" | 13 #include "views/repeat_controller.h" |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 | 16 |
| 17 class BaseScrollBarThumb; | 17 class BaseScrollBarThumb; |
| 18 class MenuRunner; | 18 class MenuRunner; |
| 19 | 19 |
| 20 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
| 21 // | 21 // |
| 22 // BaseScrollBar | 22 // BaseScrollBar |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 int context_menu_mouse_position_; | 150 int context_menu_mouse_position_; |
| 151 | 151 |
| 152 scoped_ptr<MenuRunner> menu_runner_; | 152 scoped_ptr<MenuRunner> menu_runner_; |
| 153 | 153 |
| 154 DISALLOW_COPY_AND_ASSIGN(BaseScrollBar); | 154 DISALLOW_COPY_AND_ASSIGN(BaseScrollBar); |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 } // namespace views | 157 } // namespace views |
| 158 | 158 |
| 159 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ | 159 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
| OLD | NEW |