Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Unified Diff: chrome/browser/extensions/extension_page_actions_module.h

Issue 274059: Small cleanup to extension function registration to avoid scattered definitions. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_page_actions_module.h
diff --git a/chrome/browser/extensions/extension_page_actions_module.h b/chrome/browser/extensions/extension_page_actions_module.h
index 48ed414bbf8b1707dff1c6b89e883a075a919870..6a85cc3e05db799b37aa07423fb511edf698cbbc 100644
--- a/chrome/browser/extensions/extension_page_actions_module.h
+++ b/chrome/browser/extensions/extension_page_actions_module.h
@@ -14,10 +14,12 @@ class PageActionFunction : public SyncExtensionFunction {
class EnablePageActionFunction : public PageActionFunction {
virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("pageActions.enableForTab")
};
class DisablePageActionFunction : public PageActionFunction {
virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("pageActions.disableForTab")
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_H_

Powered by Google App Engine
This is Rietveld 408576698