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