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

Unified Diff: ash/shell.cc

Issue 2237903003: mash: Migrate Shelf aura::Window uses to WmWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move shelf notify functions to WmShell. Created 4 years, 4 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/wm/panels/panel_layout_manager_unittest.cc » ('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 3b69f661ac94b9a2dbf33adab9aef0abb6cf9e50..8d26ec981587a9ce20cd64db81649ba635b65cd1 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -373,11 +373,6 @@ void Shell::CreateShelf() {
(*iter)->CreateShelf();
}
-void Shell::OnShelfCreatedForRootWindow(WmWindow* root_window) {
- FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
- OnShelfCreatedForRootWindow(root_window));
-}
-
void Shell::CreateKeyboard() {
if (in_mus_)
return;
@@ -443,16 +438,6 @@ void Shell::UpdateShelfVisibility() {
(*iter)->UpdateShelfVisibility();
}
-void Shell::OnShelfAlignmentChanged(WmWindow* root_window) {
- FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
- OnShelfAlignmentChanged(root_window));
-}
-
-void Shell::OnShelfAutoHideBehaviorChanged(WmWindow* root_window) {
- FOR_EACH_OBSERVER(ShellObserver, *wm_shell_->shell_observers(),
- OnShelfAutoHideBehaviorChanged(root_window));
-}
-
void Shell::CreateModalBackground(aura::Window* window) {
RootWindowControllerList controllers = GetAllRootWindowControllers();
for (RootWindowControllerList::iterator iter = controllers.begin();
« no previous file with comments | « ash/shell.h ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698