OLD | NEW |
| (Empty) |
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. | |
4 | |
5 // Constants used for the WebView API. | |
6 | |
7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | |
8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | |
9 | |
10 namespace webview { | |
11 | |
12 // Events. | |
13 extern const char kEventClose[]; | |
14 extern const char kEventConsoleMessage[]; | |
15 extern const char kEventContentLoad[]; | |
16 extern const char kEventDialog[]; | |
17 extern const char kEventExit[]; | |
18 extern const char kEventFindReply[]; | |
19 extern const char kEventLoadAbort[]; | |
20 extern const char kEventLoadCommit[]; | |
21 extern const char kEventLoadProgress[]; | |
22 extern const char kEventLoadRedirect[]; | |
23 extern const char kEventLoadStart[]; | |
24 extern const char kEventLoadStop[]; | |
25 extern const char kEventNewWindow[]; | |
26 extern const char kEventPermissionRequest[]; | |
27 extern const char kEventResponsive[]; | |
28 extern const char kEventSizeChanged[]; | |
29 extern const char kEventUnresponsive[]; | |
30 extern const char kEventZoomChange[]; | |
31 | |
32 // Parameters/properties on events. | |
33 extern const char kDefaultPromptText[]; | |
34 extern const char kFindSearchText[]; | |
35 extern const char kFindFinalUpdate[]; | |
36 extern const char kLastUnlockedBySelf[]; | |
37 extern const char kLevel[]; | |
38 extern const char kLine[]; | |
39 extern const char kMessage[]; | |
40 extern const char kMessageText[]; | |
41 extern const char kMessageType[]; | |
42 extern const char kNewHeight[]; | |
43 extern const char kNewURL[]; | |
44 extern const char kNewWidth[]; | |
45 extern const char kOldHeight[]; | |
46 extern const char kOldURL[]; | |
47 extern const char kPermission[]; | |
48 extern const char kPermissionTypeDialog[]; | |
49 extern const char kPermissionTypeDownload[]; | |
50 extern const char kPermissionTypeGeolocation[]; | |
51 extern const char kPermissionTypeLoadPlugin[]; | |
52 extern const char kPermissionTypeMedia[]; | |
53 extern const char kPermissionTypeNewWindow[]; | |
54 extern const char kPermissionTypePointerLock[]; | |
55 extern const char kOldWidth[]; | |
56 extern const char kProcessId[]; | |
57 extern const char kProgress[]; | |
58 extern const char kReason[]; | |
59 extern const char kRequestId[]; | |
60 extern const char kSourceId[]; | |
61 extern const char kOldZoomFactor[]; | |
62 extern const char kNewZoomFactor[]; | |
63 | |
64 // Internal parameters/properties on events. | |
65 extern const char kInternalCurrentEntryIndex[]; | |
66 extern const char kInternalEntryCount[]; | |
67 extern const char kInternalProcessId[]; | |
68 | |
69 // Parameters to callback functions. | |
70 extern const char kFindNumberOfMatches[]; | |
71 extern const char kFindActiveMatchOrdinal[]; | |
72 extern const char kFindSelectionRect[]; | |
73 extern const char kFindRectLeft[]; | |
74 extern const char kFindRectTop[]; | |
75 extern const char kFindRectWidth[]; | |
76 extern const char kFindRectHeight[]; | |
77 extern const char kFindCanceled[]; | |
78 extern const char kFindDone[]; | |
79 | |
80 // Initialization parameters. | |
81 extern const char kParameterUserAgentOverride[]; | |
82 | |
83 // Miscellaneous. | |
84 extern const unsigned int kMaxOutstandingPermissionRequests; | |
85 extern const int kInvalidPermissionRequestID; | |
86 | |
87 } // namespace webview | |
88 | |
89 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | |
OLD | NEW |