OLD | NEW |
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 "Cannot open normal windows."; | 89 "Cannot open normal windows."; |
90 const char kURLsNotAllowedInIncognitoError[] = "Cannot open URL \"*\" " | 90 const char kURLsNotAllowedInIncognitoError[] = "Cannot open URL \"*\" " |
91 "in an incognito window."; | 91 "in an incognito window."; |
92 const char kInvalidUrlError[] = "Invalid url: \"*\"."; | 92 const char kInvalidUrlError[] = "Invalid url: \"*\"."; |
93 const char kInternalVisibleTabCaptureError[] = | 93 const char kInternalVisibleTabCaptureError[] = |
94 "Internal error while trying to capture visible region of the current tab"; | 94 "Internal error while trying to capture visible region of the current tab"; |
95 const char kNotImplementedError[] = "This call is not yet implemented"; | 95 const char kNotImplementedError[] = "This call is not yet implemented"; |
96 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; | 96 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; |
97 const char kInvalidWindowTypeError[] = "Invalid value for type"; | 97 const char kInvalidWindowTypeError[] = "Invalid value for type"; |
98 const char kInvalidWindowStateError[] = "Invalid value for state"; | 98 const char kInvalidWindowStateError[] = "Invalid value for state"; |
| 99 const char kScreenshotsDisabled[] = "Taking screenshots has been disabled"; |
99 | 100 |
100 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 101 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
101 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 102 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
102 "at the same time in the second argument."; | 103 "at the same time in the second argument."; |
103 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 104 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
104 const char kCannotDetermineLanguageOfUnloadedTab[] = | 105 const char kCannotDetermineLanguageOfUnloadedTab[] = |
105 "Cannot determine language: tab not loaded"; | 106 "Cannot determine language: tab not loaded"; |
106 | 107 |
107 } // namespace tabs_constants | 108 } // namespace tabs_constants |
108 } // namespace extensions | 109 } // namespace extensions |
OLD | NEW |