| Index: ui/ozone/platform/dri/gpu_platform_support_gbm.h
|
| diff --git a/ui/ozone/platform/dri/gpu_platform_support_gbm.h b/ui/ozone/platform/dri/gpu_platform_support_gbm.h
|
| index ce547e400cced14799854f2889fefed5fe9791ec..c9b6b0b33437b9154be036bbd2f93d2dbe107df5 100644
|
| --- a/ui/ozone/platform/dri/gpu_platform_support_gbm.h
|
| +++ b/ui/ozone/platform/dri/gpu_platform_support_gbm.h
|
| @@ -14,15 +14,20 @@ class SkBitmap;
|
|
|
| namespace gfx {
|
| class Point;
|
| +class Rect;
|
| }
|
|
|
| namespace ui {
|
|
|
| class DriSurfaceFactory;
|
| +class NativeWindowManager;
|
| +class ScreenManager;
|
|
|
| class GpuPlatformSupportGbm : public GpuPlatformSupport {
|
| public:
|
| - GpuPlatformSupportGbm(DriSurfaceFactory* dri);
|
| + GpuPlatformSupportGbm(DriSurfaceFactory* dri,
|
| + NativeWindowManager* window_manager,
|
| + ScreenManager* screen_manager);
|
| virtual ~GpuPlatformSupportGbm();
|
|
|
| void AddHandler(scoped_ptr<GpuPlatformSupport> handler);
|
| @@ -36,12 +41,18 @@ class GpuPlatformSupportGbm : public GpuPlatformSupport {
|
| private:
|
| IPC::Sender* sender_;
|
|
|
| + void OnCreateNativeWindowDelegate(gfx::AcceleratedWidget widget);
|
| + void OnDestoryNativeWindowDelegate(gfx::AcceleratedWidget widget);
|
| + void OnNativeWindowBoundsChanged(
|
| + gfx::AcceleratedWidget widget, const gfx::Rect& bounds);
|
| void OnCursorSet(gfx::AcceleratedWidget widget,
|
| const SkBitmap& bitmap,
|
| const gfx::Point& location);
|
| void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location);
|
|
|
| DriSurfaceFactory* dri_;
|
| + NativeWindowManager* window_manager_;
|
| + ScreenManager* screen_manager_;
|
| ScopedVector<GpuPlatformSupport> handlers_;
|
| };
|
|
|
|
|