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_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 #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 "ui/views/controls/menu/menu_delegate.h" | 12 #include "ui/views/controls/menu/menu_delegate.h" |
13 #include "views/view.h" | 13 #include "ui/views/view.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 | 16 |
17 class MenuHost; | 17 class MenuHost; |
18 class MenuItemView; | 18 class MenuItemView; |
19 class MenuScrollViewContainer; | 19 class MenuScrollViewContainer; |
20 | 20 |
21 // SubmenuView is the parent of all menu items. | 21 // SubmenuView is the parent of all menu items. |
22 // | 22 // |
23 // SubmenuView has the following responsibilities: | 23 // SubmenuView has the following responsibilities: |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 // Reposition open menu when contained views change size. | 196 // Reposition open menu when contained views change size. |
197 bool resize_open_menu_; | 197 bool resize_open_menu_; |
198 | 198 |
199 DISALLOW_COPY_AND_ASSIGN(SubmenuView); | 199 DISALLOW_COPY_AND_ASSIGN(SubmenuView); |
200 }; | 200 }; |
201 | 201 |
202 } // namespace views | 202 } // namespace views |
203 | 203 |
204 #endif // UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ | 204 #endif // UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_ |
OLD | NEW |