OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ipc/message_filter.h" | 9 #include "ipc/message_filter.h" |
10 #include "ui/display/types/display_constants.h" | 10 #include "ui/display/types/display_constants.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 void OnDestroyWindow(gfx::AcceleratedWidget widget); | 43 void OnDestroyWindow(gfx::AcceleratedWidget widget); |
44 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, | 44 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, |
45 const gfx::Rect& bounds); | 45 const gfx::Rect& bounds); |
46 void OnCursorSet(gfx::AcceleratedWidget widget, | 46 void OnCursorSet(gfx::AcceleratedWidget widget, |
47 const std::vector<SkBitmap>& bitmaps, | 47 const std::vector<SkBitmap>& bitmaps, |
48 const gfx::Point& location, | 48 const gfx::Point& location, |
49 int frame_delay_ms); | 49 int frame_delay_ms); |
50 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); | 50 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); |
51 void OnCheckOverlayCapabilities( | 51 void OnCheckOverlayCapabilities( |
52 gfx::AcceleratedWidget widget, | 52 gfx::AcceleratedWidget widget, |
53 const std::vector<OverlayCheck_Params>& overlays); | 53 const std::vector<OverlayCheck_Params>& current_combination, |
| 54 const std::vector<OverlayCheck_Params>& new_combination); |
54 | 55 |
55 // Display related IPC handlers. | 56 // Display related IPC handlers. |
56 void OnRefreshNativeDisplays(); | 57 void OnRefreshNativeDisplays(); |
57 void OnConfigureNativeDisplay(int64_t id, | 58 void OnConfigureNativeDisplay(int64_t id, |
58 const DisplayMode_Params& mode, | 59 const DisplayMode_Params& mode, |
59 const gfx::Point& origin); | 60 const gfx::Point& origin); |
60 void OnDisableNativeDisplay(int64_t id); | 61 void OnDisableNativeDisplay(int64_t id); |
61 void OnTakeDisplayControl(); | 62 void OnTakeDisplayControl(); |
62 void OnRelinquishDisplayControl(); | 63 void OnRelinquishDisplayControl(); |
63 void OnAddGraphicsDevice(const base::FilePath& path, | 64 void OnAddGraphicsDevice(const base::FilePath& path, |
(...skipping 22 matching lines...) Expand all Loading... |
86 IPC::Sender* sender_ = nullptr; | 87 IPC::Sender* sender_ = nullptr; |
87 | 88 |
88 base::WeakPtrFactory<DrmThreadMessageProxy> weak_ptr_factory_; | 89 base::WeakPtrFactory<DrmThreadMessageProxy> weak_ptr_factory_; |
89 | 90 |
90 DISALLOW_COPY_AND_ASSIGN(DrmThreadMessageProxy); | 91 DISALLOW_COPY_AND_ASSIGN(DrmThreadMessageProxy); |
91 }; | 92 }; |
92 | 93 |
93 } // namespace ui | 94 } // namespace ui |
94 | 95 |
95 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ | 96 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ |
OLD | NEW |