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

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

Issue 173556: Implement script API:executeScript (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
===================================================================
--- chrome/browser/extensions/extension_tabs_module_constants.cc (revision 26435)
+++ chrome/browser/extensions/extension_tabs_module_constants.cc (working copy)
@@ -63,4 +63,11 @@
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
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module_constants.h ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698