diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 17:26:38 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 17:26:38 +0000 |
commit | f9b1a7b9185c0889238305d088de150d88731775 (patch) | |
tree | 10af27f4189c2d431b6fbd70127a893b7ba0a3b7 /chrome/browser/extensions/extension_page_actions_module.h | |
parent | fbc97c595085bd98b432963b9a627610f5294052 (diff) | |
download | chromium_src-f9b1a7b9185c0889238305d088de150d88731775.zip chromium_src-f9b1a7b9185c0889238305d088de150d88731775.tar.gz chromium_src-f9b1a7b9185c0889238305d088de150d88731775.tar.bz2 |
Adding the ability to remove page actions.BUG=NoneTEST=unit test.
Review URL: http://codereview.chromium.org/131003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_page_actions_module.h')
-rw-r--r-- | chrome/browser/extensions/extension_page_actions_module.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_page_actions_module.h b/chrome/browser/extensions/extension_page_actions_module.h index b6e9d87..48ed414 100644 --- a/chrome/browser/extensions/extension_page_actions_module.h +++ b/chrome/browser/extensions/extension_page_actions_module.h @@ -7,7 +7,16 @@ #include "chrome/browser/extensions/extension_function.h" -class EnablePageActionFunction : public SyncExtensionFunction { +class PageActionFunction : public SyncExtensionFunction { + protected: + bool SetPageActionEnabled(bool enable); +}; + +class EnablePageActionFunction : public PageActionFunction { + virtual bool RunImpl(); +}; + +class DisablePageActionFunction : public PageActionFunction { virtual bool RunImpl(); }; |