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

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

Issue 213033002: Revert 259580 "Move wm/public into wm target" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/chrome/test/base/view_event_test_base.h ('k') | trunk/src/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/base/view_event_test_base.cc
===================================================================
--- trunk/src/chrome/test/base/view_event_test_base.cc (revision 259588)
+++ trunk/src/chrome/test/base/view_event_test_base.cc (working copy)
@@ -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,11 +141,12 @@
#endif // !OS_WIN
aura::Env::CreateInstance();
#elif defined(USE_AURA)
- // Instead of using the ash shell, use an WMTestHelper to create and manage
+ // Instead of using the ash shell, use an AuraTestHelper to create and manage
// the test screen.
- wm_test_helper_.reset(new wm::WMTestHelper);
- wm_test_helper_->SetUp();
- context = wm_test_helper_->root_window();
+ aura_test_helper_.reset(
+ new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
+ aura_test_helper_->SetUp();
+ context = aura_test_helper_->root_window();
#endif // !USE_ASH && USE_AURA
window_ = views::Widget::CreateWindowWithContext(this, context);
@@ -174,7 +175,7 @@
#endif // !OS_WIN
aura::Env::DeleteInstance();
#elif defined(USE_AURA)
- wm_test_helper_->TearDown();
+ aura_test_helper_->TearDown();
#endif // !USE_ASH && USE_AURA
#if defined(USE_AURA)
« no previous file with comments | « trunk/src/chrome/test/base/view_event_test_base.h ('k') | trunk/src/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698