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

Unified Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc

Issue 2504743002: Linux Aura: Fixes and improvements for cursor loader (Closed)
Patch Set: Formatting Created 4 years, 1 month 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: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
index 133338a4430ab02b0e2ab3fe90cc7ca18355b4ff..862495c0166c8a8d2b005503a8f1643015dbb2ef 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc
@@ -26,7 +26,6 @@
#include "ui/events/event_utils.h"
#include "ui/gfx/x/x11_atom_cache.h"
#include "ui/gfx/x/x11_types.h"
-#include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h"
#include "ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h"
#include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h"
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
@@ -420,8 +419,7 @@ class DesktopDragDropClientAuraX11Test : public ViewsTestBase {
widget_->Init(params);
widget_->Show();
- cursor_manager_.reset(new DesktopNativeCursorManager(
- DesktopCursorLoaderUpdater::Create()));
+ cursor_manager_.reset(new DesktopNativeCursorManager());
client_.reset(new TestDragDropClient(widget_->GetNativeWindow(),
cursor_manager_.get()));
@@ -896,8 +894,7 @@ class DesktopDragDropClientAuraX11ChromeSourceTargetTest
widget_->Init(params);
widget_->Show();
- cursor_manager_.reset(new DesktopNativeCursorManager(
- DesktopCursorLoaderUpdater::Create()));
+ cursor_manager_.reset(new DesktopNativeCursorManager());
client_.reset(new SimpleTestDragDropClient(widget_->GetNativeWindow(),
cursor_manager_.get()));

Powered by Google App Engine
This is Rietveld 408576698