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

Unified Diff: extensions/browser/api/web_contents_capture_client.h

Issue 1863953002: <webview>: Fix missing transparency in captureVisibleRegion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build break 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: extensions/browser/api/web_contents_capture_client.h
diff --git a/extensions/browser/api/web_contents_capture_client.h b/extensions/browser/api/web_contents_capture_client.h
index 4107ee4eded91be3e51cace8a75ad81a78ed93a4..653535448fd9a77e966d000d2608fa65c3b5b329 100644
--- a/extensions/browser/api/web_contents_capture_client.h
+++ b/extensions/browser/api/web_contents_capture_client.h
@@ -28,6 +28,7 @@ class WebContentsCaptureClient {
virtual ~WebContentsCaptureClient() {}
virtual bool IsScreenshotEnabled() = 0;
+ virtual bool ClientAllowsTransparency() = 0;
enum FailureReason {
FAILURE_REASON_UNKNOWN,

Powered by Google App Engine
This is Rietveld 408576698