Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Unified Diff: chromecast/ozone/gpu_platform_support_chromecast.cc

Issue 1025453002: Implement common Ozone interface for Chromecast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698