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

Unified Diff: extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js

Issue 1582053002: Implement webview.captureVisibleRegion() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
Index: extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js
diff --git a/extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js b/extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js
index a28741b7430da076772e468beb226f22927f9376..9a19bc249298f6bf14152e118e375a74ca7ff23b 100644
--- a/extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js
+++ b/extensions/renderer/resources/guest_view/web_view/web_view_api_methods.js
@@ -37,6 +37,9 @@ var WEB_VIEW_API_METHODS = [
// Returns whether there is a subsequent history entry to navigate to.
'canGoForward',
+ // Captures the visible region of the WebView contents into a bitmap.
+ 'captureVisibleRegion',
+
// Clears browsing data for the WebView partition.
'clearData',

Powered by Google App Engine
This is Rietveld 408576698