| Index: ui/ozone/platform/dri/gbm_surface_factory.h
|
| diff --git a/ui/ozone/platform/dri/gbm_surface_factory.h b/ui/ozone/platform/dri/gbm_surface_factory.h
|
| index 0c83e17b87aeb7ecd64660808fcc6b5da53034c2..2b93e96086e72b57170425f91b94d7837d0be44f 100644
|
| --- a/ui/ozone/platform/dri/gbm_surface_factory.h
|
| +++ b/ui/ozone/platform/dri/gbm_surface_factory.h
|
| @@ -11,6 +11,9 @@ struct gbm_device;
|
|
|
| namespace ui {
|
|
|
| +class DriWindowDelegate;
|
| +class DriWindowManager;
|
| +
|
| class GbmSurfaceFactory : public DriSurfaceFactory {
|
| public:
|
| GbmSurfaceFactory(bool allow_surfaceless);
|
| @@ -18,7 +21,8 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
|
|
|
| void InitializeGpu(DriWrapper* dri,
|
| gbm_device* device,
|
| - ScreenManager* screen_manager);
|
| + ScreenManager* screen_manager,
|
| + DriWindowManager* window_manager);
|
|
|
| // DriSurfaceFactory:
|
| virtual intptr_t GetNativeDisplay() OVERRIDE;
|
| @@ -43,6 +47,8 @@ class GbmSurfaceFactory : public DriSurfaceFactory {
|
| virtual bool CanShowPrimaryPlaneAsOverlay() OVERRIDE;
|
|
|
| private:
|
| + DriWindowDelegate* GetOrCreateWindowDelegate(gfx::AcceleratedWidget widget);
|
| +
|
| gbm_device* device_; // Not owned.
|
| bool allow_surfaceless_;
|
|
|
|
|