Index: chromecast/ozone/gpu_platform_support_chromecast.cc |
diff --git a/chromecast/ozone/gpu_platform_support_chromecast.cc b/chromecast/ozone/gpu_platform_support_chromecast.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2622be783199d115f513adb9b9ee82014e40e91 |
--- /dev/null |
+++ b/chromecast/ozone/gpu_platform_support_chromecast.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+#include "chromecast/ozone/gpu_platform_support_chromecast.h" |
+ |
+#include "chromecast/ozone/surface_factory_chromecast.h" |
+ |
+namespace chromecast { |
+namespace ozone { |
+ |
+bool GpuPlatformSupportChromecast::OnMessageReceived(const IPC::Message& msg) { |
+ return false; |
+} |
+ |
+void GpuPlatformSupportChromecast::RelinquishGpuResources( |
+ const base::Closure& callback) { |
+ parent_->SetToRelinquishDisplay(callback); |
+} |
+ |
+IPC::MessageFilter* GpuPlatformSupportChromecast::GetMessageFilter() { |
+ return nullptr; |
+} |
+ |
+} // namespace ozone |
+} // namespace chromecast |