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

Unified Diff: ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc

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
Index: ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc
diff --git a/ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc b/ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc
index 160b5153dbd4df2eaddf55892c9c6fab5196251b..39b5e1febd3470393d09a9992f956e9032cd8fa9 100644
--- a/ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc
+++ b/ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc
@@ -71,10 +71,12 @@ bool GpuPlatformSupportHostGbm::Send(IPC::Message* message) {
return true;
}
-void GpuPlatformSupportHostGbm::SetHardwareCursor(gfx::AcceleratedWidget widget,
- const SkBitmap& bitmap,
- const gfx::Point& location) {
- Send(new OzoneGpuMsg_CursorSet(widget, bitmap, location));
+void GpuPlatformSupportHostGbm::SetHardwareCursor(
+ gfx::AcceleratedWidget widget,
+ const std::vector<SkBitmap>& bitmaps,
+ const gfx::Point& location,
+ int frame_delay_ms) {
+ Send(new OzoneGpuMsg_CursorSet(widget, bitmaps, location, frame_delay_ms));
}
void GpuPlatformSupportHostGbm::MoveHardwareCursor(
« no previous file with comments | « ui/ozone/platform/dri/gpu_platform_support_host_gbm.h ('k') | ui/ozone/platform/dri/hardware_cursor_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698