Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_constants.cc

Issue 10919046: Allow panels to be created as detached panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698