| 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 gfx { | |
| 29 class Screen; | |
| 30 } | |
| 31 namespace ui { | 28 namespace ui { |
| 32 class OSExchangeData; | 29 class OSExchangeData; |
| 33 class ScopedEventDispatcher; | 30 class ScopedEventDispatcher; |
| 34 } | 31 } |
| 35 namespace views { | 32 namespace views { |
| 36 | 33 |
| 37 class MenuButton; | 34 class MenuButton; |
| 38 class MenuHostRootView; | 35 class MenuHostRootView; |
| 39 class MenuItemView; | 36 class MenuItemView; |
| 40 class MenuMessageLoop; | 37 class MenuMessageLoop; |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 #if defined(USE_AURA) | 705 #if defined(USE_AURA) |
| 709 std::unique_ptr<MenuKeyEventHandler> key_event_handler_; | 706 std::unique_ptr<MenuKeyEventHandler> key_event_handler_; |
| 710 #endif | 707 #endif |
| 711 | 708 |
| 712 DISALLOW_COPY_AND_ASSIGN(MenuController); | 709 DISALLOW_COPY_AND_ASSIGN(MenuController); |
| 713 }; | 710 }; |
| 714 | 711 |
| 715 } // namespace views | 712 } // namespace views |
| 716 | 713 |
| 717 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ | 714 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONTROLLER_H_ |
| OLD | NEW |