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

Unified Diff: ui/ozone/platform/dri/hardware_cursor_delegate.h

Issue 543643003: ozone: Plumb animated cursors from BitmapCursorFactoryOzone to DriSurfaceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dri_surface_factory_unittest 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 | « ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/hardware_cursor_delegate.h
diff --git a/ui/ozone/platform/dri/hardware_cursor_delegate.h b/ui/ozone/platform/dri/hardware_cursor_delegate.h
index e770cdf498477f457a5daa5cd5c147c5c702b044..17cea4401348328a39b47ea03545a675821341ca 100644
--- a/ui/ozone/platform/dri/hardware_cursor_delegate.h
+++ b/ui/ozone/platform/dri/hardware_cursor_delegate.h
@@ -20,8 +20,9 @@ class HardwareCursorDelegate {
// Update the HW cursor bitmap & move to specified location. If
// the bitmap is empty, the cursor is hidden.
virtual void SetHardwareCursor(gfx::AcceleratedWidget widget,
- const SkBitmap& bitmap,
- const gfx::Point& location) = 0;
+ const std::vector<SkBitmap>& bitmaps,
+ const gfx::Point& location,
+ int frame_delay_ms) = 0;
// Move the HW cursor to the specified location.
virtual void MoveHardwareCursor(gfx::AcceleratedWidget widget,
« no previous file with comments | « ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698