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 // Constants used for the Tabs API and the Windows API. | 5 // Constants used for the Tabs API and the Windows API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 extern const char kLeftKey[]; | 27 extern const char kLeftKey[]; |
28 extern const char kNewPositionKey[]; | 28 extern const char kNewPositionKey[]; |
29 extern const char kNewWindowIdKey[]; | 29 extern const char kNewWindowIdKey[]; |
30 extern const char kOldPositionKey[]; | 30 extern const char kOldPositionKey[]; |
31 extern const char kOldWindowIdKey[]; | 31 extern const char kOldWindowIdKey[]; |
32 extern const char kPinnedKey[]; | 32 extern const char kPinnedKey[]; |
33 extern const char kPopulateKey[]; | 33 extern const char kPopulateKey[]; |
34 extern const char kQualityKey[]; | 34 extern const char kQualityKey[]; |
35 extern const char kHighlightedKey[]; | 35 extern const char kHighlightedKey[]; |
36 extern const char kSelectedKey[]; | 36 extern const char kSelectedKey[]; |
| 37 extern const char kShowStateKey[]; |
37 extern const char kStatusKey[]; | 38 extern const char kStatusKey[]; |
38 extern const char kTabIdKey[]; | 39 extern const char kTabIdKey[]; |
39 extern const char kTabIdsKey[]; | 40 extern const char kTabIdsKey[]; |
40 extern const char kTabsKey[]; | 41 extern const char kTabsKey[]; |
41 extern const char kTabUrlKey[]; | 42 extern const char kTabUrlKey[]; |
42 extern const char kTitleKey[]; | 43 extern const char kTitleKey[]; |
43 extern const char kToIndexKey[]; | 44 extern const char kToIndexKey[]; |
44 extern const char kTopKey[]; | 45 extern const char kTopKey[]; |
45 extern const char kUrlKey[]; | 46 extern const char kUrlKey[]; |
46 extern const char kWindowClosing[]; | 47 extern const char kWindowClosing[]; |
47 extern const char kWidthKey[]; | 48 extern const char kWidthKey[]; |
48 extern const char kWindowIdKey[]; | 49 extern const char kWindowIdKey[]; |
49 extern const char kIncognitoKey[]; | 50 extern const char kIncognitoKey[]; |
50 extern const char kWindowTypeKey[]; | 51 extern const char kWindowTypeKey[]; |
51 extern const char kWindowTypeLongKey[]; | 52 extern const char kWindowTypeLongKey[]; |
52 | 53 |
53 // Value consts. | 54 // Value consts. |
54 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; | 55 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; |
55 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; | 56 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; |
56 extern const char kFormatValueJpeg[]; | 57 extern const char kFormatValueJpeg[]; |
57 extern const char kFormatValuePng[]; | 58 extern const char kFormatValuePng[]; |
58 extern const char kMimeTypeJpeg[]; | 59 extern const char kMimeTypeJpeg[]; |
59 extern const char kMimeTypePng[]; | 60 extern const char kMimeTypePng[]; |
| 61 extern const char kShowStateValueNormal[]; |
| 62 extern const char kShowStateValueMinimized[]; |
| 63 extern const char kShowStateValueMaximized[]; |
60 extern const char kStatusValueComplete[]; | 64 extern const char kStatusValueComplete[]; |
61 extern const char kStatusValueLoading[]; | 65 extern const char kStatusValueLoading[]; |
62 extern const char kWindowTypeValueNormal[]; | 66 extern const char kWindowTypeValueNormal[]; |
63 extern const char kWindowTypeValuePopup[]; | 67 extern const char kWindowTypeValuePopup[]; |
64 extern const char kWindowTypeValuePanel[]; | 68 extern const char kWindowTypeValuePanel[]; |
65 extern const char kWindowTypeValueApp[]; | 69 extern const char kWindowTypeValueApp[]; |
66 | 70 |
67 // Error messages. | 71 // Error messages. |
68 extern const char kNoCrashBrowserError[]; | 72 extern const char kNoCrashBrowserError[]; |
69 extern const char kNoCurrentWindowError[]; | 73 extern const char kNoCurrentWindowError[]; |
70 extern const char kNoLastFocusedWindowError[]; | 74 extern const char kNoLastFocusedWindowError[]; |
71 extern const char kWindowNotFoundError[]; | 75 extern const char kWindowNotFoundError[]; |
72 extern const char kTabIndexNotFoundError[]; | 76 extern const char kTabIndexNotFoundError[]; |
73 extern const char kTabNotFoundError[]; | 77 extern const char kTabNotFoundError[]; |
74 extern const char kTabStripNotEditableError[]; | 78 extern const char kTabStripNotEditableError[]; |
75 extern const char kNoHighlightedTabError[]; | 79 extern const char kNoHighlightedTabError[]; |
76 extern const char kNoSelectedTabError[]; | 80 extern const char kNoSelectedTabError[]; |
77 extern const char kIncognitoModeIsDisabled[]; | 81 extern const char kIncognitoModeIsDisabled[]; |
78 extern const char kIncognitoModeIsForced[]; | 82 extern const char kIncognitoModeIsForced[]; |
79 extern const char kURLsNotAllowedInIncognitoError[]; | 83 extern const char kURLsNotAllowedInIncognitoError[]; |
80 extern const char kInvalidUrlError[]; | 84 extern const char kInvalidUrlError[]; |
81 extern const char kInternalVisibleTabCaptureError[]; | 85 extern const char kInternalVisibleTabCaptureError[]; |
82 extern const char kNotImplementedError[]; | 86 extern const char kNotImplementedError[]; |
83 extern const char kSupportedInWindowsOnlyError[]; | 87 extern const char kSupportedInWindowsOnlyError[]; |
| 88 extern const char kInvalidWindowTypeError[]; |
| 89 extern const char kInvalidWindowStateError[]; |
84 | 90 |
85 extern const char kNoCodeOrFileToExecuteError[]; | 91 extern const char kNoCodeOrFileToExecuteError[]; |
86 extern const char kMoreThanOneValuesError[]; | 92 extern const char kMoreThanOneValuesError[]; |
87 extern const char kLoadFileError[]; | 93 extern const char kLoadFileError[]; |
88 extern const char kCannotDetermineLanguageOfUnloadedTab[]; | 94 extern const char kCannotDetermineLanguageOfUnloadedTab[]; |
89 | 95 |
90 }; // namespace extension_tabs_module_constants | 96 }; // namespace extension_tabs_module_constants |
91 | 97 |
92 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 98 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
OLD | NEW |