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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2134753004: mash: Partially migrate ScreenOrientationController to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. 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
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm_window_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_window_aura.cc
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
index ade5c2cd3c718ae72f94f44b718df266a7af5e1f..412772bc6255f09bd981284a52aa95c028aa6acc 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -718,6 +718,12 @@ void WmWindowAura::OnWindowVisibilityChanging(aura::Window* window,
OnWindowVisibilityChanging(this, visible));
}
+void WmWindowAura::OnWindowVisibilityChanged(aura::Window* window,
+ bool visible) {
+ FOR_EACH_OBSERVER(WmWindowObserver, observers_,
+ OnWindowVisibilityChanged(this, visible));
+}
+
void WmWindowAura::OnWindowTitleChanged(aura::Window* window) {
FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowTitleChanged(this));
}
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698