OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ |
7 | 7 |
8 #include "views/controls/menu/menu_2.h" | 8 #include "views/controls/menu/menu_2.h" |
9 #include "chrome/browser/extensions/extension_install_ui.h" | 9 #include "chrome/browser/extensions/extension_install_ui.h" |
10 #include "chrome/browser/extensions/extension_action_context_menu_model.h" | 10 #include "chrome/browser/extensions/extension_action_context_menu_model.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 scoped_ptr<ExtensionActionContextMenuModel> context_menu_contents_; | 29 scoped_ptr<ExtensionActionContextMenuModel> context_menu_contents_; |
30 scoped_ptr<views::Menu2> context_menu_menu_; | 30 scoped_ptr<views::Menu2> context_menu_menu_; |
31 | 31 |
32 // The extension we are showing the menu for. | 32 // The extension we are showing the menu for. |
33 Extension* extension_; | 33 Extension* extension_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenu); | 35 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenu); |
36 }; | 36 }; |
37 | 37 |
38 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ | 38 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_ |
OLD | NEW |