| 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 experimental API for <webview>. | 5 // This module implements experimental API for <webview>. |
| 6 // See web_view.js for details. | 6 // See web_view.js for details. |
| 7 // | 7 // |
| 8 // <webview> Experimental API is only available on canary and dev channels of | 8 // <webview> Experimental API is only available on canary and dev channels of |
| 9 // Chrome. | 9 // Chrome. |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 // Registers the experimantal WebVIew API when available. | 46 // Registers the experimantal WebVIew API when available. |
| 47 WebViewInternal.maybeGetExperimentalAPIs = function() { | 47 WebViewInternal.maybeGetExperimentalAPIs = function() { |
| 48 var experimentalMethods = [ | 48 var experimentalMethods = [ |
| 49 'captureVisibleRegion', | 49 'captureVisibleRegion', |
| 50 'loadDataWithBaseUrl' | 50 'loadDataWithBaseUrl' |
| 51 ]; | 51 ]; |
| 52 return experimentalMethods; | 52 return experimentalMethods; |
| 53 }; | 53 }; |
| OLD | NEW |