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

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 2907853002: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (removed some more wm_window.h) Created 3 years, 7 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/wm/panels/panel_window_resizer.cc ('k') | ash/wm/screen_dimmer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index e8f5516f63d9a60665721f48e8e9069ac8c78871..2cfa05eb7562bd0a7ec61577ac543a8c0c3e9e58 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -22,7 +22,6 @@
#include "ash/wm/window_properties.h"
#include "ash/wm/window_state.h"
#include "ash/wm/wm_event.h"
-#include "ash/wm_window.h"
#include "base/i18n/rtl.h"
#include "base/strings/string_number_conversions.h"
#include "ui/aura/client/aura_constants.h"
@@ -131,9 +130,9 @@ class PanelWindowResizerTest : public test::AshTestBase {
void CheckWindowAndItemPlacement(aura::Window* first, aura::Window* second) {
Shelf* shelf = GetPrimaryShelf();
const gfx::Rect first_item_bounds =
- shelf->GetScreenBoundsOfItemIconForWindow(WmWindow::Get(first));
+ shelf->GetScreenBoundsOfItemIconForWindow(first);
const gfx::Rect second_item_bounds =
- shelf->GetScreenBoundsOfItemIconForWindow(WmWindow::Get(second));
+ shelf->GetScreenBoundsOfItemIconForWindow(second);
if (!base::i18n::IsRTL()) {
EXPECT_TRUE((first->bounds().x() < second->bounds().x()) ||
(first->bounds().y() < second->bounds().y()));
« no previous file with comments | « ash/wm/panels/panel_window_resizer.cc ('k') | ash/wm/screen_dimmer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698