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

Unified Diff: ui/wm/core/transient_window_manager.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/wm/core/transient_window_manager.h
diff --git a/ui/wm/core/transient_window_manager.h b/ui/wm/core/transient_window_manager.h
index 6a17d9fdc8da05842959fa3c590038c7c1398ba0..e41dcd77b708fe3ab66055302554c043ed3655af 100644
--- a/ui/wm/core/transient_window_manager.h
+++ b/ui/wm/core/transient_window_manager.h
@@ -82,7 +82,8 @@ class WM_EXPORT TransientWindowManager : public aura::WindowObserver {
// WindowObserver:
void OnWindowParentChanged(aura::Window* window,
aura::Window* parent) override;
- void OnWindowVisibilityChanged(aura::Window* window, bool visible) override;
+ void OnWindowVisibilityChanged(aura::Window* window, bool visible,
+ bool content_visible) override;
void OnWindowStackingChanged(aura::Window* window) override;
void OnWindowDestroying(aura::Window* window) override;

Powered by Google App Engine
This is Rietveld 408576698