| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |