| 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..820294deec87b49c6106959419427c744884d284 100644
|
| --- a/ui/ozone/platform/drm/mus_thread_proxy.cc
|
| +++ b/ui/ozone/platform/drm/mus_thread_proxy.cc
|
| @@ -15,6 +15,28 @@
|
|
|
| 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::MoveEvdev(gfx::AcceleratedWidget window,
|
| + const gfx::Point& point) {
|
| + mus_thread_proxy_->MoveEvdev(window, point);
|
| +}
|
| +void CursorProxyThread::InitializeOnEvdev() {
|
| + mus_thread_proxy_->InitializeOnEvdev();
|
| +}
|
| +
|
| MusThreadProxy::MusThreadProxy()
|
| : ws_task_runner_(base::ThreadTaskRunnerHandle::Get()),
|
| drm_thread_(nullptr),
|
| @@ -142,6 +164,11 @@ void MusThreadProxy::Move(gfx::AcceleratedWidget widget,
|
| base::Unretained(drm_thread_), widget, location));
|
| }
|
|
|
| +void MusThreadProxy::MoveEvdev(gfx::AcceleratedWidget widget,
|
| + const gfx::Point& location) {
|
| + Move(widget, location);
|
| +}
|
| +
|
| // Services needed for DrmOverlayManager.
|
| void MusThreadProxy::RegisterHandlerForDrmOverlayManager(
|
| DrmOverlayManager* handler) {
|
|
|