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 "chromecast/ozone/gpu_platform_support_cast.h" | 5 #include "ui/ozone/platform/cast/gpu_platform_support_cast.h" |
6 | 6 |
7 #include "chromecast/ozone/surface_factory_cast.h" | 7 #include "ui/ozone/platform/cast/surface_factory_cast.h" |
8 | 8 |
9 namespace chromecast { | 9 namespace ui { |
10 namespace ozone { | |
11 | 10 |
12 bool GpuPlatformSupportCast::OnMessageReceived(const IPC::Message& msg) { | 11 bool GpuPlatformSupportCast::OnMessageReceived(const IPC::Message& msg) { |
13 return false; | 12 return false; |
14 } | 13 } |
15 | 14 |
16 void GpuPlatformSupportCast::RelinquishGpuResources( | 15 void GpuPlatformSupportCast::RelinquishGpuResources( |
17 const base::Closure& callback) { | 16 const base::Closure& callback) { |
18 parent_->SetToRelinquishDisplay(callback); | 17 parent_->SetToRelinquishDisplay(callback); |
19 } | 18 } |
20 | 19 |
21 IPC::MessageFilter* GpuPlatformSupportCast::GetMessageFilter() { | 20 IPC::MessageFilter* GpuPlatformSupportCast::GetMessageFilter() { |
22 return nullptr; | 21 return nullptr; |
23 } | 22 } |
24 | 23 |
25 } // namespace ozone | 24 } // namespace ui |
26 } // namespace chromecast | |
OLD | NEW |