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

Unified Diff: ui/ozone/platform/drm/host/drm_window_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_window_host.h
diff --git a/ui/ozone/platform/drm/host/drm_window_host.h b/ui/ozone/platform/drm/host/drm_window_host.h
index 980396167f5d7f0c3a45d23c9975a802c1f0657f..1178c35742840175c53ea807c3da24e52d17491c 100644
--- a/ui/ozone/platform/drm/host/drm_window_host.h
+++ b/ui/ozone/platform/drm/host/drm_window_host.h
@@ -13,7 +13,7 @@
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/ozone/platform/drm/host/channel_observer.h"
+#include "ui/ozone/platform/drm/host/gpu_thread_observer.h"
#include "ui/platform_window/platform_window.h"
namespace ui {
@@ -38,7 +38,7 @@ class EventFactoryEvdev;
// associated with the window (the surface is created on the GPU process).
class DrmWindowHost : public PlatformWindow,
public PlatformEventDispatcher,
- public ChannelObserver {
+ public GpuThreadObserver {
public:
DrmWindowHost(PlatformWindowDelegate* delegate,
const gfx::Rect& bounds,
@@ -79,8 +79,8 @@ class DrmWindowHost : public PlatformWindow,
uint32_t DispatchEvent(const PlatformEvent& event) override;
// ChannelObserver:
- void OnChannelEstablished() override;
- void OnChannelDestroyed() override;
+ void OnGpuThreadReady() override;
+ void OnGpuThreadRetired() override;
private:
void SendBoundsChange();
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc ('k') | ui/ozone/platform/drm/host/drm_window_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698