| Index: ui/views/widget/desktop_root_window_host_linux.cc
|
| diff --git a/ui/views/widget/desktop_root_window_host_linux.cc b/ui/views/widget/desktop_root_window_host_linux.cc
|
| index 3b3df6d6030c3427f785f0c2c09978ef426bd51e..25d9846078b04ecd860bdd5f038c7a5f205ba9b6 100644
|
| --- a/ui/views/widget/desktop_root_window_host_linux.cc
|
| +++ b/ui/views/widget/desktop_root_window_host_linux.cc
|
| @@ -682,13 +682,6 @@ void DesktopRootWindowHostLinux::SetCursor(gfx::NativeCursor cursor) {
|
| SetCursorInternal(cursor);
|
| }
|
|
|
| -void DesktopRootWindowHostLinux::ShowCursor(bool show) {
|
| - if (show == cursor_shown_)
|
| - return;
|
| - cursor_shown_ = show;
|
| - SetCursorInternal(show ? current_cursor_ : invisible_cursor_);
|
| -}
|
| -
|
| bool DesktopRootWindowHostLinux::QueryMouseLocation(
|
| gfx::Point* location_return) {
|
| ::Window root_return, child_return;
|
| @@ -782,6 +775,13 @@ void DesktopRootWindowHostLinux::PrepareForShutdown() {
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // DesktopRootWindowHostLinux, aura::CursorClient implementation:
|
|
|
| +void DesktopRootWindowHostLinux::ShowCursor(bool show) {
|
| + if (show == cursor_shown_)
|
| + return;
|
| + cursor_shown_ = show;
|
| + SetCursorInternal(show ? current_cursor_ : invisible_cursor_);
|
| +}
|
| +
|
| bool DesktopRootWindowHostLinux::IsCursorVisible() const {
|
| return cursor_shown_;
|
| }
|
| @@ -792,6 +792,16 @@ void DesktopRootWindowHostLinux::SetDeviceScaleFactor(
|
| cursor_loader_.set_device_scale_factor(device_scale_factor);
|
| }
|
|
|
| +void DesktopRootWindowHostLinux::LockCursor() {
|
| + // TODO(mazda): Implement this.
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void DesktopRootWindowHostLinux::UnlockCursor() {
|
| + // TODO(mazda): Implement this.
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // DesktopRootWindowHostLinux, views::internal::InputMethodDelegate:
|
|
|
|
|