| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/guestview/webview/webview_constants.h" | 5 #include "chrome/browser/guestview/webview/webview_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"; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 const char kMessage[] = "message"; | 30 const char kMessage[] = "message"; |
| 31 const char kNewHeight[] = "newHeight"; | 31 const char kNewHeight[] = "newHeight"; |
| 32 const char kNewURL[] = "newUrl"; | 32 const char kNewURL[] = "newUrl"; |
| 33 const char kNewWidth[] = "newWidth"; | 33 const char kNewWidth[] = "newWidth"; |
| 34 const char kOldHeight[] = "oldHeight"; | 34 const char kOldHeight[] = "oldHeight"; |
| 35 const char kOldURL[] = "oldUrl"; | 35 const char kOldURL[] = "oldUrl"; |
| 36 const char kPermission[] = "permission"; | 36 const char kPermission[] = "permission"; |
| 37 const char kPermissionTypeDialog[] = "dialog"; | 37 const char kPermissionTypeDialog[] = "dialog"; |
| 38 const char kPermissionTypeDownload[] = "download"; | 38 const char kPermissionTypeDownload[] = "download"; |
| 39 const char kPermissionTypeGeolocation[] = "geolocation"; | 39 const char kPermissionTypeGeolocation[] = "geolocation"; |
| 40 const char kPermissionTypeLoadPlugin[] = "loadplugin"; |
| 40 const char kPermissionTypeMedia[] = "media"; | 41 const char kPermissionTypeMedia[] = "media"; |
| 41 const char kPermissionTypeNewWindow[] = "newwindow"; | 42 const char kPermissionTypeNewWindow[] = "newwindow"; |
| 42 const char kPermissionTypePointerLock[] = "pointerLock"; | 43 const char kPermissionTypePointerLock[] = "pointerLock"; |
| 43 const char kOldWidth[] = "oldWidth"; | 44 const char kOldWidth[] = "oldWidth"; |
| 44 const char kProcessId[] = "processId"; | 45 const char kProcessId[] = "processId"; |
| 45 const char kProgress[] = "progress"; | 46 const char kProgress[] = "progress"; |
| 46 const char kReason[] = "reason"; | 47 const char kReason[] = "reason"; |
| 47 const char kRequestId[] = "requestId"; | 48 const char kRequestId[] = "requestId"; |
| 48 const char kSourceId[] = "sourceId"; | 49 const char kSourceId[] = "sourceId"; |
| 49 | 50 |
| 50 // Internal parameters/properties on events. | 51 // Internal parameters/properties on events. |
| 51 const char kInternalCurrentEntryIndex[] = "currentEntryIndex"; | 52 const char kInternalCurrentEntryIndex[] = "currentEntryIndex"; |
| 52 const char kInternalEntryCount[] = "entryCount"; | 53 const char kInternalEntryCount[] = "entryCount"; |
| 53 const char kInternalProcessId[] = "processId"; | 54 const char kInternalProcessId[] = "processId"; |
| 54 | 55 |
| 55 // Initialization parameters. | 56 // Initialization parameters. |
| 56 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 57 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
| 57 | 58 |
| 58 } // namespace webview | 59 } // namespace webview |
| OLD | NEW |