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

Unified Diff: chrome/browser/extensions/extension_function_registry.cc

Issue 10789026: Add browserAction.enable/disable as alias for pageAction.show/hide. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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_function_registry.cc
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc
index b62f1c00ac69d46b5b55391fd3f69457f6744773..c0a68b09eddeb1edc15c05512b4358fce6e88604 100644
--- a/chrome/browser/extensions/extension_function_registry.cc
+++ b/chrome/browser/extensions/extension_function_registry.cc
@@ -133,6 +133,8 @@ void ExtensionFunctionRegistry::ResetFunctions() {
RegisterFunction<BrowserActionGetBadgeTextFunction>();
RegisterFunction<BrowserActionGetBadgeBackgroundColorFunction>();
RegisterFunction<BrowserActionGetPopupFunction>();
+ RegisterFunction<BrowserActionEnableFunction>();
+ RegisterFunction<BrowserActionDisableFunction>();
// Script Badges.
RegisterFunction<ScriptBadgeGetAttentionFunction>();

Powered by Google App Engine
This is Rietveld 408576698