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

Unified Diff: ash/common/wm/window_positioner.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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/common/wm/overview/window_selector_controller.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_positioner.cc
diff --git a/ash/common/wm/window_positioner.cc b/ash/common/wm/window_positioner.cc
index a624cc35ac2c26316f92fbc82bd2a21a364977ef..dcea7bff096d701842645957879b85e64bd73782 100644
--- a/ash/common/wm/window_positioner.cc
+++ b/ash/common/wm/window_positioner.cc
@@ -163,7 +163,7 @@ WmWindow* GetReferenceWindow(const WmWindow* root_window,
// Get a list of all windows.
const std::vector<WmWindow*> windows = root_window->GetShell()
- ->GetMruWindowTracker()
+ ->mru_window_tracker()
->BuildWindowListIgnoreModal();
if (windows.empty())
@@ -478,7 +478,7 @@ gfx::Rect WindowPositioner::SmartPopupPosition(const gfx::Rect& old_pos,
const gfx::Rect& work_area,
int grid) {
const std::vector<WmWindow*> windows =
- shell_->GetMruWindowTracker()->BuildWindowListIgnoreModal();
+ shell_->mru_window_tracker()->BuildWindowListIgnoreModal();
std::vector<const gfx::Rect*> regions;
// Process the window list and check if we can bail immediately.
« no previous file with comments | « ash/common/wm/overview/window_selector_controller.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698