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

Unified Diff: ash/aura/wm_root_window_controller_aura.cc

Issue 2626483002: Removes WmShelfAura and WmShelfMus (Closed)
Patch Set: merge Created 3 years, 11 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/BUILD.gn ('k') | ash/aura/wm_shelf_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_root_window_controller_aura.cc
diff --git a/ash/aura/wm_root_window_controller_aura.cc b/ash/aura/wm_root_window_controller_aura.cc
index 6fdb4725b9e3b069a9b80231cf5b81b131e70465..d8bab9208f1876ce06020cadd25ca5eced495fc6 100644
--- a/ash/aura/wm_root_window_controller_aura.cc
+++ b/ash/aura/wm_root_window_controller_aura.cc
@@ -4,10 +4,10 @@
#include "ash/aura/wm_root_window_controller_aura.h"
-#include "ash/aura/wm_shelf_aura.h"
#include "ash/aura/wm_shell_aura.h"
#include "ash/aura/wm_window_aura.h"
#include "ash/common/shelf/shelf_widget.h"
+#include "ash/common/shelf/wm_shelf.h"
#include "ash/display/window_tree_host_manager.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
@@ -62,7 +62,7 @@ const WmRootWindowControllerAura* WmRootWindowControllerAura::Get(
}
bool WmRootWindowControllerAura::HasShelf() {
- return root_window_controller_->wm_shelf_aura()->shelf_widget() != nullptr;
+ return root_window_controller_->wm_shelf()->shelf_widget() != nullptr;
}
WmShell* WmRootWindowControllerAura::GetShell() {
@@ -70,7 +70,7 @@ WmShell* WmRootWindowControllerAura::GetShell() {
}
WmShelf* WmRootWindowControllerAura::GetShelf() {
- return root_window_controller_->wm_shelf_aura();
+ return root_window_controller_->wm_shelf();
}
WmWindow* WmRootWindowControllerAura::GetWindow() {
« no previous file with comments | « ash/BUILD.gn ('k') | ash/aura/wm_shelf_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698