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

Unified Diff: chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/display.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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/display.html
diff --git a/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/display.html b/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/display.html
new file mode 100644
index 0000000000000000000000000000000000000000..2dfdc4f36617004b22137efe1465e89a49d9b6c7
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/display.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Display Screenshot</title>
+ <style type="text/css">
+body {
+ background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==');
+ margin: 0;
+}
+ </style>
+ </head>
+ <body>
+ </body>
+</html>
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/webview/capturevisibleregion/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698