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 kEventLoadAbort[]; | 21 extern const char kEventLoadAbort[]; |
21 extern const char kEventLoadCommit[]; | 22 extern const char kEventLoadCommit[]; |
22 extern const char kEventLoadProgress[]; | 23 extern const char kEventLoadProgress[]; |
23 extern const char kEventLoadRedirect[]; | 24 extern const char kEventLoadRedirect[]; |
24 extern const char kEventLoadStart[]; | 25 extern const char kEventLoadStart[]; |
25 extern const char kEventLoadStop[]; | 26 extern const char kEventLoadStop[]; |
26 extern const char kEventNewWindow[]; | 27 extern const char kEventNewWindow[]; |
27 extern const char kEventPermissionRequest[]; | 28 extern const char kEventPermissionRequest[]; |
28 extern const char kEventResponsive[]; | 29 extern const char kEventResponsive[]; |
29 extern const char kEventSizeChanged[]; | 30 extern const char kEventSizeChanged[]; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 91 |
91 // Miscellaneous. | 92 // Miscellaneous. |
92 extern const char kMenuItemCommandId[]; | 93 extern const char kMenuItemCommandId[]; |
93 extern const char kMenuItemLabel[]; | 94 extern const char kMenuItemLabel[]; |
94 extern const unsigned int kMaxOutstandingPermissionRequests; | 95 extern const unsigned int kMaxOutstandingPermissionRequests; |
95 extern const int kInvalidPermissionRequestID; | 96 extern const int kInvalidPermissionRequestID; |
96 | 97 |
97 } // namespace webview | 98 } // namespace webview |
98 | 99 |
99 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 100 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |