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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
10 #include "ui/views/widget/widget.h" | 11 #include "ui/views/widget/widget.h" |
11 | 12 |
12 namespace views { | 13 namespace views { |
13 | 14 |
14 class NativeWidget; | 15 class NativeWidget; |
15 class SubmenuView; | 16 class SubmenuView; |
16 class View; | 17 class View; |
17 class Widget; | 18 class Widget; |
18 | 19 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 72 |
72 // If true and capture is lost we don't notify the delegate. | 73 // If true and capture is lost we don't notify the delegate. |
73 bool ignore_capture_lost_; | 74 bool ignore_capture_lost_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(MenuHost); | 76 DISALLOW_COPY_AND_ASSIGN(MenuHost); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace views | 79 } // namespace views |
79 | 80 |
80 #endif // UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ | 81 #endif // UI_VIEWS_CONTROLS_MENU_MENU_HOST_H_ |
OLD | NEW |