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

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 631b08c145ad2e14615147112d77ac33c46492c5..b0e6be1b0272b9f84ffc806f04fe95db727d33ce 100644
--- a/chrome/browser/extensions/extension_function_registry.cc
+++ b/chrome/browser/extensions/extension_function_registry.cc
@@ -134,6 +134,8 @@ void ExtensionFunctionRegistry::ResetFunctions() {
RegisterFunction<BrowserActionGetBadgeTextFunction>();
RegisterFunction<BrowserActionGetBadgeBackgroundColorFunction>();
RegisterFunction<BrowserActionGetPopupFunction>();
+ RegisterFunction<BrowserActionEnableFunction>();
+ RegisterFunction<BrowserActionDisableFunction>();
// Script Badges.
RegisterFunction<ScriptBadgeSetPopupFunction>();

Powered by Google App Engine
This is Rietveld 408576698