| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
| 6 #define VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
| 7 | 7 |
| 8 #include "base/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| 11 class Point; | 11 class Point; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 | 15 |
| 16 class Menu2; | 16 class Menu2; |
| 17 | 17 |
| 18 // An interface that wraps an object that implements a menu. | 18 // An interface that wraps an object that implements a menu. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 38 // Retrieve a native menu handle. | 38 // Retrieve a native menu handle. |
| 39 virtual gfx::NativeMenu GetNativeMenu() const = 0; | 39 virtual gfx::NativeMenu GetNativeMenu() const = 0; |
| 40 | 40 |
| 41 // Creates the appropriate instance of this wrapper for the current platform. | 41 // Creates the appropriate instance of this wrapper for the current platform. |
| 42 static MenuWrapper* CreateWrapper(Menu2* menu); | 42 static MenuWrapper* CreateWrapper(Menu2* menu); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace views | 45 } // namespace views |
| 46 | 46 |
| 47 #endif // VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ | 47 #endif // VIEWS_CONTROLS_MENU_MENU_WRAPPER_H_ |
| OLD | NEW |