Chromium Code Reviews| Index: chrome/browser/extensions/extension_context_menu_model.h |
| diff --git a/chrome/browser/extensions/extension_context_menu_model.h b/chrome/browser/extensions/extension_context_menu_model.h |
| index a07d9d534fac896f25eae444bf455c9276b2a9b1..cd002127bf228dfab1f6785bfb1fbea3a7792b96 100644 |
| --- a/chrome/browser/extensions/extension_context_menu_model.h |
| +++ b/chrome/browser/extensions/extension_context_menu_model.h |
| @@ -15,6 +15,10 @@ class Browser; |
| class ExtensionAction; |
| class Profile; |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| namespace extensions { |
| class Extension; |
| } |
| @@ -28,6 +32,7 @@ class ExtensionContextMenuModel |
| public: |
| enum MenuEntries { |
| NAME = 0, |
| + ALWAYS_RUN, |
|
not at google - send to devlin
2014/08/11 22:59:30
add it to the bottom.
gpdavis
2014/08/12 00:52:05
Done.
|
| CONFIGURE, |
| HIDE, |
| UNINSTALL, |
| @@ -82,6 +87,9 @@ class ExtensionContextMenuModel |
| // extension has been uninstalled and no longer exists. |
| const extensions::Extension* GetExtension() const; |
| + // Returns the active web contents. |
| + content::WebContents* GetActiveWebContents() const; |
| + |
| // A copy of the extension's id. |
| std::string extension_id_; |