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

Unified Diff: ash/wm/dock/docked_window_resizer_unittest.cc

Issue 2187513003: mash: Partially migrate ShelfLayoutManager to ash common types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 5 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/dock/docked_window_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/dock/docked_window_resizer_unittest.cc
diff --git a/ash/wm/dock/docked_window_resizer_unittest.cc b/ash/wm/dock/docked_window_resizer_unittest.cc
index da018ecc58055a7b37a8626c595a2346931ba7c3..a9bd4a4e60ca1a01c89f1ba3d56d10bb2fa55185 100644
--- a/ash/wm/dock/docked_window_resizer_unittest.cc
+++ b/ash/wm/dock/docked_window_resizer_unittest.cc
@@ -6,7 +6,6 @@
#include "ash/aura/wm_window_aura.h"
#include "ash/common/ash_switches.h"
-#include "ash/common/shelf/shelf_model.h"
#include "ash/common/shelf/shelf_types.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/wm/dock/docked_window_layout_manager.h"
@@ -18,7 +17,6 @@
#include "ash/root_window_controller.h"
#include "ash/screen_util.h"
#include "ash/shelf/shelf.h"
-#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -45,13 +43,12 @@ class DockedWindowResizerTest
: public test::AshTestBase,
public testing::WithParamInterface<ui::wm::WindowType> {
public:
- DockedWindowResizerTest() : model_(NULL), window_type_(GetParam()) {}
+ DockedWindowResizerTest() : window_type_(GetParam()) {}
virtual ~DockedWindowResizerTest() {}
void SetUp() override {
AshTestBase::SetUp();
UpdateDisplay("600x400");
- model_ = WmShell::Get()->shelf_model();
}
void TearDown() override { AshTestBase::TearDown(); }
@@ -234,7 +231,6 @@ class DockedWindowResizerTest
private:
std::unique_ptr<WindowResizer> resizer_;
- ShelfModel* model_;
ui::wm::WindowType window_type_;
aura::test::TestWindowDelegate delegate_;
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698