OLD | NEW |
1 // Copyright (c) 2010 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_CONTEXT_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_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 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // The extension action we are displaying the menu for (or NULL). | 57 // The extension action we are displaying the menu for (or NULL). |
58 ExtensionAction* extension_action_; | 58 ExtensionAction* extension_action_; |
59 | 59 |
60 Browser* browser_; | 60 Browser* browser_; |
61 | 61 |
62 Profile* profile_; | 62 Profile* profile_; |
63 | 63 |
64 // The delegate which handles the 'inspect popup' menu command (or NULL). | 64 // The delegate which handles the 'inspect popup' menu command (or NULL). |
65 PopupDelegate* delegate_; | 65 PopupDelegate* delegate_; |
66 | 66 |
| 67 // Keeps track of the extension install UI. |
| 68 scoped_ptr<ExtensionInstallUI> install_ui_; |
| 69 |
67 DISALLOW_COPY_AND_ASSIGN(ExtensionContextMenuModel); | 70 DISALLOW_COPY_AND_ASSIGN(ExtensionContextMenuModel); |
68 }; | 71 }; |
69 | 72 |
70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ | 73 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ |
OLD | NEW |