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

Unified Diff: chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/test.html

Issue 1869533002: Add webview sample for captureVisibleRegion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/test.html
diff --git a/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/test.html b/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/test.html
new file mode 100644
index 0000000000000000000000000000000000000000..b5d4980486c189634d7239c3f3a626570fa7aaaf
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/test.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src="test.js"></script>
+<style type="text/css">
+.ib {
+ position: relative;
+ display: inline-block;
+}
+.controls {
+ margin: 4px;
+ position: absolute;
+ right: 0px;
+ top: 0px;
+}
+</style>
+ </head>
+ <body bgColor='teal'>
+ <br>
+ <button id="add_wv">Add webview</button>
+ <button id="delete_wv">Delete webview</button>
+ <span><input type="checkbox" id="transparent" checked="checked"><label for="transparent">Transparent</label></span>
+ <br>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698