| 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 // This module implements helper objects for the dialog, newwindow, and | 5 // This module implements helper objects for the dialog, newwindow, and |
| 6 // permissionrequest <webview> events. | 6 // permissionrequest <webview> events. |
| 7 | 7 |
| 8 var MessagingNatives = requireNative('messaging_natives'); | 8 var MessagingNatives = requireNative('messaging_natives'); |
| 9 var WebViewConstants = require('webViewConstants').WebViewConstants; | 9 var WebViewConstants = require('webViewConstants').WebViewConstants; |
| 10 var WebViewInternal = require('webViewInternal').WebViewInternal; | 10 var WebViewInternal = require('webViewInternal').WebViewInternal; |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 250 |
| 251 // ----------------------------------------------------------------------------- | 251 // ----------------------------------------------------------------------------- |
| 252 | 252 |
| 253 var WebViewActionRequests = { | 253 var WebViewActionRequests = { |
| 254 WebViewActionRequest: WebViewActionRequest, | 254 WebViewActionRequest: WebViewActionRequest, |
| 255 Dialog: Dialog, | 255 Dialog: Dialog, |
| 256 NewWindow: NewWindow, | 256 NewWindow: NewWindow, |
| 257 PermissionRequest: PermissionRequest | 257 PermissionRequest: PermissionRequest |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 // Exports. |
| 260 exports.WebViewActionRequests = WebViewActionRequests; | 261 exports.WebViewActionRequests = WebViewActionRequests; |
| OLD | NEW |