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_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 | 7 |
8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Remove a menu listener. | 73 // Remove a menu listener. |
74 virtual void RemoveMenuListener(MenuListener* listener) = 0; | 74 virtual void RemoveMenuListener(MenuListener* listener) = 0; |
75 | 75 |
76 // Sets the minimum width of the menu. | 76 // Sets the minimum width of the menu. |
77 virtual void SetMinimumWidth(int width) = 0; | 77 virtual void SetMinimumWidth(int width) = 0; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace views | 80 } // namespace views |
81 | 81 |
82 #endif // UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 82 #endif // UI_VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
OLD | NEW |