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

Unified Diff: ash/shell.cc

Issue 2041423003: Converts ShellObserver from aura::Window to ash::WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index c4af39a9c72d91315a12c0070b8c06e9cd9c05cc..2129c869e90c6bed8e9183868deb27d74076aed7 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -438,7 +438,7 @@ void Shell::OnMaximizeModeEnded() {
FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeEnded());
}
-void Shell::OnRootWindowAdded(aura::Window* root_window) {
+void Shell::OnRootWindowAdded(WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver, observers_, OnRootWindowAdded(root_window));
}
@@ -449,7 +449,7 @@ void Shell::CreateShelf() {
(*iter)->CreateShelf();
}
-void Shell::OnShelfCreatedForRootWindow(aura::Window* root_window) {
+void Shell::OnShelfCreatedForRootWindow(WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver,
observers_,
OnShelfCreatedForRootWindow(root_window));
@@ -527,18 +527,18 @@ void Shell::UpdateShelfVisibility() {
(*iter)->UpdateShelfVisibility();
}
-void Shell::OnShelfAlignmentChanged(aura::Window* root_window) {
+void Shell::OnShelfAlignmentChanged(WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver, observers_,
OnShelfAlignmentChanged(root_window));
}
-void Shell::OnShelfAutoHideBehaviorChanged(aura::Window* root_window) {
+void Shell::OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver, observers_,
OnShelfAutoHideBehaviorChanged(root_window));
}
void Shell::NotifyFullscreenStateChange(bool is_fullscreen,
- aura::Window* root_window) {
+ WmWindow* root_window) {
FOR_EACH_OBSERVER(ShellObserver, observers_, OnFullscreenStateChanged(
is_fullscreen, root_window));
}
« no previous file with comments | « ash/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698