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

Unified Diff: ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h

Issue 540103002: ozone: Handle default cursors with no bitmap in BitmapCursorFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
diff --git a/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h b/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
index 4d8331f8b51a92beed36a0e1c41424f25b0e466f..efbe484cd7e9195ba8f447029b03ef8aba98b7a7 100644
--- a/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
+++ b/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
@@ -60,6 +60,9 @@ class UI_BASE_EXPORT BitmapCursorFactoryOzone : public CursorFactoryOzone {
virtual void UnrefImageCursor(PlatformCursor cursor) OVERRIDE;
private:
+ // Get cached BitmapCursorOzone for a default cursor.
+ scoped_refptr<BitmapCursorOzone> GetDefaultCursorInternal(int type);
+
// Default cursors are cached & owned by the factory.
typedef std::map<int, scoped_refptr<BitmapCursorOzone> > DefaultCursorMap;
DefaultCursorMap default_cursors_;
« no previous file with comments | « no previous file | ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698