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