| 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 10 matching lines...) Expand all Loading... |
| 21 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\"."; | 21 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\"."; |
| 22 | 22 |
| 23 // Events. | 23 // Events. |
| 24 const char kEventClose[] = "webViewInternal.onClose"; | 24 const char kEventClose[] = "webViewInternal.onClose"; |
| 25 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; | 25 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; |
| 26 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; | 26 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; |
| 27 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu"; | 27 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu"; |
| 28 const char kEventDialog[] = "webViewInternal.onDialog"; | 28 const char kEventDialog[] = "webViewInternal.onDialog"; |
| 29 const char kEventDropLink[] = "webViewInternal.onDropLink"; | 29 const char kEventDropLink[] = "webViewInternal.onDropLink"; |
| 30 const char kEventExit[] = "webViewInternal.onExit"; | 30 const char kEventExit[] = "webViewInternal.onExit"; |
| 31 const char kEventExitFullscreen[] = "webViewInternal.onExitFullscreen"; |
| 31 const char kEventFindReply[] = "webViewInternal.onFindReply"; | 32 const char kEventFindReply[] = "webViewInternal.onFindReply"; |
| 32 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; | 33 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; |
| 33 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; | 34 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; |
| 34 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; | 35 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; |
| 35 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; | 36 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; |
| 36 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; | 37 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; |
| 37 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; | 38 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; |
| 38 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; | 39 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; |
| 39 const char kEventMessage[] = "webViewInternal.onMessage"; | 40 const char kEventMessage[] = "webViewInternal.onMessage"; |
| 40 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; | 41 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 59 const char kLine[] = "line"; | 60 const char kLine[] = "line"; |
| 60 const char kMessage[] = "message"; | 61 const char kMessage[] = "message"; |
| 61 const char kMessageText[] = "messageText"; | 62 const char kMessageText[] = "messageText"; |
| 62 const char kMessageType[] = "messageType"; | 63 const char kMessageType[] = "messageType"; |
| 63 const char kName[] = "name"; | 64 const char kName[] = "name"; |
| 64 const char kNewHeight[] = "newHeight"; | 65 const char kNewHeight[] = "newHeight"; |
| 65 const char kNewURL[] = "newUrl"; | 66 const char kNewURL[] = "newUrl"; |
| 66 const char kNewWidth[] = "newWidth"; | 67 const char kNewWidth[] = "newWidth"; |
| 67 const char kOldHeight[] = "oldHeight"; | 68 const char kOldHeight[] = "oldHeight"; |
| 68 const char kOldURL[] = "oldUrl"; | 69 const char kOldURL[] = "oldUrl"; |
| 70 const char kOrigin[] = "origin"; |
| 69 const char kPermission[] = "permission"; | 71 const char kPermission[] = "permission"; |
| 70 const char kPermissionTypeDialog[] = "dialog"; | 72 const char kPermissionTypeDialog[] = "dialog"; |
| 71 const char kPermissionTypeDownload[] = "download"; | 73 const char kPermissionTypeDownload[] = "download"; |
| 72 const char kPermissionTypeFileSystem[] = "filesystem"; | 74 const char kPermissionTypeFileSystem[] = "filesystem"; |
| 75 const char kPermissionTypeFullscreen[] = "fullscreen"; |
| 73 const char kPermissionTypeGeolocation[] = "geolocation"; | 76 const char kPermissionTypeGeolocation[] = "geolocation"; |
| 74 const char kPermissionTypeLoadPlugin[] = "loadplugin"; | 77 const char kPermissionTypeLoadPlugin[] = "loadplugin"; |
| 75 const char kPermissionTypeMedia[] = "media"; | 78 const char kPermissionTypeMedia[] = "media"; |
| 76 const char kPermissionTypeNewWindow[] = "newwindow"; | 79 const char kPermissionTypeNewWindow[] = "newwindow"; |
| 77 const char kPermissionTypePointerLock[] = "pointerLock"; | 80 const char kPermissionTypePointerLock[] = "pointerLock"; |
| 78 const char kOldWidth[] = "oldWidth"; | 81 const char kOldWidth[] = "oldWidth"; |
| 79 const char kProcessId[] = "processId"; | 82 const char kProcessId[] = "processId"; |
| 80 const char kProgress[] = "progress"; | 83 const char kProgress[] = "progress"; |
| 81 const char kReason[] = "reason"; | 84 const char kReason[] = "reason"; |
| 82 const char kRequestId[] = "requestId"; | 85 const char kRequestId[] = "requestId"; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 108 | 111 |
| 109 // Miscellaneous. | 112 // Miscellaneous. |
| 110 const char kMenuItemCommandId[] = "commandId"; | 113 const char kMenuItemCommandId[] = "commandId"; |
| 111 const char kMenuItemLabel[] = "label"; | 114 const char kMenuItemLabel[] = "label"; |
| 112 const char kPersistPrefix[] = "persist:"; | 115 const char kPersistPrefix[] = "persist:"; |
| 113 const char kStoragePartitionId[] = "partition"; | 116 const char kStoragePartitionId[] = "partition"; |
| 114 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 117 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
| 115 const int kInvalidPermissionRequestID = 0; | 118 const int kInvalidPermissionRequestID = 0; |
| 116 | 119 |
| 117 } // namespace webview | 120 } // namespace webview |
| OLD | NEW |