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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.h

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_native_cursor_manager.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
index d059c87453be105e8aebdcb1317548eda26ac1a3..9f7879015b5576b03a765c0b85f7c8d136b5db44 100644
--- a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
+++ b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
@@ -26,7 +26,6 @@ class NativeCursorManagerDelegate;
}
namespace views {
-class DesktopCursorLoaderUpdater;
// A NativeCursorManager that performs the desktop-specific setting of cursor
// state. Similar to AshNativeCursorManager, it also communicates these changes
@@ -34,8 +33,7 @@ class DesktopCursorLoaderUpdater;
class VIEWS_EXPORT DesktopNativeCursorManager
: public wm::NativeCursorManager {
public:
- DesktopNativeCursorManager(
- std::unique_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater);
+ DesktopNativeCursorManager();
~DesktopNativeCursorManager() override;
// Builds a cursor and sets the internal platform representation. The return
@@ -66,7 +64,6 @@ class VIEWS_EXPORT DesktopNativeCursorManager
typedef std::set<aura::WindowTreeHost*> Hosts;
Hosts hosts_;
- std::unique_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater_;
std::unique_ptr<ui::CursorLoader> cursor_loader_;
DISALLOW_COPY_AND_ASSIGN(DesktopNativeCursorManager);
@@ -75,4 +72,3 @@ class VIEWS_EXPORT DesktopNativeCursorManager
} // namespace views
#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_
-

Powered by Google App Engine
This is Rietveld 408576698