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/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 kActiveKey[] = "active"; | 9 const char kActiveKey[] = "active"; |
10 const char kAllFramesKey[] = "allFrames"; | 10 const char kAllFramesKey[] = "allFrames"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const char kShowStateValueFullscreen[] = "fullscreen"; | 60 const char kShowStateValueFullscreen[] = "fullscreen"; |
61 const char kStatusValueComplete[] = "complete"; | 61 const char kStatusValueComplete[] = "complete"; |
62 const char kStatusValueLoading[] = "loading"; | 62 const char kStatusValueLoading[] = "loading"; |
63 | 63 |
64 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 64 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
65 // panel, etc? | 65 // panel, etc? |
66 const char kWindowTypeValueNormal[] = "normal"; | 66 const char kWindowTypeValueNormal[] = "normal"; |
67 const char kWindowTypeValuePopup[] = "popup"; | 67 const char kWindowTypeValuePopup[] = "popup"; |
68 const char kWindowTypeValuePanel[] = "panel"; | 68 const char kWindowTypeValuePanel[] = "panel"; |
69 const char kWindowTypeValueApp[] = "app"; | 69 const char kWindowTypeValueApp[] = "app"; |
70 const char kWindowTypeValueShell[] = "shell"; | |
71 | 70 |
72 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " | 71 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " |
73 "moved to and from normal windows."; | 72 "moved to and from normal windows."; |
74 const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved " | 73 const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved " |
75 "between windows in the same profile."; | 74 "between windows in the same profile."; |
76 const char kNoCrashBrowserError[] = | 75 const char kNoCrashBrowserError[] = |
77 "I'm sorry. I'm afraid I can't do that."; | 76 "I'm sorry. I'm afraid I can't do that."; |
78 const char kNoCurrentWindowError[] = "No current window"; | 77 const char kNoCurrentWindowError[] = "No current window"; |
79 const char kNoLastFocusedWindowError[] = "No last-focused window"; | 78 const char kNoLastFocusedWindowError[] = "No last-focused window"; |
80 const char kWindowNotFoundError[] = "No window with id: *."; | 79 const char kWindowNotFoundError[] = "No window with id: *."; |
(...skipping 17 matching lines...) Expand all Loading... |
98 const char kInvalidWindowStateError[] = "Invalid value for state"; | 97 const char kInvalidWindowStateError[] = "Invalid value for state"; |
99 | 98 |
100 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 99 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
101 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 100 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
102 "at the same time in the second argument."; | 101 "at the same time in the second argument."; |
103 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 102 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
104 const char kCannotDetermineLanguageOfUnloadedTab[] = | 103 const char kCannotDetermineLanguageOfUnloadedTab[] = |
105 "Cannot determine language: tab not loaded"; | 104 "Cannot determine language: tab not loaded"; |
106 | 105 |
107 } // namespace extension_tabs_module_constants | 106 } // namespace extension_tabs_module_constants |
OLD | NEW |