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

Unified Diff: ui/ozone/platform/drm/host/drm_display_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
« no previous file with comments | « ui/ozone/platform/drm/host/channel_observer.h ('k') | ui/ozone/platform/drm/host/drm_display_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/host/drm_display_host.h
diff --git a/ui/ozone/platform/drm/host/drm_display_host.h b/ui/ozone/platform/drm/host/drm_display_host.h
index 5ea80fc63f7da4368ce7cbd0e74063fcecf502dc..515c19bbf1f81e479a1d1a18ae9533939462e042 100644
--- a/ui/ozone/platform/drm/host/drm_display_host.h
+++ b/ui/ozone/platform/drm/host/drm_display_host.h
@@ -9,7 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "ui/display/types/display_constants.h"
#include "ui/display/types/native_display_delegate.h"
-#include "ui/ozone/platform/drm/host/channel_observer.h"
+#include "ui/ozone/platform/drm/host/gpu_thread_observer.h"
namespace ui {
@@ -17,7 +17,7 @@ struct DisplaySnapshot_Params;
class DisplaySnapshot;
class DrmGpuPlatformSupportHost;
-class DrmDisplayHost : public ChannelObserver {
+class DrmDisplayHost : public GpuThreadObserver {
public:
DrmDisplayHost(DrmGpuPlatformSupportHost* sender,
const DisplaySnapshot_Params& params,
@@ -40,9 +40,9 @@ class DrmDisplayHost : public ChannelObserver {
void OnHDCPStateReceived(bool status, HDCPState state);
void OnHDCPStateUpdated(bool status);
- // ChannelObserver:
- void OnChannelEstablished() override;
- void OnChannelDestroyed() override;
+ // GpuThreadObserver:
+ void OnGpuThreadReady() override;
+ void OnGpuThreadRetired() override;
private:
// Calls all the callbacks with failure.
« no previous file with comments | « ui/ozone/platform/drm/host/channel_observer.h ('k') | ui/ozone/platform/drm/host/drm_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698