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

Unified Diff: services/ui/ws/frame_generator.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: services/ui/ws/frame_generator.h
diff --git a/services/ui/ws/frame_generator.h b/services/ui/ws/frame_generator.h
index 870fb5a0f20a18515930ed5897fe8517e0b15533..cfe880195b9326099f29b34ce0c03ba200e6e377 100644
--- a/services/ui/ws/frame_generator.h
+++ b/services/ui/ws/frame_generator.h
@@ -86,6 +86,7 @@ class FrameGenerator {
gfx::Rect dirty_rect_;
base::Timer draw_timer_;
bool frame_pending_ = false;
+ bool may_contain_video_ = false;
base::WeakPtrFactory<FrameGenerator> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698