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 #include "ui/ozone/platform/drm/gpu/drm_thread_message_proxy.h" | 5 #include "ui/ozone/platform/drm/gpu/drm_thread_message_proxy.h" |
6 | 6 |
7 #include "base/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
8 #include "ipc/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
9 #include "ipc/ipc_sender.h" | 9 #include "ipc/ipc_sender.h" |
10 #include "ui/ozone/common/gpu/ozone_gpu_messages.h" | 10 #include "ui/ozone/common/gpu/ozone_gpu_messages.h" |
11 #include "ui/ozone/platform/drm/gpu/drm_thread_proxy.h" | 11 #include "ui/ozone/platform/drm/gpu/drm_thread_proxy.h" |
12 #include "ui/ozone/platform/drm/gpu/proxy_helpers.h" | 12 #include "ui/ozone/platform/drm/gpu/proxy_helpers.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 DrmThreadMessageProxy::DrmThreadMessageProxy() : weak_ptr_factory_(this) {} | 16 DrmThreadMessageProxy::DrmThreadMessageProxy() : weak_ptr_factory_(this) {} |
17 | 17 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 HDCPState state) const { | 260 HDCPState state) const { |
261 sender_->Send(new OzoneHostMsg_HDCPStateReceived(display_id, success, state)); | 261 sender_->Send(new OzoneHostMsg_HDCPStateReceived(display_id, success, state)); |
262 } | 262 } |
263 | 263 |
264 void DrmThreadMessageProxy::OnSetHDCPStateCallback(int64_t display_id, | 264 void DrmThreadMessageProxy::OnSetHDCPStateCallback(int64_t display_id, |
265 bool success) const { | 265 bool success) const { |
266 sender_->Send(new OzoneHostMsg_HDCPStateUpdated(display_id, success)); | 266 sender_->Send(new OzoneHostMsg_HDCPStateUpdated(display_id, success)); |
267 } | 267 } |
268 | 268 |
269 } // namespace ui | 269 } // namespace ui |
OLD | NEW |