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 "extensions/browser/guest_view/web_view/web_view_constants.h" | 5 #include "extensions/browser/guest_view/web_view/web_view_constants.h" |
6 | 6 |
7 namespace webview { | 7 namespace webview { |
8 | 8 |
9 // Attributes. | 9 // Attributes. |
10 const char kAttributeAutoSize[] = "autosize"; | 10 const char kAttributeAutoSize[] = "autosize"; |
(...skipping 16 matching lines...) Expand all Loading... |
27 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; | 27 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; |
28 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; | 28 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; |
29 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; | 29 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; |
30 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; | 30 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; |
31 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; | 31 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; |
32 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; | 32 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; |
33 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; | 33 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; |
34 const char kEventMessage[] = "webViewInternal.onMessage"; | 34 const char kEventMessage[] = "webViewInternal.onMessage"; |
35 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; | 35 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; |
36 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest"; | 36 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest"; |
| 37 const char kEventPluginDestroyed[] = "webViewInternal.onPluginDestroyed"; |
37 const char kEventResponsive[] = "webViewInternal.onResponsive"; | 38 const char kEventResponsive[] = "webViewInternal.onResponsive"; |
38 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged"; | 39 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged"; |
39 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive"; | 40 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive"; |
40 const char kEventZoomChange[] = "webViewInternal.onZoomChange"; | 41 const char kEventZoomChange[] = "webViewInternal.onZoomChange"; |
41 | 42 |
42 // Event related constants. | 43 // Event related constants. |
43 const char kWebViewEventPrefix[] = "webViewInternal."; | 44 const char kWebViewEventPrefix[] = "webViewInternal."; |
44 | 45 |
45 // Parameters/properties on events. | 46 // Parameters/properties on events. |
46 const char kContextMenuItems[] = "items"; | 47 const char kContextMenuItems[] = "items"; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 // Miscellaneous. | 104 // Miscellaneous. |
104 const char kMenuItemCommandId[] = "commandId"; | 105 const char kMenuItemCommandId[] = "commandId"; |
105 const char kMenuItemLabel[] = "label"; | 106 const char kMenuItemLabel[] = "label"; |
106 const char kPersistPrefix[] = "persist:"; | 107 const char kPersistPrefix[] = "persist:"; |
107 const char kStoragePartitionId[] = "storagePartitionId"; | 108 const char kStoragePartitionId[] = "storagePartitionId"; |
108 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 109 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
109 const int kInvalidPermissionRequestID = 0; | 110 const int kInvalidPermissionRequestID = 0; |
110 | 111 |
111 } // namespace webview | 112 } // namespace webview |
OLD | NEW |