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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_ash_uitest.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 | « chrome/browser/ui/ash/shelf_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
index 862f6026f995790610874d0e8acc4f3bcc5f5514..3690eaf482d013c656051f58f67ec9834cc7b642 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/shelf/shelf_view.h"
#include "ash/shelf/shelf.h"
#include "ash/shell.h"
@@ -53,7 +54,8 @@ void CloseBrowser(Browser* browser) {
}
gfx::Rect GetChromeIconBoundsForRootWindow(aura::Window* root_window) {
- ash::Shelf* shelf = ash::Shelf::ForWindow(root_window);
+ ash::Shelf* shelf =
+ ash::Shelf::ForWindow(ash::WmWindowAura::Get(root_window));
const ash::ShelfView* shelf_view =
ash::test::ShelfTestAPI(shelf).shelf_view();
const views::ViewModel* view_model = shelf_view->view_model_for_test();
« no previous file with comments | « chrome/browser/ui/ash/shelf_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698