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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 2140783002: services/ui: Detect when a video is playing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index d6f0e60a490ddd8b25586ef7414a84f949021fc2..322ba886cd48cec30416baa1c2905e2c19676006 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -46,6 +46,7 @@ class CC_EXPORT CompositorFrameMetadata {
float max_page_scale_factor = 0.f;
bool root_overflow_x_hidden = false;
bool root_overflow_y_hidden = false;
+ bool may_contain_video = false;
// WebView makes quality decisions for rastering resourceless software frames
// based on information that a scroll or animation is active.

Powered by Google App Engine
This is Rietveld 408576698