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 11 matching lines...) Expand all Loading... | |
22 const char kIndexKey[] = "index"; | 22 const char kIndexKey[] = "index"; |
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 kOpenerTabIdKey[] = "openerTabId"; | 28 const char kOpenerTabIdKey[] = "openerTabId"; |
29 const char kPinnedKey[] = "pinned"; | 29 const char kPinnedKey[] = "pinned"; |
30 const char kQualityKey[] = "quality"; | 30 const char kQualityKey[] = "quality"; |
31 const char kHighlightedKey[] = "highlighted"; | 31 const char kHighlightedKey[] = "highlighted"; |
32 const char kRunAtKey[] = "runAt"; | |
32 const char kSelectedKey[] = "selected"; | 33 const char kSelectedKey[] = "selected"; |
33 const char kShowStateKey[] = "state"; | 34 const char kShowStateKey[] = "state"; |
34 const char kStatusKey[] = "status"; | 35 const char kStatusKey[] = "status"; |
35 const char kTabIdKey[] = "tabId"; | 36 const char kTabIdKey[] = "tabId"; |
36 const char kTabIdsKey[] = "tabIds"; | 37 const char kTabIdsKey[] = "tabIds"; |
37 const char kTabsKey[] = "tabs"; | 38 const char kTabsKey[] = "tabs"; |
38 const char kTabUrlKey[] = "tabUrl"; | 39 const char kTabUrlKey[] = "tabUrl"; |
39 const char kTitleKey[] = "title"; | 40 const char kTitleKey[] = "title"; |
40 const char kToIndexKey[] = "toIndex"; | 41 const char kToIndexKey[] = "toIndex"; |
41 const char kTopKey[] = "top"; | 42 const char kTopKey[] = "top"; |
42 const char kUrlKey[] = "url"; | 43 const char kUrlKey[] = "url"; |
43 const char kWindowClosing[] = "isWindowClosing"; | 44 const char kWindowClosing[] = "isWindowClosing"; |
44 const char kWidthKey[] = "width"; | 45 const char kWidthKey[] = "width"; |
45 const char kWindowIdKey[] = "windowId"; | 46 const char kWindowIdKey[] = "windowId"; |
46 const char kWindowTypeKey[] = "type"; | 47 const char kWindowTypeKey[] = "type"; |
47 const char kWindowTypeLongKey[] = "windowType"; | 48 const char kWindowTypeLongKey[] = "windowType"; |
48 | 49 |
49 const char kFormatValueJpeg[] = "jpeg"; | 50 const char kFormatValueJpeg[] = "jpeg"; |
50 const char kFormatValuePng[] = "png"; | 51 const char kFormatValuePng[] = "png"; |
51 const char kMimeTypeJpeg[] = "image/jpeg"; | 52 const char kMimeTypeJpeg[] = "image/jpeg"; |
52 const char kMimeTypePng[] = "image/png"; | 53 const char kMimeTypePng[] = "image/png"; |
54 const char kRunAtDocumentStart[] = "document_start"; | |
Aaron Boodman
2012/03/03 00:59:10
Can you just reuse the existing values -- kRunAtDo
eaugusti
2012/03/27 00:43:33
Done.
| |
55 const char kRunAtDocumentEnd[] = "document_end"; | |
56 const char kRunAtDocumentIdle[] = "document_idle"; | |
57 const char kRunAtNow[] = "now"; | |
53 const char kShowStateValueNormal[] = "normal"; | 58 const char kShowStateValueNormal[] = "normal"; |
54 const char kShowStateValueMinimized[] = "minimized"; | 59 const char kShowStateValueMinimized[] = "minimized"; |
55 const char kShowStateValueMaximized[] = "maximized"; | 60 const char kShowStateValueMaximized[] = "maximized"; |
56 const char kShowStateValueFullscreen[] = "fullscreen"; | 61 const char kShowStateValueFullscreen[] = "fullscreen"; |
57 const char kStatusValueComplete[] = "complete"; | 62 const char kStatusValueComplete[] = "complete"; |
58 const char kStatusValueLoading[] = "loading"; | 63 const char kStatusValueLoading[] = "loading"; |
59 | 64 |
60 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 65 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
61 // panel, etc? | 66 // panel, etc? |
62 const char kWindowTypeValueNormal[] = "normal"; | 67 const char kWindowTypeValueNormal[] = "normal"; |
(...skipping 30 matching lines...) Expand all Loading... | |
93 const char kInvalidWindowStateError[] = "Invalid value for state"; | 98 const char kInvalidWindowStateError[] = "Invalid value for state"; |
94 | 99 |
95 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 100 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
96 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 101 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
97 "at the same time in the second argument."; | 102 "at the same time in the second argument."; |
98 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 103 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
99 const char kCannotDetermineLanguageOfUnloadedTab[] = | 104 const char kCannotDetermineLanguageOfUnloadedTab[] = |
100 "Cannot determine language: tab not loaded"; | 105 "Cannot determine language: tab not loaded"; |
101 | 106 |
102 } // namespace extension_tabs_module_constants | 107 } // namespace extension_tabs_module_constants |
OLD | NEW |