OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WRAPPER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
6 #define UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 #include "views/views_export.h" | 10 #include "ui/views/views_export.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Point; | 13 class Point; |
14 } | 14 } |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 class Menu2; | 18 class Menu2; |
19 class MenuListener; | 19 class MenuListener; |
20 | 20 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // Sets the minimum width of the menu. | 62 // Sets the minimum width of the menu. |
63 virtual void SetMinimumWidth(int width) = 0; | 63 virtual void SetMinimumWidth(int width) = 0; |
64 | 64 |
65 // Creates the appropriate instance of this wrapper for the current platform. | 65 // Creates the appropriate instance of this wrapper for the current platform. |
66 static MenuWrapper* CreateWrapper(Menu2* menu); | 66 static MenuWrapper* CreateWrapper(Menu2* menu); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace views | 69 } // namespace views |
70 | 70 |
71 #endif // UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 71 #endif // UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
OLD | NEW |