Index: ui/ozone/platform/dri/dri_window_delegate_proxy.h |
diff --git a/ui/ozone/platform/dri/dri_window_delegate_proxy.h b/ui/ozone/platform/dri/dri_window_delegate_proxy.h |
index 9e0b1068b6c1c4acbbed44770f5bc7cfb1a61ce6..9ed90951df1c9738d4d71afbc7c2c8cc53d0d355 100644 |
--- a/ui/ozone/platform/dri/dri_window_delegate_proxy.h |
+++ b/ui/ozone/platform/dri/dri_window_delegate_proxy.h |
@@ -5,8 +5,6 @@ |
#ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_PROXY_H_ |
#define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_DELEGATE_PROXY_H_ |
-#include "ui/gfx/geometry/rect.h" |
-#include "ui/ozone/platform/dri/channel_observer.h" |
#include "ui/ozone/platform/dri/dri_window_delegate.h" |
namespace ui { |
@@ -15,8 +13,7 @@ |
// This is used when running with a GPU process (or with the in-process GPU) to |
// IPC the native window configuration from the browser to the GPU. |
-class DriWindowDelegateProxy : public DriWindowDelegate, |
- public ChannelObserver { |
+class DriWindowDelegateProxy : public DriWindowDelegate { |
public: |
DriWindowDelegateProxy(gfx::AcceleratedWidget widget, |
GpuPlatformSupportHostGbm* sender); |
@@ -29,16 +26,9 @@ |
virtual HardwareDisplayController* GetController() OVERRIDE; |
virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE; |
- // ChannelObserver: |
- virtual void OnChannelEstablished() OVERRIDE; |
- virtual void OnChannelDestroyed() OVERRIDE; |
- |
private: |
gfx::AcceleratedWidget widget_; |
GpuPlatformSupportHostGbm* sender_; |
- gfx::Rect bounds_; |
- // Tracks if the connection is established or not. |
- bool has_connection_; |
DISALLOW_COPY_AND_ASSIGN(DriWindowDelegateProxy); |
}; |