OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 WebView API. | 5 // Constants used for the WebView API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
9 | 9 |
10 namespace webview { | 10 namespace webview { |
11 | 11 |
12 // Events. | 12 // Events. |
13 extern const char kEventClose[]; | 13 extern const char kEventClose[]; |
14 extern const char kEventConsoleMessage[]; | 14 extern const char kEventConsoleMessage[]; |
15 extern const char kEventContentLoad[]; | 15 extern const char kEventContentLoad[]; |
16 extern const char kEventContextMenu[]; | 16 extern const char kEventContextMenu[]; |
17 extern const char kEventDialog[]; | 17 extern const char kEventDialog[]; |
18 extern const char kEventExit[]; | 18 extern const char kEventExit[]; |
19 extern const char kEventFindReply[]; | 19 extern const char kEventFindReply[]; |
20 extern const char kEventFrameNameChanged[]; | 20 extern const char kEventFrameNameChanged[]; |
21 extern const char kEventLoadAbort[]; | 21 extern const char kEventLoadAbort[]; |
22 extern const char kEventLoadCommit[]; | 22 extern const char kEventLoadCommit[]; |
23 extern const char kEventLoadProgress[]; | 23 extern const char kEventLoadProgress[]; |
24 extern const char kEventLoadRedirect[]; | 24 extern const char kEventLoadRedirect[]; |
25 extern const char kEventLoadStart[]; | 25 extern const char kEventLoadStart[]; |
26 extern const char kEventLoadStop[]; | 26 extern const char kEventLoadStop[]; |
| 27 extern const char kEventMessage[]; |
27 extern const char kEventNewWindow[]; | 28 extern const char kEventNewWindow[]; |
28 extern const char kEventPermissionRequest[]; | 29 extern const char kEventPermissionRequest[]; |
29 extern const char kEventResponsive[]; | 30 extern const char kEventResponsive[]; |
30 extern const char kEventSizeChanged[]; | 31 extern const char kEventSizeChanged[]; |
31 extern const char kEventUnresponsive[]; | 32 extern const char kEventUnresponsive[]; |
32 extern const char kEventZoomChange[]; | 33 extern const char kEventZoomChange[]; |
33 | 34 |
34 // Parameters/properties on events. | 35 // Parameters/properties on events. |
35 extern const char kContextMenuItems[]; | 36 extern const char kContextMenuItems[]; |
36 extern const char kDefaultPromptText[]; | 37 extern const char kDefaultPromptText[]; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 92 |
92 // Miscellaneous. | 93 // Miscellaneous. |
93 extern const char kMenuItemCommandId[]; | 94 extern const char kMenuItemCommandId[]; |
94 extern const char kMenuItemLabel[]; | 95 extern const char kMenuItemLabel[]; |
95 extern const unsigned int kMaxOutstandingPermissionRequests; | 96 extern const unsigned int kMaxOutstandingPermissionRequests; |
96 extern const int kInvalidPermissionRequestID; | 97 extern const int kInvalidPermissionRequestID; |
97 | 98 |
98 } // namespace webview | 99 } // namespace webview |
99 | 100 |
100 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 101 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |