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

Unified Diff: ui/aura/window_event_dispatcher.h

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.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 5bcccaffe7c8c142dbf2243432055e152d99b3db..826b53f0487aadebcd42940430b03f3bd6aa935d 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -199,7 +199,8 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
void OnWindowRemovingFromRootWindow(Window* window,
Window* new_root) override;
void OnWindowVisibilityChanging(Window* window, bool visible) override;
- void OnWindowVisibilityChanged(Window* window, bool visible) override;
+ void OnWindowVisibilityChanged(Window* window, bool visible,
+ bool content_visible) override;
void OnWindowBoundsChanged(Window* window,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) override;

Powered by Google App Engine
This is Rietveld 408576698