| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WebView (<webview>) as a custom element that wraps a | 5 // This module implements WebView (<webview>) as a custom element that wraps a |
| 6 // BrowserPlugin object element. The object element is hidden within | 6 // BrowserPlugin object element. The object element is hidden within |
| 7 // the shadow DOM of the WebView element. | 7 // the shadow DOM of the WebView element. |
| 8 | 8 |
| 9 var DocumentNatives = requireNative('document_natives'); | 9 var DocumentNatives = requireNative('document_natives'); |
| 10 var GuestViewInternal = | 10 var GuestViewInternal = |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 WebViewInternal.prototype.maybeGetChromeWebViewEvents = function() {}; | 927 WebViewInternal.prototype.maybeGetChromeWebViewEvents = function() {}; |
| 928 | 928 |
| 929 // Implemented when the experimental WebView API is available. | 929 // Implemented when the experimental WebView API is available. |
| 930 WebViewInternal.maybeGetExperimentalAPIs = function() {}; | 930 WebViewInternal.maybeGetExperimentalAPIs = function() {}; |
| 931 WebViewInternal.prototype.maybeGetExperimentalEvents = function() {}; | 931 WebViewInternal.prototype.maybeGetExperimentalEvents = function() {}; |
| 932 WebViewInternal.prototype.setupExperimentalContextMenus = function() {}; | 932 WebViewInternal.prototype.setupExperimentalContextMenus = function() {}; |
| 933 | 933 |
| 934 // Exports. | 934 // Exports. |
| 935 exports.WebView = WebView; | 935 exports.WebView = WebView; |
| 936 exports.WebViewInternal = WebViewInternal; | 936 exports.WebViewInternal = WebViewInternal; |
| OLD | NEW |