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

Unified Diff: ui/aura/window_event_dispatcher.cc

Issue 944763002: Make Page Visibility API work when the browser window is visible or not Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: ui/aura/window_event_dispatcher.cc
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
index a21236ac38558d4daa23c68c62f3bf8a84b1032a..7322ee7ea381ff07b67aa312f507f739dac0681e 100644
--- a/ui/aura/window_event_dispatcher.cc
+++ b/ui/aura/window_event_dispatcher.cc
@@ -579,7 +579,8 @@ void WindowEventDispatcher::OnWindowVisibilityChanging(Window* window,
}
void WindowEventDispatcher::OnWindowVisibilityChanged(Window* window,
- bool visible) {
+ bool visible,
+ bool content_visible) {
if (!host_->window()->Contains(window))
return;

Powered by Google App Engine
This is Rietveld 408576698