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

Unified Diff: ui/wm/core/transient_window_manager_unittest.cc

Issue 2453953003: Moves TransientWindowClient to ui/aura/client and adds observer (Closed)
Patch Set: merge Created 4 years, 2 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 | « ui/wm/core/transient_window_manager.cc ('k') | ui/wm/core/wm_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/transient_window_manager_unittest.cc
diff --git a/ui/wm/core/transient_window_manager_unittest.cc b/ui/wm/core/transient_window_manager_unittest.cc
index 041be13703a281a418d1fc7ad01eecb611441044..6f25b73792247c461e29bcf261eda92cabd4bbe9 100644
--- a/ui/wm/core/transient_window_manager_unittest.cc
+++ b/ui/wm/core/transient_window_manager_unittest.cc
@@ -14,7 +14,6 @@
#include "ui/aura/window_observer.h"
#include "ui/wm/core/transient_window_observer.h"
#include "ui/wm/core/window_util.h"
-#include "ui/wm/core/wm_state.h"
using aura::Window;
@@ -75,16 +74,6 @@ class TransientWindowManagerTest : public aura::test::AuraTestBase {
TransientWindowManagerTest() {}
~TransientWindowManagerTest() override {}
- void SetUp() override {
- AuraTestBase::SetUp();
- wm_state_.reset(new wm::WMState);
- }
-
- void TearDown() override {
- wm_state_.reset();
- AuraTestBase::TearDown();
- }
-
protected:
// Creates a transient window that is transient to |parent|.
Window* CreateTransientChild(int id, Window* parent) {
@@ -98,8 +87,6 @@ class TransientWindowManagerTest : public aura::test::AuraTestBase {
}
private:
- std::unique_ptr<wm::WMState> wm_state_;
-
DISALLOW_COPY_AND_ASSIGN(TransientWindowManagerTest);
};
« no previous file with comments | « ui/wm/core/transient_window_manager.cc ('k') | ui/wm/core/wm_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698