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 kAttributeAllowTransparency[] = "allowtransparency"; | 10 const char kAttributeAllowTransparency[] = "allowtransparency"; |
(...skipping 24 matching lines...) Expand all Loading... |
35 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; | 35 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; |
36 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; | 36 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; |
37 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; | 37 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; |
38 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; | 38 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; |
39 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; | 39 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; |
40 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; | 40 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; |
41 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; | 41 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; |
42 const char kEventMessage[] = "webViewInternal.onMessage"; | 42 const char kEventMessage[] = "webViewInternal.onMessage"; |
43 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; | 43 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; |
44 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest"; | 44 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest"; |
45 const char kEventPluginDestroyed[] = "webViewInternal.onPluginDestroyed"; | |
46 const char kEventResponsive[] = "webViewInternal.onResponsive"; | 45 const char kEventResponsive[] = "webViewInternal.onResponsive"; |
47 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged"; | 46 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged"; |
48 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive"; | 47 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive"; |
49 const char kEventZoomChange[] = "webViewInternal.onZoomChange"; | 48 const char kEventZoomChange[] = "webViewInternal.onZoomChange"; |
50 | 49 |
51 // Event related constants. | 50 // Event related constants. |
52 const char kWebViewEventPrefix[] = "webViewInternal."; | 51 const char kWebViewEventPrefix[] = "webViewInternal."; |
53 | 52 |
54 // Parameters/properties on events. | 53 // Parameters/properties on events. |
55 const char kContextMenuItems[] = "items"; | 54 const char kContextMenuItems[] = "items"; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 111 |
113 // Miscellaneous. | 112 // Miscellaneous. |
114 const char kMenuItemCommandId[] = "commandId"; | 113 const char kMenuItemCommandId[] = "commandId"; |
115 const char kMenuItemLabel[] = "label"; | 114 const char kMenuItemLabel[] = "label"; |
116 const char kPersistPrefix[] = "persist:"; | 115 const char kPersistPrefix[] = "persist:"; |
117 const char kStoragePartitionId[] = "storagePartitionId"; | 116 const char kStoragePartitionId[] = "storagePartitionId"; |
118 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 117 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
119 const int kInvalidPermissionRequestID = 0; | 118 const int kInvalidPermissionRequestID = 0; |
120 | 119 |
121 } // namespace webview | 120 } // namespace webview |
OLD | NEW |