Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: extensions/renderer/resources/guest_view/web_view_experimental.js

Issue 690263003: <webview>: Remove broken captureVisibleRegion code until feature is properly supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/web_view_internal.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/guest_view/web_view_experimental.js
diff --git a/extensions/renderer/resources/guest_view/web_view_experimental.js b/extensions/renderer/resources/guest_view/web_view_experimental.js
index 93e117d766eb7d6289f3021b0dc5cea54fa2ec58..0e9587dbec2f71968b8c3edb7a389a1ecaf92054 100644
--- a/extensions/renderer/resources/guest_view/web_view_experimental.js
+++ b/extensions/renderer/resources/guest_view/web_view_experimental.js
@@ -19,11 +19,6 @@ WebView.prototype.maybeGetExperimentalEvents = function() {
return {};
};
-// Captures the visible content within the webview.
-WebView.prototype.captureVisibleRegion = function(spec, callback) {
- WebViewInternal.captureVisibleRegion(this.guestInstanceId, spec, callback);
-};
-
// Loads a data URL with a specified base URL used for relative links.
// Optionally, a virtual URL can be provided to be shown to the user instead
// of the data URL.
@@ -46,7 +41,6 @@ WebView.prototype.loadDataWithBaseUrl = function(
// Registers the experimantal WebVIew API when available.
WebView.maybeGetExperimentalAPIs = function() {
var experimentalMethods = [
- 'captureVisibleRegion',
'loadDataWithBaseUrl'
];
return experimentalMethods;
« no previous file with comments | « extensions/common/api/web_view_internal.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698