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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_constants.cc

Issue 538063003: Move execute_code_function to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn build Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/api/tabs/tabs_constants.h" 5 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace tabs_constants { 8 namespace tabs_constants {
9 9
10 const char kActiveKey[] = "active"; 10 const char kActiveKey[] = "active";
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "in an incognito window."; 92 "in an incognito window.";
93 const char kInvalidUrlError[] = "Invalid url: \"*\"."; 93 const char kInvalidUrlError[] = "Invalid url: \"*\".";
94 const char kInternalVisibleTabCaptureError[] = 94 const char kInternalVisibleTabCaptureError[] =
95 "Internal error while trying to capture visible region of the current tab"; 95 "Internal error while trying to capture visible region of the current tab";
96 const char kNotImplementedError[] = "This call is not yet implemented"; 96 const char kNotImplementedError[] = "This call is not yet implemented";
97 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; 97 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only";
98 const char kInvalidWindowTypeError[] = "Invalid value for type"; 98 const char kInvalidWindowTypeError[] = "Invalid value for type";
99 const char kInvalidWindowStateError[] = "Invalid value for state"; 99 const char kInvalidWindowStateError[] = "Invalid value for state";
100 const char kScreenshotsDisabled[] = "Taking screenshots has been disabled"; 100 const char kScreenshotsDisabled[] = "Taking screenshots has been disabled";
101 101
102 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";
103 const char kMoreThanOneValuesError[] = "Code and file should not be specified "
104 "at the same time in the second argument.";
105 const char kLoadFileError[] = "Failed to load file: \"*\". ";
106 const char kCannotDetermineLanguageOfUnloadedTab[] = 102 const char kCannotDetermineLanguageOfUnloadedTab[] =
107 "Cannot determine language: tab not loaded"; 103 "Cannot determine language: tab not loaded";
108 104
109 } // namespace tabs_constants 105 } // namespace tabs_constants
110 } // namespace extensions 106 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_constants.h ('k') | chrome/browser/extensions/api/web_view/web_view_internal_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698