OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MENU_SUBMENU_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ |
6 #define UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "ui/views/animation/scroll_animator.h" | 12 #include "ui/views/animation/scroll_animator.h" |
12 #include "ui/views/controls/menu/menu_delegate.h" | 13 #include "ui/views/controls/menu/menu_delegate.h" |
13 #include "ui/views/controls/prefix_delegate.h" | 14 #include "ui/views/controls/prefix_delegate.h" |
14 #include "ui/views/controls/prefix_selector.h" | 15 #include "ui/views/controls/prefix_selector.h" |
15 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
16 | 17 |
17 namespace views { | 18 namespace views { |
18 | 19 |
19 class MenuHost; | 20 class MenuHost; |
20 class MenuItemView; | 21 class MenuItemView; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 float roundoff_error_; | 214 float roundoff_error_; |
214 | 215 |
215 PrefixSelector prefix_selector_; | 216 PrefixSelector prefix_selector_; |
216 | 217 |
217 DISALLOW_COPY_AND_ASSIGN(SubmenuView); | 218 DISALLOW_COPY_AND_ASSIGN(SubmenuView); |
218 }; | 219 }; |
219 | 220 |
220 } // namespace views | 221 } // namespace views |
221 | 222 |
222 #endif // UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ | 223 #endif // UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ |
OLD | NEW |