1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/ozone/platform/x11/x11_window_ozone.h" 6 7 #include "ui/ozone/platform/x11/x11_cursor_ozone.h" 8 #include "ui/platform_window/platform_window_delegate.h" 9 10 namespace ui { 11 X11WindowOzone(PlatformWindowDelegate * delegate)12X11WindowOzone::X11WindowOzone(PlatformWindowDelegate* delegate) 13 : X11Window(delegate) {} 14 15 X11WindowOzone::~X11WindowOzone() = default; 16 SetCursor(PlatformCursor cursor)17void X11WindowOzone::SetCursor(PlatformCursor cursor) { 18 X11CursorOzone* cursor_ozone = static_cast<X11CursorOzone*>(cursor); 19 XWindow::SetCursor(cursor_ozone->xcursor()); 20 } 21 22 } // namespace ui 23