OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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/drm/host/drm_cursor.h" |
| 6 |
| 7 #include "base/thread_task_runner_handle.h" |
| 8 #include "ui/gfx/geometry/point.h" |
| 9 #include "ui/gfx/geometry/point_conversions.h" |
| 10 #include "ui/gfx/geometry/point_f.h" |
| 11 #include "ui/ozone/platform/drm/host/drm_window_host.h" |
| 12 #include "ui/ozone/platform/drm/host/drm_window_host_manager.h" |
| 13 |
| 14 #if defined(OS_CHROMEOS) |
| 15 #include "ui/events/ozone/chromeos/cursor_controller.h" |
| 16 #endif |
| 17 |
| 18 namespace ui { |
| 19 |
| 20 DrmCursor::DrmCursor(DrmWindowHostManager* window_manager) { |
| 21 } |
| 22 |
| 23 DrmCursor::~DrmCursor() { |
| 24 } |
| 25 |
| 26 void DrmCursor::SetCursor(gfx::AcceleratedWidget window, |
| 27 PlatformCursor platform_cursor) { |
| 28 //TODO |
| 29 } |
| 30 |
| 31 void DrmCursor::OnWindowAdded(gfx::AcceleratedWidget window, |
| 32 const gfx::Rect& bounds_in_screen, |
| 33 const gfx::Rect& cursor_confined_bounds) { |
| 34 //TODO |
| 35 } |
| 36 |
| 37 void DrmCursor::OnWindowRemoved(gfx::AcceleratedWidget window) { |
| 38 //TODO |
| 39 } |
| 40 |
| 41 void DrmCursor::CommitBoundsChange( |
| 42 gfx::AcceleratedWidget window, |
| 43 const gfx::Rect& new_display_bounds_in_screen, |
| 44 const gfx::Rect& new_confined_bounds) { |
| 45 //TODO |
| 46 } |
| 47 |
| 48 void DrmCursor::MoveCursorTo(gfx::AcceleratedWidget window, |
| 49 const gfx::PointF& location) { |
| 50 //TODO |
| 51 } |
| 52 |
| 53 void DrmCursor::MoveCursorTo(const gfx::PointF& screen_location) { |
| 54 //TODO |
| 55 } |
| 56 |
| 57 void DrmCursor::MoveCursor(const gfx::Vector2dF& delta) { |
| 58 //TODO |
| 59 } |
| 60 |
| 61 bool DrmCursor::IsCursorVisible() { |
| 62 //TODO |
| 63 return false; |
| 64 } |
| 65 |
| 66 gfx::PointF DrmCursor::GetLocation() { |
| 67 //TODO |
| 68 return gfx::PointF(); |
| 69 } |
| 70 |
| 71 gfx::Rect DrmCursor::GetCursorConfinedBounds() { |
| 72 //TODO |
| 73 return gfx::Rect(); |
| 74 } |
| 75 |
| 76 } // namespace ui |
OLD | NEW |