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

Unified Diff: ui/ozone/platform/drm/gpu/drm_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/gpu/drm_thread_proxy.h ('k') | ui/ozone/platform/drm/host/drm_cursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
index e1de411df483d2f8d93c4fe214f2e5129d845d23..1cfa171b3cde42da367c0bf09999e81be276faff 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
@@ -63,4 +63,11 @@ void DrmThreadProxy::GetScanoutFormats(
widget, scanout_formats));
}
+void DrmThreadProxy::AddBinding(ozone::mojom::DeviceCursorRequest request) {
+ drm_thread_.task_runner()->PostTask(
+ FROM_HERE,
+ base::Bind(&DrmThread::AddBinding, base::Unretained(&drm_thread_),
+ base::Passed(&request)));
+}
+
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread_proxy.h ('k') | ui/ozone/platform/drm/host/drm_cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698