| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ |
| 6 #define UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ | 6 #define UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ |
| 7 | 7 |
| 8 #include "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // IPC::Listener: | 40 // IPC::Listener: |
| 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget); | 44 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget); |
| 45 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget); | 45 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget); |
| 46 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, | 46 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, |
| 47 const gfx::Rect& bounds); | 47 const gfx::Rect& bounds); |
| 48 void OnCursorSet(gfx::AcceleratedWidget widget, | 48 void OnCursorSet(gfx::AcceleratedWidget widget, |
| 49 const SkBitmap& bitmap, | 49 const std::vector<SkBitmap>& bitmaps, |
| 50 const gfx::Point& location); | 50 const gfx::Point& location, |
| 51 int frame_delay_ms); |
| 51 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); | 52 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); |
| 52 | 53 |
| 53 IPC::Sender* sender_; | 54 IPC::Sender* sender_; |
| 54 DriSurfaceFactory* dri_; | 55 DriSurfaceFactory* dri_; |
| 55 DriWindowManager* window_manager_; | 56 DriWindowManager* window_manager_; |
| 56 ScreenManager* screen_manager_; | 57 ScreenManager* screen_manager_; |
| 57 ScopedVector<GpuPlatformSupport> handlers_; | 58 ScopedVector<GpuPlatformSupport> handlers_; |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace ui | 61 } // namespace ui |
| 61 | 62 |
| 62 #endif // UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ | 63 #endif // UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ |
| OLD | NEW |