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

Unified Diff: ui/ozone/platform/drm/mus_thread_proxy.cc

Issue 2156093004: Use mojo for cursor control in ozone drm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: corrected small code oversight Created 4 years, 5 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/drm/mus_thread_proxy.h ('k') | ui/ozone/platform/drm/ozone_platform_gbm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/mus_thread_proxy.cc
diff --git a/ui/ozone/platform/drm/mus_thread_proxy.cc b/ui/ozone/platform/drm/mus_thread_proxy.cc
index a331c522a10a97d5831d3c895ae2e5a024584a73..dd1c5d747f770d0588c9151f26da962037bd6601 100644
--- a/ui/ozone/platform/drm/mus_thread_proxy.cc
+++ b/ui/ozone/platform/drm/mus_thread_proxy.cc
@@ -15,6 +15,24 @@
namespace ui {
+CursorProxyThread::CursorProxyThread(MusThreadProxy* mus_thread_proxy)
+ : mus_thread_proxy_(mus_thread_proxy) {}
+CursorProxyThread::~CursorProxyThread() {}
+
+void CursorProxyThread::CursorSet(gfx::AcceleratedWidget window,
+ const std::vector<SkBitmap>& bitmaps,
+ const gfx::Point& point,
+ int frame_delay_ms) {
+ mus_thread_proxy_->CursorSet(window, bitmaps, point, frame_delay_ms);
+}
+void CursorProxyThread::Move(gfx::AcceleratedWidget window,
+ const gfx::Point& point) {
+ mus_thread_proxy_->Move(window, point);
+}
+void CursorProxyThread::InitializeOnEvdev() {
+ mus_thread_proxy_->InitializeOnEvdev();
+}
+
MusThreadProxy::MusThreadProxy()
: ws_task_runner_(base::ThreadTaskRunnerHandle::Get()),
drm_thread_(nullptr),
« no previous file with comments | « ui/ozone/platform/drm/mus_thread_proxy.h ('k') | ui/ozone/platform/drm/ozone_platform_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698