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

Unified Diff: trunk/src/chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.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
Index: trunk/src/chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc (revision 259588)
+++ trunk/src/chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc (working copy)
@@ -32,9 +32,9 @@
#endif
#if defined(USE_AURA)
+#include "ui/aura/test/aura_test_helper.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/compositor/test/context_factories_for_test.h"
-#include "ui/wm/test/wm_test_helper.h"
#endif
using base::ASCIIToUTF16;
@@ -111,8 +111,8 @@
bool enable_pixel_output = false;
ui::InitializeContextFactoryForTests(enable_pixel_output);
- wm_test_helper_.reset(new wm::WMTestHelper);
- wm_test_helper_->SetUp();
+ aura_test_helper_.reset(new aura::test::AuraTestHelper(&message_loop_));
+ aura_test_helper_->SetUp();
#endif // USE_AURA
EnableAccessibilityAndListenToFocusNotifications();
}
@@ -120,7 +120,7 @@
virtual void TearDown() {
ClearCallback();
#if defined(USE_AURA)
- wm_test_helper_->TearDown();
+ aura_test_helper_->TearDown();
ui::TerminateContextFactoryForTests();
#endif
delete views::ViewsDelegate::views_delegate;
@@ -139,7 +139,7 @@
views::Widget* CreateWindowWithContents(views::View* contents) {
gfx::NativeView context = NULL;
#if defined(USE_AURA)
- context = wm_test_helper_->root_window();
+ context = aura_test_helper_->root_window();
#endif
views::Widget* widget = views::Widget::CreateWindowWithContextAndBounds(
new AccessibilityWindowDelegate(contents),
@@ -188,7 +188,7 @@
scoped_ptr<ui::ScopedOleInitializer> ole_initializer_;
#endif
#if defined(USE_AURA)
- scoped_ptr<wm::WMTestHelper> wm_test_helper_;
+ scoped_ptr<aura::test::AuraTestHelper> aura_test_helper_;
#endif
};
« no previous file with comments | « trunk/src/ash/ash.gyp ('k') | trunk/src/chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698