Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / extensions / api / tabs / tabs_constants.h
blobdf0064dc4bf45c975446188f4461dba455b0c741
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
3 // found in the LICENSE file.
5 // Constants used for the Tabs API and the Windows API.
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_
10 namespace extensions {
11 namespace tabs_constants {
13 // Keys used in serializing tab data & events.
14 extern const char kActiveKey[];
15 extern const char kAllFramesKey[];
16 extern const char kAlwaysOnTopKey[];
17 extern const char kBypassCache[];
18 extern const char kCodeKey[];
19 extern const char kCurrentWindowKey[];
20 extern const char kFaviconUrlKey[];
21 extern const char kFileKey[];
22 extern const char kFocusedKey[];
23 extern const char kFormatKey[];
24 extern const char kFromIndexKey[];
25 extern const char kHeightKey[];
26 extern const char kHighlightedKey[];
27 extern const char kIdKey[];
28 extern const char kIncognitoKey[];
29 extern const char kIndexKey[];
30 extern const char kLastFocusedWindowKey[];
31 extern const char kLeftKey[];
32 extern const char kNewPositionKey[];
33 extern const char kNewWindowIdKey[];
34 extern const char kOldPositionKey[];
35 extern const char kOldWindowIdKey[];
36 extern const char kOpenerTabIdKey[];
37 extern const char kPinnedKey[];
38 extern const char kAudibleKey[];
39 extern const char kMutedKey[];
40 extern const char kMutedInfoKey[];
41 extern const char kQualityKey[];
42 extern const char kRunAtKey[];
43 extern const char kSelectedKey[];
44 extern const char kShowStateKey[];
45 extern const char kStatusKey[];
46 extern const char kTabIdKey[];
47 extern const char kTabIdsKey[];
48 extern const char kTabsKey[];
49 extern const char kTitleKey[];
50 extern const char kToIndexKey[];
51 extern const char kTopKey[];
52 extern const char kUrlKey[];
53 extern const char kWidthKey[];
54 extern const char kWindowClosing[];
55 extern const char kWindowIdKey[];
56 extern const char kWindowTypeKey[];
57 extern const char kWindowTypeLongKey[];
58 extern const char kWindowTypesKey[];
59 extern const char kZoomSettingsMode[];
60 extern const char kZoomSettingsScope[];
62 // Value consts.
63 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[];
64 extern const char kCanOnlyMoveTabsWithinSameProfileError[];
65 extern const char kShowStateValueNormal[];
66 extern const char kShowStateValueMinimized[];
67 extern const char kShowStateValueMaximized[];
68 extern const char kShowStateValueFullscreen[];
69 extern const char kStatusValueComplete[];
70 extern const char kStatusValueLoading[];
71 extern const char kWindowTypeValueNormal[];
72 extern const char kWindowTypeValuePopup[];
73 extern const char kWindowTypeValuePanel[];
74 extern const char kWindowTypeValueDetachedPanel[];
75 extern const char kWindowTypeValueApp[];
76 extern const char kWindowTypeValueDevTools[];
78 // Error messages.
79 extern const char kCannotZoomDisabledTabError[];
80 extern const char kNoCrashBrowserError[];
81 extern const char kNoCurrentWindowError[];
82 extern const char kNoLastFocusedWindowError[];
83 extern const char kPerOriginOnlyInAutomaticError[];
84 extern const char kWindowNotFoundError[];
85 extern const char kTabIndexNotFoundError[];
86 extern const char kTabNotFoundError[];
87 extern const char kTabStripNotEditableError[];
88 extern const char kNoHighlightedTabError[];
89 extern const char kNoSelectedTabError[];
90 extern const char kIncognitoModeIsDisabled[];
91 extern const char kIncognitoModeIsForced[];
92 extern const char kURLsNotAllowedInIncognitoError[];
93 extern const char kInvalidUrlError[];
94 extern const char kNotImplementedError[];
95 extern const char kSupportedInWindowsOnlyError[];
96 extern const char kInvalidWindowTypeError[];
97 extern const char kInvalidWindowStateError[];
98 extern const char kScreenshotsDisabled[];
99 extern const char kCannotUpdateMuteDisabled[];
100 extern const char kCannotUpdateMuteCaptured[];
102 extern const char kCannotDetermineLanguageOfUnloadedTab[];
104 }; // namespace tabs_constants
105 }; // namespace extensions
107 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_