Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / extensions / browser / guest_view / web_view / web_view_constants.h
blob5d102764bd88541cbbdc82720a1f796b74a993db
1 // Copyright 2014 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 WebView API.
7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_
8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_
10 namespace webview {
12 // Attributes.
13 extern const char kAttributeAllowTransparency[];
14 extern const char kAttributeName[];
15 extern const char kAttributeSrc[];
17 // API namespace.
18 // TODO(kalman): Consolidate this with the other API constants.
19 extern const char kAPINamespace[];
21 // API error messages.
22 extern const char kAPILoadDataInvalidDataURL[];
23 extern const char kAPILoadDataInvalidBaseURL[];
24 extern const char kAPILoadDataInvalidVirtualURL[];
26 // Events.
27 extern const char kEventClose[];
28 extern const char kEventConsoleMessage[];
29 extern const char kEventContentLoad[];
30 extern const char kEventContextMenu[];
31 extern const char kEventDialog[];
32 extern const char kEventExit[];
33 extern const char kEventFindReply[];
34 extern const char kEventFrameNameChanged[];
35 extern const char kEventLoadAbort[];
36 extern const char kEventLoadCommit[];
37 extern const char kEventLoadProgress[];
38 extern const char kEventLoadRedirect[];
39 extern const char kEventLoadStart[];
40 extern const char kEventLoadStop[];
41 extern const char kEventMessage[];
42 extern const char kEventNewWindow[];
43 extern const char kEventPermissionRequest[];
44 extern const char kEventResponsive[];
45 extern const char kEventSizeChanged[];
46 extern const char kEventUnresponsive[];
47 extern const char kEventZoomChange[];
49 // Event related constants.
50 extern const char kWebViewEventPrefix[];
52 // Parameters/properties on events.
53 extern const char kContextMenuItems[];
54 extern const char kDefaultPromptText[];
55 extern const char kFindSearchText[];
56 extern const char kFindFinalUpdate[];
57 extern const char kInitialHeight[];
58 extern const char kInitialWidth[];
59 extern const char kLastUnlockedBySelf[];
60 extern const char kLevel[];
61 extern const char kLine[];
62 extern const char kMessage[];
63 extern const char kMessageText[];
64 extern const char kMessageType[];
65 extern const char kName[];
66 extern const char kNewHeight[];
67 extern const char kNewURL[];
68 extern const char kNewWidth[];
69 extern const char kOldHeight[];
70 extern const char kOldURL[];
71 extern const char kPermission[];
72 extern const char kPermissionTypeDialog[];
73 extern const char kPermissionTypeDownload[];
74 extern const char kPermissionTypeFileSystem[];
75 extern const char kPermissionTypeGeolocation[];
76 extern const char kPermissionTypeLoadPlugin[];
77 extern const char kPermissionTypeMedia[];
78 extern const char kPermissionTypeNewWindow[];
79 extern const char kPermissionTypePointerLock[];
80 extern const char kOldWidth[];
81 extern const char kProcessId[];
82 extern const char kProgress[];
83 extern const char kReason[];
84 extern const char kRequestId[];
85 extern const char kSourceId[];
86 extern const char kTargetURL[];
87 extern const char kWindowID[];
88 extern const char kWindowOpenDisposition[];
89 extern const char kOldZoomFactor[];
90 extern const char kNewZoomFactor[];
92 // Internal parameters/properties on events.
93 extern const char kInternalBaseURLForDataURL[];
94 extern const char kInternalCurrentEntryIndex[];
95 extern const char kInternalEntryCount[];
96 extern const char kInternalProcessId[];
98 // Parameters to callback functions.
99 extern const char kFindNumberOfMatches[];
100 extern const char kFindActiveMatchOrdinal[];
101 extern const char kFindSelectionRect[];
102 extern const char kFindRectLeft[];
103 extern const char kFindRectTop[];
104 extern const char kFindRectWidth[];
105 extern const char kFindRectHeight[];
106 extern const char kFindCanceled[];
107 extern const char kFindDone[];
109 // Initialization parameters.
110 extern const char kParameterUserAgentOverride[];
112 // Miscellaneous.
113 extern const char kMenuItemCommandId[];
114 extern const char kMenuItemLabel[];
115 extern const char kPersistPrefix[];
116 extern const char kStoragePartitionId[];
117 extern const unsigned int kMaxOutstandingPermissionRequests;
118 extern const int kInvalidPermissionRequestID;
120 } // namespace webview
122 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_