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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_tabs_module_constants.h" 5 #include "chrome/browser/extensions/extension_tabs_module_constants.h"
6 6
7 namespace extension_tabs_module_constants { 7 namespace extension_tabs_module_constants {
8 8
9 const wchar_t kFavIconUrlKey[] = L"favIconUrl"; 9 const wchar_t kFavIconUrlKey[] = L"favIconUrl";
10 const wchar_t kFocusedKey[] = L"focused"; 10 const wchar_t kFocusedKey[] = L"focused";
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const char kGetTabFunction[] = "tabs.get"; 56 const char kGetTabFunction[] = "tabs.get";
57 const char kGetSelectedTabFunction[] = "tabs.getSelected"; 57 const char kGetSelectedTabFunction[] = "tabs.getSelected";
58 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow"; 58 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow";
59 const char kCreateTabFunction[] = "tabs.create"; 59 const char kCreateTabFunction[] = "tabs.create";
60 const char kUpdateTabFunction[] = "tabs.update"; 60 const char kUpdateTabFunction[] = "tabs.update";
61 const char kMoveTabFunction[] = "tabs.move"; 61 const char kMoveTabFunction[] = "tabs.move";
62 const char kRemoveTabFunction[] = "tabs.remove"; 62 const char kRemoveTabFunction[] = "tabs.remove";
63 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage"; 63 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage";
64 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab"; 64 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab";
65 65
66 const char kExecuteScriptFunction[] = "tabs.executeScript";
67 const char kInsertCSSFunction[] = "tabs.insertCSS";
68 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";
69 const char kMoreThanOneValuesError[] = "There should be only one value (either"
70 "code or file) in the second argument.";
71 const char kLoadFileError[] = "Failed to load file: \"*\". ";
72
66 } // namespace extension_tabs_module_constants 73 } // namespace extension_tabs_module_constants
OLDNEW
« 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