Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 char kAllFramesKey[] = "allFrames"; | 9 const char kAllFramesKey[] = "allFrames"; |
| 10 const char kCodeKey[] = "code"; | 10 const char kCodeKey[] = "code"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 const char kStatusValueLoading[] = "loading"; | 47 const char kStatusValueLoading[] = "loading"; |
| 48 | 48 |
| 49 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 49 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
| 50 // panel, etc? | 50 // panel, etc? |
| 51 const char kWindowTypeValueNormal[] = "normal"; | 51 const char kWindowTypeValueNormal[] = "normal"; |
| 52 const char kWindowTypeValuePopup[] = "popup"; | 52 const char kWindowTypeValuePopup[] = "popup"; |
| 53 const char kWindowTypeValueApp[] = "app"; | 53 const char kWindowTypeValueApp[] = "app"; |
| 54 | 54 |
| 55 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " | 55 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " |
| 56 "moved to and from normal windows."; | 56 "moved to and from normal windows."; |
| 57 const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved " | |
|
Aaron Boodman
2011/01/25 23:13:21
Nit: s/to and from/between
| |
| 58 "to and from windows in the same profile."; | |
| 57 const char kNoCurrentWindowError[] = "No current window"; | 59 const char kNoCurrentWindowError[] = "No current window"; |
| 58 const char kNoLastFocusedWindowError[] = "No last-focused window"; | 60 const char kNoLastFocusedWindowError[] = "No last-focused window"; |
| 59 const char kWindowNotFoundError[] = "No window with id: *."; | 61 const char kWindowNotFoundError[] = "No window with id: *."; |
| 60 const char kTabNotFoundError[] = "No tab with id: *."; | 62 const char kTabNotFoundError[] = "No tab with id: *."; |
| 61 const char kTabStripNotEditableError[] = | 63 const char kTabStripNotEditableError[] = |
| 62 "Tabs cannot be edited right now (user may be dragging a tab)."; | 64 "Tabs cannot be edited right now (user may be dragging a tab)."; |
| 63 const char kNoSelectedTabError[] = "No selected tab"; | 65 const char kNoSelectedTabError[] = "No selected tab"; |
| 64 const char kInvalidUrlError[] = "Invalid url: \"*\"."; | 66 const char kInvalidUrlError[] = "Invalid url: \"*\"."; |
| 65 const char kInternalVisibleTabCaptureError[] = | 67 const char kInternalVisibleTabCaptureError[] = |
| 66 "Internal error while trying to capture visible region of the current tab"; | 68 "Internal error while trying to capture visible region of the current tab"; |
| 67 const char kNotImplementedError[] = "This call is not yet implemented"; | 69 const char kNotImplementedError[] = "This call is not yet implemented"; |
| 68 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; | 70 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; |
| 69 | 71 |
| 70 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 72 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
| 71 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 73 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
| 72 "at the same time in the second argument."; | 74 "at the same time in the second argument."; |
| 73 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 75 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
| 74 const char kCannotDetermineLanguageOfUnloadedTab[] = | 76 const char kCannotDetermineLanguageOfUnloadedTab[] = |
| 75 "Cannot determine language: tab not loaded"; | 77 "Cannot determine language: tab not loaded"; |
| 76 | 78 |
| 77 } // namespace extension_tabs_module_constants | 79 } // namespace extension_tabs_module_constants |
| OLD | NEW |