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

Unified Diff: ui/ozone/platform/x11/x11_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
Index: ui/ozone/platform/x11/x11_cursor_factory_ozone.h
diff --git a/ui/ozone/platform/x11/x11_cursor_factory_ozone.h b/ui/ozone/platform/x11/x11_cursor_factory_ozone.h
index 8e851ff46994eb3c9b0f0241f15d0e46edceb1f1..a186a8211e42cb770dd8af6e1ae0fce539183b19 100644
--- a/ui/ozone/platform/x11/x11_cursor_factory_ozone.h
+++ b/ui/ozone/platform/x11/x11_cursor_factory_ozone.h
@@ -27,10 +27,12 @@ class X11CursorFactoryOzone : public CursorFactoryOzone {
// CursorFactoryOzone:
PlatformCursor GetDefaultCursor(int type) override;
PlatformCursor CreateImageCursor(const SkBitmap& bitmap,
- const gfx::Point& hotspot) override;
+ const gfx::Point& hotspot,
+ float bitmap_dpi) override;
PlatformCursor CreateAnimatedCursor(const std::vector<SkBitmap>& bitmaps,
const gfx::Point& hotspot,
- int frame_delay_ms) override;
+ int frame_delay_ms,
+ float bitmap_dpi) override;
void RefImageCursor(PlatformCursor cursor) override;
void UnrefImageCursor(PlatformCursor cursor) override;
« no previous file with comments | « ui/base/cursor/ozone/cursor_data_factory_ozone.cc ('k') | ui/ozone/platform/x11/x11_cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698