OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ |
7 | 7 |
8 #include "app/menus/simple_menu_model.h" | 8 #include "app/menus/simple_menu_model.h" |
9 #include "chrome/browser/extensions/extension_install_ui.h" | 9 #include "chrome/browser/extensions/extension_install_ui.h" |
10 | 10 |
11 class Extension; | 11 class Extension; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 private: | 54 private: |
55 // The extension we are displaying the context menu for. | 55 // The extension we are displaying the context menu for. |
56 Extension* extension_; | 56 Extension* extension_; |
57 | 57 |
58 // The extension action we are displaying the context menu for. | 58 // The extension action we are displaying the context menu for. |
59 ExtensionAction* extension_action_; | 59 ExtensionAction* extension_action_; |
60 | 60 |
61 // The delegate which handles the 'inspect popup' menu command. | 61 // The delegate which handles the 'inspect popup' menu command. |
62 MenuDelegate* delegate_; | 62 MenuDelegate* delegate_; |
63 | 63 |
| 64 // Keeps track of the extension install UI. |
| 65 scoped_ptr<ExtensionInstallUI> install_ui_; |
| 66 |
64 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenuModel); | 67 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenuModel); |
65 }; | 68 }; |
66 | 69 |
67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ |
OLD | NEW |