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

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

Issue 1603213002: Renamed ChannelObserver to better describe its purpose (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nit Created 4 years, 11 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
Index: ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
diff --git a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
index 7961fd1b7c7d1511307dafd41263606e238ea542..340c430b15e151c57ea50018e3474f23c9f943e6 100644
--- a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
+++ b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
@@ -20,8 +20,8 @@ class Point;
namespace ui {
-class ChannelObserver;
class DrmCursor;
+class GpuThreadObserver;
class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
public IPC::Sender {
@@ -32,8 +32,8 @@ class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
void RegisterHandler(GpuPlatformSupportHost* handler);
void UnregisterHandler(GpuPlatformSupportHost* handler);
- void AddChannelObserver(ChannelObserver* observer);
- void RemoveChannelObserver(ChannelObserver* observer);
+ void AddGpuThreadObserver(GpuThreadObserver* observer);
+ void RemoveGpuThreadObserver(GpuThreadObserver* observer);
bool IsConnected();
@@ -58,7 +58,7 @@ class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
std::vector<GpuPlatformSupportHost*> handlers_; // Not owned.
DrmCursor* cursor_; // Not owned.
- base::ObserverList<ChannelObserver> channel_observers_;
+ base::ObserverList<GpuThreadObserver> gpu_thread_observers_;
};
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/host/drm_display_host.cc ('k') | ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698