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

Unified Diff: ui/ozone/platform/drm/host/drm_cursor.h

Issue 1019213004: ozone: drm: Remove unused interface from DrmCursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/hardware_display_plane_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/host/drm_cursor.h
diff --git a/ui/ozone/platform/drm/host/drm_cursor.h b/ui/ozone/platform/drm/host/drm_cursor.h
index 06d409ccae077f88b5114248bc94d51f977f0bee..f84a6e493a093076e7af59da6d29fe409945588e 100644
--- a/ui/ozone/platform/drm/host/drm_cursor.h
+++ b/ui/ozone/platform/drm/host/drm_cursor.h
@@ -29,7 +29,7 @@ class BitmapCursorFactoryOzone;
class DrmGpuPlatformSupportHost;
class DrmWindowHostManager;
-class DrmCursor : public CursorDelegateEvdev, public GpuPlatformSupportHost {
+class DrmCursor : public CursorDelegateEvdev {
public:
explicit DrmCursor(DrmWindowHostManager* window_manager);
~DrmCursor() override;
@@ -62,15 +62,13 @@ class DrmCursor : public CursorDelegateEvdev, public GpuPlatformSupportHost {
gfx::PointF GetLocation() override;
gfx::Rect GetCursorConfinedBounds() override;
- // GpuPlatformSupportHost:
+ // IPC.
void OnChannelEstablished(
int host_id,
scoped_refptr<base::SingleThreadTaskRunner> send_runner,
- const base::Callback<void(IPC::Message*)>& sender) override;
- void OnChannelDestroyed(int host_id) override;
-
- // IPC::Listener:
- bool OnMessageReceived(const IPC::Message& message) override;
+ const base::Callback<void(IPC::Message*)>& sender);
+ void OnChannelDestroyed(int host_id);
+ bool OnMessageReceived(const IPC::Message& message);
private:
// Set the location (clamps to cursor bounds).
@@ -86,7 +84,7 @@ class DrmCursor : public CursorDelegateEvdev, public GpuPlatformSupportHost {
void SendCursorMoveLocked();
void SendLocked(IPC::Message* message);
- DrmWindowHostManager* window_manager_; // Not owned.
+ DrmWindowHostManager* window_manager_; // Not owned.
// Task runner for main thread.
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
« no previous file with comments | « ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698