| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 const char kWindowTypeValueDetachedPanel[] = "detached_panel"; | 68 const char kWindowTypeValueDetachedPanel[] = "detached_panel"; |
| 69 const char kWindowTypeValueApp[] = "app"; | 69 const char kWindowTypeValueApp[] = "app"; |
| 70 const char kWindowTypeValueDevTools[] = "devtools"; | 70 const char kWindowTypeValueDevTools[] = "devtools"; |
| 71 | 71 |
| 72 const char kCannotZoomDisabledTabError[] = "Cannot zoom a tab in disabled " | 72 const char kCannotZoomDisabledTabError[] = "Cannot zoom a tab in disabled " |
| 73 "mode."; | 73 "mode."; |
| 74 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " | 74 const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be " |
| 75 "moved to and from normal windows."; | 75 "moved to and from normal windows."; |
| 76 const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved " | 76 const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved " |
| 77 "between windows in the same profile."; | 77 "between windows in the same profile."; |
| 78 const char kFrameNotFoundError[] = "No frame with id * in tab *."; |
| 78 const char kNoCrashBrowserError[] = | 79 const char kNoCrashBrowserError[] = |
| 79 "I'm sorry. I'm afraid I can't do that."; | 80 "I'm sorry. I'm afraid I can't do that."; |
| 80 const char kNoCurrentWindowError[] = "No current window"; | 81 const char kNoCurrentWindowError[] = "No current window"; |
| 81 const char kNoLastFocusedWindowError[] = "No last-focused window"; | 82 const char kNoLastFocusedWindowError[] = "No last-focused window"; |
| 82 const char kPerOriginOnlyInAutomaticError[] = "Can only set scope to " | 83 const char kPerOriginOnlyInAutomaticError[] = "Can only set scope to " |
| 83 "\"per-origin\" in \"automatic\" mode."; | 84 "\"per-origin\" in \"automatic\" mode."; |
| 84 const char kWindowNotFoundError[] = "No window with id: *."; | 85 const char kWindowNotFoundError[] = "No window with id: *."; |
| 85 const char kTabIndexNotFoundError[] = "No tab at index: *."; | 86 const char kTabIndexNotFoundError[] = "No tab at index: *."; |
| 86 const char kTabNotFoundError[] = "No tab with id: *."; | 87 const char kTabNotFoundError[] = "No tab with id: *."; |
| 87 const char kTabStripNotEditableError[] = | 88 const char kTabStripNotEditableError[] = |
| (...skipping 14 matching lines...) Expand all Loading... |
| 102 const char kCannotUpdateMuteDisabled[] = | 103 const char kCannotUpdateMuteDisabled[] = |
| 103 "Failed to update mute state for tab *, --* must be enabled"; | 104 "Failed to update mute state for tab *, --* must be enabled"; |
| 104 const char kCannotUpdateMuteCaptured[] = | 105 const char kCannotUpdateMuteCaptured[] = |
| 105 "Cannot update mute state for tab *, tab has audio or video currently " | 106 "Cannot update mute state for tab *, tab has audio or video currently " |
| 106 "being captured"; | 107 "being captured"; |
| 107 const char kCannotDetermineLanguageOfUnloadedTab[] = | 108 const char kCannotDetermineLanguageOfUnloadedTab[] = |
| 108 "Cannot determine language: tab not loaded"; | 109 "Cannot determine language: tab not loaded"; |
| 109 | 110 |
| 110 } // namespace tabs_constants | 111 } // namespace tabs_constants |
| 111 } // namespace extensions | 112 } // namespace extensions |
| OLD | NEW |