OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "android_webview/gpu/aw_content_gpu_client.h" | 5 #include "android_webview/gpu/aw_content_gpu_client.h" |
6 | 6 |
7 namespace android_webview { | 7 namespace android_webview { |
8 | 8 |
9 AwContentGpuClient::AwContentGpuClient( | 9 AwContentGpuClient::AwContentGpuClient( |
10 const GetSyncPointManagerCallback& callback) | 10 const GetSyncPointManagerCallback& callback) |
11 : sync_point_manager_callback_(callback) {} | 11 : sync_point_manager_callback_(callback) {} |
12 | 12 |
13 AwContentGpuClient::~AwContentGpuClient() {} | 13 AwContentGpuClient::~AwContentGpuClient() {} |
14 | 14 |
15 void AwContentGpuClient::RegisterMojoServices( | 15 void AwContentGpuClient::RegisterMojoInterfaces( |
16 content::ServiceRegistry* registry) {} | 16 shell::InterfaceRegistry* registry) {} |
17 | 17 |
18 gpu::SyncPointManager* AwContentGpuClient::GetSyncPointManager() { | 18 gpu::SyncPointManager* AwContentGpuClient::GetSyncPointManager() { |
19 return sync_point_manager_callback_.Run(); | 19 return sync_point_manager_callback_.Run(); |
20 } | 20 } |
21 | 21 |
22 } // namespace android_webview | 22 } // namespace android_webview |
OLD | NEW |