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

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

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_tabs_module_constants.cc
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.cc b/chrome/browser/extensions/extension_tabs_module_constants.cc
index 8c9e1535db1c5088de1f98c84bf23a77dd949c50..dac399f36f9260b891010dd90e10ae613899cfb3 100644
--- a/chrome/browser/extensions/extension_tabs_module_constants.cc
+++ b/chrome/browser/extensions/extension_tabs_module_constants.cc
@@ -46,26 +46,6 @@ const char kCannotAccessPageError[] = "Cannot access contents of url \"*\". "
"Extension manifest must request permission to access this host.";
const char kSupportedInWindowsOnlyError[] = "Supported in Windows only";
-const char kGetWindowFunction[] = "windows.get";
-const char kGetCurrentWindowFunction[] = "windows.getCurrent";
-const char kGetLastFocusedWindowFunction[] = "windows.getLastFocused";
-const char kGetAllWindowsFunction[] = "windows.getAll";
-const char kCreateWindowFunction[] = "windows.create";
-const char kUpdateWindowFunction[] = "windows.update";
-const char kRemoveWindowFunction[] = "windows.remove";
-
-const char kGetTabFunction[] = "tabs.get";
-const char kGetSelectedTabFunction[] = "tabs.getSelected";
-const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow";
-const char kCreateTabFunction[] = "tabs.create";
-const char kUpdateTabFunction[] = "tabs.update";
-const char kMoveTabFunction[] = "tabs.move";
-const char kRemoveTabFunction[] = "tabs.remove";
-const char kDetectTabLanguageFunction[] = "tabs.detectLanguage";
-const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab";
-
-const char kExecuteScriptFunction[] = "tabs.executeScript";
-const char kInsertCSSFunction[] = "tabs.insertCSS";
const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";
const char kMoreThanOneValuesError[] = "There should be only one value (either"
"code or file) in the second argument.";

Powered by Google App Engine
This is Rietveld 408576698