summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module_constants.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 09:47:35 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 09:47:35 +0000
commit912256b3517241047095dac6946de191029dda27 (patch)
tree7799ca1544916d7e1f44b06bd0dd43e080b61996 /chrome/browser/extensions/extension_tabs_module_constants.cc
parent50c4e907cf41e395a5edecd1ae122b9a2b35410d (diff)
downloadchromium_src-912256b3517241047095dac6946de191029dda27.zip
chromium_src-912256b3517241047095dac6946de191029dda27.tar.gz
chromium_src-912256b3517241047095dac6946de191029dda27.tar.bz2
Try again to land "Implement script API:executeScript"
http://codereview.chromium.org/173556 TBR=mpcomplete@chromium.org Patch from Jerry Tang <tangjie@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module_constants.cc')
-rw-r--r--chrome/browser/extensions/extension_tabs_module_constants.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.cc b/chrome/browser/extensions/extension_tabs_module_constants.cc
index 7f28314..8c9e153 100644
--- a/chrome/browser/extensions/extension_tabs_module_constants.cc
+++ b/chrome/browser/extensions/extension_tabs_module_constants.cc
@@ -64,4 +64,11 @@ 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.";
+const char kLoadFileError[] = "Failed to load file: \"*\". ";
+
} // namespace extension_tabs_module_constants