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

Side by Side Diff: chrome/browser/extensions/extension_tabs_module_constants.h

Issue 10544023: Moving the tabs_module API into a separate directory in api/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correcting the order of includes. Created 8 years, 6 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
OLDNEW
(Empty)
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.
4
5 // Constants used for the Tabs API and the Windows API.
6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_
9 #pragma once
10
11 namespace extension_tabs_module_constants {
12
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 kDrawAttentionKey[];
21 extern const char kFaviconUrlKey[];
22 extern const char kFileKey[];
23 extern const char kFocusedKey[];
24 extern const char kFormatKey[];
25 extern const char kFromIndexKey[];
26 extern const char kHeightKey[];
27 extern const char kIdKey[];
28 extern const char kIndexKey[];
29 extern const char kLastFocusedWindowKey[];
30 extern const char kLeftKey[];
31 extern const char kNewPositionKey[];
32 extern const char kNewWindowIdKey[];
33 extern const char kOldPositionKey[];
34 extern const char kOldWindowIdKey[];
35 extern const char kOpenerTabIdKey[];
36 extern const char kPinnedKey[];
37 extern const char kQualityKey[];
38 extern const char kHighlightedKey[];
39 extern const char kRunAtKey[];
40 extern const char kSelectedKey[];
41 extern const char kShowStateKey[];
42 extern const char kStatusKey[];
43 extern const char kTabIdKey[];
44 extern const char kTabIdsKey[];
45 extern const char kTabsKey[];
46 extern const char kTabUrlKey[];
47 extern const char kTitleKey[];
48 extern const char kToIndexKey[];
49 extern const char kTopKey[];
50 extern const char kUrlKey[];
51 extern const char kWindowClosing[];
52 extern const char kWidthKey[];
53 extern const char kWindowIdKey[];
54 extern const char kIncognitoKey[];
55 extern const char kWindowTypeKey[];
56 extern const char kWindowTypeLongKey[];
57
58 // Value consts.
59 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[];
60 extern const char kCanOnlyMoveTabsWithinSameProfileError[];
61 extern const char kFormatValueJpeg[];
62 extern const char kFormatValuePng[];
63 extern const char kMimeTypeJpeg[];
64 extern const char kMimeTypePng[];
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 kWindowTypeValueApp[];
75
76 // Error messages.
77 extern const char kNoCrashBrowserError[];
78 extern const char kNoCurrentWindowError[];
79 extern const char kNoLastFocusedWindowError[];
80 extern const char kWindowNotFoundError[];
81 extern const char kTabIndexNotFoundError[];
82 extern const char kTabNotFoundError[];
83 extern const char kTabStripNotEditableError[];
84 extern const char kNoHighlightedTabError[];
85 extern const char kNoSelectedTabError[];
86 extern const char kIncognitoModeIsDisabled[];
87 extern const char kIncognitoModeIsForced[];
88 extern const char kURLsNotAllowedInIncognitoError[];
89 extern const char kInvalidUrlError[];
90 extern const char kInternalVisibleTabCaptureError[];
91 extern const char kNotImplementedError[];
92 extern const char kSupportedInWindowsOnlyError[];
93 extern const char kInvalidWindowTypeError[];
94 extern const char kInvalidWindowStateError[];
95
96 extern const char kNoCodeOrFileToExecuteError[];
97 extern const char kMoreThanOneValuesError[];
98 extern const char kLoadFileError[];
99 extern const char kCannotDetermineLanguageOfUnloadedTab[];
100
101 }; // namespace extension_tabs_module_constants
102
103 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/extension_tabs_module_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698