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

Unified Diff: ash/shell.cc

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback 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/shelf/shelf_window_targeter.cc ('k') | ash/shell/window_watcher.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 069fb3f21dd7fe6f6d7891834581f747c11430c3..4af0c376cb2d45f5bf798dd1f8083e2224a728d0 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -13,7 +13,6 @@
#include "ash/accelerators/magnifier_key_scroller.h"
#include "ash/accelerators/spoken_feedback_toggler.h"
#include "ash/aura/wm_shell_aura.h"
-#include "ash/aura/wm_window_aura.h"
#include "ash/autoclick/autoclick_controller.h"
#include "ash/common/accelerators/accelerator_controller.h"
#include "ash/common/ash_constants.h"
@@ -42,6 +41,7 @@
#include "ash/common/wm/window_positioner.h"
#include "ash/common/wm/workspace_controller.h"
#include "ash/common/wm_shell.h"
+#include "ash/common/wm_window.h"
#include "ash/display/cursor_window_controller.h"
#include "ash/display/display_color_manager_chromeos.h"
#include "ash/display/display_configuration_controller.h"
@@ -228,8 +228,7 @@ aura::Window* Shell::GetPrimaryRootWindow() {
// static
aura::Window* Shell::GetTargetRootWindow() {
CHECK(WmShell::HasInstance());
- return WmWindowAura::GetAuraWindow(
- WmShell::Get()->GetRootWindowForNewWindows());
+ return WmWindow::GetAuraWindow(WmShell::Get()->GetRootWindowForNewWindows());
}
// static
@@ -288,7 +287,7 @@ void Shell::OnLockStateChanged(bool locked) {
if (!locked) {
std::vector<WmWindow*> containers = wm::GetContainersFromAllRootWindows(
kShellWindowId_LockSystemModalContainer,
- WmWindowAura::Get(GetPrimaryRootWindow()));
+ WmWindow::Get(GetPrimaryRootWindow()));
for (WmWindow* container : containers)
DCHECK(container->GetChildren().empty());
}
@@ -637,7 +636,7 @@ void Shell::Init(const ShellInitParams& init_params) {
AshWindowTreeHostInitParams ash_init_params;
window_tree_host_manager_->CreatePrimaryHost(ash_init_params);
aura::Window* root_window = window_tree_host_manager_->GetPrimaryRootWindow();
- wm_shell_->set_root_window_for_new_windows(WmWindowAura::Get(root_window));
+ wm_shell_->set_root_window_for_new_windows(WmWindow::Get(root_window));
resolution_notification_controller_.reset(
new ResolutionNotificationController);
« no previous file with comments | « ash/shelf/shelf_window_targeter.cc ('k') | ash/shell/window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698