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_HOST_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ |
6 #define UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
13 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 | 16 |
17 class NativeWidget; | |
18 class SubmenuView; | 17 class SubmenuView; |
19 class View; | 18 class View; |
20 class Widget; | 19 class Widget; |
21 | 20 |
22 namespace internal { | 21 namespace internal { |
23 | 22 |
24 // This class is internal to views. | 23 // This class is internal to views. |
25 class PreMenuEventDispatchHandler; | 24 class PreMenuEventDispatchHandler; |
26 | 25 |
27 } // internal | 26 } // internal |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Handles raw touch events at the moment. | 91 // Handles raw touch events at the moment. |
93 std::unique_ptr<internal::PreMenuEventDispatchHandler> pre_dispatch_handler_; | 92 std::unique_ptr<internal::PreMenuEventDispatchHandler> pre_dispatch_handler_; |
94 #endif | 93 #endif |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(MenuHost); | 95 DISALLOW_COPY_AND_ASSIGN(MenuHost); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace views | 98 } // namespace views |
100 | 99 |
101 #endif // UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ | 100 #endif // UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ |
OLD | NEW |