OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 12 matching lines...) Expand all Loading... |
23 const char kLeftKey[] = "left"; | 23 const char kLeftKey[] = "left"; |
24 const char kNewPositionKey[] = "newPosition"; | 24 const char kNewPositionKey[] = "newPosition"; |
25 const char kNewWindowIdKey[] = "newWindowId"; | 25 const char kNewWindowIdKey[] = "newWindowId"; |
26 const char kOldPositionKey[] = "oldPosition"; | 26 const char kOldPositionKey[] = "oldPosition"; |
27 const char kOldWindowIdKey[] = "oldWindowId"; | 27 const char kOldWindowIdKey[] = "oldWindowId"; |
28 const char kPinnedKey[] = "pinned"; | 28 const char kPinnedKey[] = "pinned"; |
29 const char kPopulateKey[] = "populate"; | 29 const char kPopulateKey[] = "populate"; |
30 const char kQualityKey[] = "quality"; | 30 const char kQualityKey[] = "quality"; |
31 const char kHighlightedKey[] = "highlighted"; | 31 const char kHighlightedKey[] = "highlighted"; |
32 const char kSelectedKey[] = "selected"; | 32 const char kSelectedKey[] = "selected"; |
| 33 const char kShowStateKey[] = "state"; |
33 const char kStatusKey[] = "status"; | 34 const char kStatusKey[] = "status"; |
34 const char kTabIdKey[] = "tabId"; | 35 const char kTabIdKey[] = "tabId"; |
35 const char kTabIdsKey[] = "tabIds"; | 36 const char kTabIdsKey[] = "tabIds"; |
36 const char kTabsKey[] = "tabs"; | 37 const char kTabsKey[] = "tabs"; |
37 const char kTabUrlKey[] = "tabUrl"; | 38 const char kTabUrlKey[] = "tabUrl"; |
38 const char kTitleKey[] = "title"; | 39 const char kTitleKey[] = "title"; |
39 const char kToIndexKey[] = "toIndex"; | 40 const char kToIndexKey[] = "toIndex"; |
40 const char kTopKey[] = "top"; | 41 const char kTopKey[] = "top"; |
41 const char kUrlKey[] = "url"; | 42 const char kUrlKey[] = "url"; |
42 const char kWindowClosing[] = "isWindowClosing"; | 43 const char kWindowClosing[] = "isWindowClosing"; |
43 const char kWidthKey[] = "width"; | 44 const char kWidthKey[] = "width"; |
44 const char kWindowIdKey[] = "windowId"; | 45 const char kWindowIdKey[] = "windowId"; |
45 const char kWindowTypeKey[] = "type"; | 46 const char kWindowTypeKey[] = "type"; |
46 const char kWindowTypeLongKey[] = "windowType"; | 47 const char kWindowTypeLongKey[] = "windowType"; |
47 | 48 |
48 const char kFormatValueJpeg[] = "jpeg"; | 49 const char kFormatValueJpeg[] = "jpeg"; |
49 const char kFormatValuePng[] = "png"; | 50 const char kFormatValuePng[] = "png"; |
50 const char kMimeTypeJpeg[] = "image/jpeg"; | 51 const char kMimeTypeJpeg[] = "image/jpeg"; |
51 const char kMimeTypePng[] = "image/png"; | 52 const char kMimeTypePng[] = "image/png"; |
| 53 const char kShowStateValueNormal[] = "normal"; |
| 54 const char kShowStateValueMinimized[] = "minimized"; |
| 55 const char kShowStateValueMaximized[] = "maximized"; |
52 const char kStatusValueComplete[] = "complete"; | 56 const char kStatusValueComplete[] = "complete"; |
53 const char kStatusValueLoading[] = "loading"; | 57 const char kStatusValueLoading[] = "loading"; |
54 | 58 |
55 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 59 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
56 // panel, etc? | 60 // panel, etc? |
57 const char kWindowTypeValueNormal[] = "normal"; | 61 const char kWindowTypeValueNormal[] = "normal"; |
58 const char kWindowTypeValuePopup[] = "popup"; | 62 const char kWindowTypeValuePopup[] = "popup"; |
59 const char kWindowTypeValuePanel[] = "panel"; | 63 const char kWindowTypeValuePanel[] = "panel"; |
60 const char kWindowTypeValueApp[] = "app"; | 64 const char kWindowTypeValueApp[] = "app"; |
61 | 65 |
(...skipping 24 matching lines...) Expand all Loading... |
86 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; | 90 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; |
87 | 91 |
88 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 92 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
89 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 93 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
90 "at the same time in the second argument."; | 94 "at the same time in the second argument."; |
91 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 95 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
92 const char kCannotDetermineLanguageOfUnloadedTab[] = | 96 const char kCannotDetermineLanguageOfUnloadedTab[] = |
93 "Cannot determine language: tab not loaded"; | 97 "Cannot determine language: tab not loaded"; |
94 | 98 |
95 } // namespace extension_tabs_module_constants | 99 } // namespace extension_tabs_module_constants |
OLD | NEW |