| 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_MENU_CONTROLLER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ |
| 6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
| 18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "ui/events/event.h" | 20 #include "ui/events/event.h" |
| 21 #include "ui/events/event_constants.h" | 21 #include "ui/events/event_constants.h" |
| 22 #include "ui/events/platform/platform_event_dispatcher.h" | 22 #include "ui/events/platform/platform_event_dispatcher.h" |
| 23 #include "ui/views/controls/button/menu_button.h" | 23 #include "ui/views/controls/button/menu_button.h" |
| 24 #include "ui/views/controls/menu/menu_config.h" | 24 #include "ui/views/controls/menu/menu_config.h" |
| 25 #include "ui/views/controls/menu/menu_delegate.h" | 25 #include "ui/views/controls/menu/menu_delegate.h" |
| 26 #include "ui/views/widget/widget_observer.h" | 26 #include "ui/views/widget/widget_observer.h" |
| 27 | 27 |
| 28 namespace ui { | 28 namespace ui { |
| 29 class OSExchangeData; | 29 class OSExchangeData; |
| 30 class ScopedEventDispatcher; | |
| 31 } | 30 } |
| 32 namespace views { | 31 namespace views { |
| 33 | 32 |
| 34 class MenuButton; | 33 class MenuButton; |
| 35 class MenuHostRootView; | 34 class MenuHostRootView; |
| 36 class MenuItemView; | 35 class MenuItemView; |
| 37 class MenuMessageLoop; | 36 class MenuMessageLoop; |
| 38 class MouseEvent; | 37 class MouseEvent; |
| 39 class SubmenuView; | 38 class SubmenuView; |
| 40 class View; | 39 class View; |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 #if defined(USE_AURA) | 698 #if defined(USE_AURA) |
| 700 std::unique_ptr<MenuPreTargetHandler> menu_pre_target_handler_; | 699 std::unique_ptr<MenuPreTargetHandler> menu_pre_target_handler_; |
| 701 #endif | 700 #endif |
| 702 | 701 |
| 703 DISALLOW_COPY_AND_ASSIGN(MenuController); | 702 DISALLOW_COPY_AND_ASSIGN(MenuController); |
| 704 }; | 703 }; |
| 705 | 704 |
| 706 } // namespace views | 705 } // namespace views |
| 707 | 706 |
| 708 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ | 707 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ |
| OLD | NEW |