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 #include "chrome/browser/guest_view/web_view/web_view_constants.h" | 5 #include "chrome/browser/guest_view/web_view/web_view_constants.h" |
6 | 6 |
7 namespace webview { | 7 namespace webview { |
8 | 8 |
9 // Events. | 9 // Events. |
10 const char kEventClose[] = "webview.onClose"; | 10 const char kEventClose[] = "webview.onClose"; |
11 const char kEventConsoleMessage[] = "webview.onConsoleMessage"; | 11 const char kEventConsoleMessage[] = "webview.onConsoleMessage"; |
12 const char kEventContentLoad[] = "webview.onContentLoad"; | 12 const char kEventContentLoad[] = "webview.onContentLoad"; |
13 const char kEventContextMenu[] = "webview.contextmenu"; | 13 const char kEventContextMenu[] = "webview.contextmenu"; |
14 const char kEventDialog[] = "webview.onDialog"; | 14 const char kEventDialog[] = "webview.onDialog"; |
15 const char kEventExit[] = "webview.onExit"; | 15 const char kEventExit[] = "webview.onExit"; |
16 const char kEventFindReply[] = "webview.onFindReply"; | 16 const char kEventFindReply[] = "webview.onFindReply"; |
| 17 const char kEventFrameNameChanged[] = "webview.onFrameNameChanged"; |
17 const char kEventLoadAbort[] = "webview.onLoadAbort"; | 18 const char kEventLoadAbort[] = "webview.onLoadAbort"; |
18 const char kEventLoadCommit[] = "webview.onLoadCommit"; | 19 const char kEventLoadCommit[] = "webview.onLoadCommit"; |
19 const char kEventLoadProgress[] = "webview.onLoadProgress"; | 20 const char kEventLoadProgress[] = "webview.onLoadProgress"; |
20 const char kEventLoadRedirect[] = "webview.onLoadRedirect"; | 21 const char kEventLoadRedirect[] = "webview.onLoadRedirect"; |
21 const char kEventLoadStart[] = "webview.onLoadStart"; | 22 const char kEventLoadStart[] = "webview.onLoadStart"; |
22 const char kEventLoadStop[] = "webview.onLoadStop"; | 23 const char kEventLoadStop[] = "webview.onLoadStop"; |
23 const char kEventNewWindow[] = "webview.onNewWindow"; | 24 const char kEventNewWindow[] = "webview.onNewWindow"; |
24 const char kEventPermissionRequest[] = "webview.onPermissionRequest"; | 25 const char kEventPermissionRequest[] = "webview.onPermissionRequest"; |
25 const char kEventResponsive[] = "webview.onResponsive"; | 26 const char kEventResponsive[] = "webview.onResponsive"; |
26 const char kEventSizeChanged[] = "webview.onSizeChanged"; | 27 const char kEventSizeChanged[] = "webview.onSizeChanged"; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Initialization parameters. | 85 // Initialization parameters. |
85 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 86 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
86 | 87 |
87 // Miscellaneous. | 88 // Miscellaneous. |
88 const char kMenuItemCommandId[] = "commandId"; | 89 const char kMenuItemCommandId[] = "commandId"; |
89 const char kMenuItemLabel[] = "label"; | 90 const char kMenuItemLabel[] = "label"; |
90 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 91 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
91 const int kInvalidPermissionRequestID = 0; | 92 const int kInvalidPermissionRequestID = 0; |
92 | 93 |
93 } // namespace webview | 94 } // namespace webview |
OLD | NEW |