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

Unified Diff: ui/base/cursor/cursor_loader_ozone.h

Issue 2961403002: WIP fix for Ozone cursor woes in Mushrome: Numéro deux
Patch Set: Created 3 years, 6 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 | « services/ui/ws/window_server_delegate.h ('k') | ui/base/cursor/cursor_loader_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader_ozone.h
diff --git a/ui/base/cursor/cursor_loader_ozone.h b/ui/base/cursor/cursor_loader_ozone.h
index 00a23283d5855bd4d3ae36d9d716a02693d7eb75..9b9f5ed250bbdcf9b3919fcd98e289eb0cb35c50 100644
--- a/ui/base/cursor/cursor_loader_ozone.h
+++ b/ui/base/cursor/cursor_loader_ozone.h
@@ -13,6 +13,8 @@
namespace ui {
+class CursorFactoryOzone;
+
class UI_BASE_EXPORT CursorLoaderOzone : public CursorLoader {
public:
CursorLoaderOzone();
@@ -33,6 +35,7 @@ class UI_BASE_EXPORT CursorLoaderOzone : public CursorLoader {
// Pointers are owned by ResourceBundle and must not be freed here.
typedef std::map<CursorType, PlatformCursor> ImageCursorMap;
ImageCursorMap cursors_;
+ CursorFactoryOzone* factory_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(CursorLoaderOzone);
};
« no previous file with comments | « services/ui/ws/window_server_delegate.h ('k') | ui/base/cursor/cursor_loader_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698