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

Unified Diff: ui/ozone/public/cursor_factory_ozone.h

Issue 2798883003: [ozone,views-mus] Build CursorDataFactoryOzone. (Closed)
Patch Set: sadrul comments Created 3 years, 8 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 | « ui/ozone/platform/x11/x11_cursor_factory_ozone.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/cursor_factory_ozone.h
diff --git a/ui/ozone/public/cursor_factory_ozone.h b/ui/ozone/public/cursor_factory_ozone.h
index 4950a3186ee6fd7911dc7024b8123f8ab5ca73df..dbc3c7513d28d702cf1e9fb3b36860402d0bf6d6 100644
--- a/ui/ozone/public/cursor_factory_ozone.h
+++ b/ui/ozone/public/cursor_factory_ozone.h
@@ -35,7 +35,8 @@ class OZONE_BASE_EXPORT CursorFactoryOzone {
// are referenced counted and have an initial refcount of 1. Therefore, each
// CreateImageCursor call must be matched with a call to UnrefImageCursor.
virtual PlatformCursor CreateImageCursor(const SkBitmap& bitmap,
- const gfx::Point& hotspot);
+ const gfx::Point& hotspot,
+ float bitmap_dpi);
// Return a animated cursor from the specified image & hotspot. Animated
// cursors are referenced counted and have an initial refcount of 1.
@@ -44,7 +45,8 @@ class OZONE_BASE_EXPORT CursorFactoryOzone {
virtual PlatformCursor CreateAnimatedCursor(
const std::vector<SkBitmap>& bitmaps,
const gfx::Point& hotspot,
- int frame_delay_ms);
+ int frame_delay_ms,
+ float bitmap_dpi);
// Increment platform image cursor refcount.
virtual void RefImageCursor(PlatformCursor cursor);
« no previous file with comments | « ui/ozone/platform/x11/x11_cursor_factory_ozone.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698