| Index: ui/ozone/platform/dri/native_window_delegate_proxy.h
|
| diff --git a/ui/ozone/platform/dri/native_window_delegate_proxy.h b/ui/ozone/platform/dri/native_window_delegate_proxy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f5fb411cea4cd18da7de0583ccbc5905fa34221e
|
| --- /dev/null
|
| +++ b/ui/ozone/platform/dri/native_window_delegate_proxy.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_OZONE_PLATFORM_DRI_NATIVE_WINDOW_DELEGATE_PROXY_H_
|
| +#define UI_OZONE_PLATFORM_DRI_NATIVE_WINDOW_DELEGATE_PROXY_H_
|
| +
|
| +#include "ui/ozone/platform/dri/native_window_delegate.h"
|
| +
|
| +namespace ui {
|
| +
|
| +class NativeWindowManager;
|
| +class GpuPlatformSupportHostGbm;
|
| +
|
| +class NativeWindowDelegateProxy : public NativeWindowDelegate {
|
| + public:
|
| + NativeWindowDelegateProxy(NativeWindowManager* window_manager,
|
| + GpuPlatformSupportHostGbm* sender);
|
| + virtual ~NativeWindowDelegateProxy();
|
| +
|
| + // NativeWindowDelegate:
|
| + virtual gfx::AcceleratedWidget GetWidget() OVERRIDE;
|
| + virtual HardwareDisplayController* GetController() OVERRIDE;
|
| + virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
|
| +
|
| + private:
|
| + gfx::AcceleratedWidget widget_;
|
| + NativeWindowManager* window_manager_;
|
| + GpuPlatformSupportHostGbm* sender_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(NativeWindowDelegateProxy);
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_OZONE_PLATFORM_DRI_NATIVE_WINDOW_DELEGATE_PROXY_H_
|
|
|