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

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 209383003: Move wm/public into wm target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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/test/base/view_event_test_base.h ('k') | content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index faf6fe48798d91d6337033336a4f287d0ae6af6f..07de6f1e24ad9f951be28c274b545dc4ee366567 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -29,11 +29,11 @@
#if defined(USE_AURA)
#include "ui/aura/client/event_client.h"
#include "ui/aura/env.h"
-#include "ui/aura/test/aura_test_helper.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tree_host.h"
#include "ui/compositor/test/context_factories_for_test.h"
#include "ui/wm/core/wm_state.h"
+#include "ui/wm/test/wm_test_helper.h"
#endif
#if defined(OS_CHROMEOS)
@@ -141,12 +141,11 @@ void ViewEventTestBase::SetUp() {
#endif // !OS_WIN
aura::Env::CreateInstance();
#elif defined(USE_AURA)
- // Instead of using the ash shell, use an AuraTestHelper to create and manage
+ // Instead of using the ash shell, use an WMTestHelper to create and manage
// the test screen.
- aura_test_helper_.reset(
- new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
- aura_test_helper_->SetUp();
- context = aura_test_helper_->root_window();
+ wm_test_helper_.reset(new wm::WMTestHelper);
+ wm_test_helper_->SetUp();
+ context = wm_test_helper_->root_window();
#endif // !USE_ASH && USE_AURA
window_ = views::Widget::CreateWindowWithContext(this, context);
@@ -175,7 +174,7 @@ void ViewEventTestBase::TearDown() {
#endif // !OS_WIN
aura::Env::DeleteInstance();
#elif defined(USE_AURA)
- aura_test_helper_->TearDown();
+ wm_test_helper_->TearDown();
#endif // !USE_ASH && USE_AURA
#if defined(USE_AURA)
« no previous file with comments | « chrome/test/base/view_event_test_base.h ('k') | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698