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