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

Unified Diff: components/mus/surfaces/display_compositor_impl.cc

Issue 1989693002: Introduce DisplayCompositor Mojo API for Mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client_id Created 4 years, 7 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
« no previous file with comments | « components/mus/surfaces/display_compositor_impl.h ('k') | components/mus/surfaces/display_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/display_compositor_impl.cc
diff --git a/components/mus/surfaces/display_compositor_impl.cc b/components/mus/surfaces/display_compositor_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..72ecf00f9d752860b826f809d14cf51962793827
--- /dev/null
+++ b/components/mus/surfaces/display_compositor_impl.cc
@@ -0,0 +1,28 @@
+// Copyright 2016 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 "components/mus/surfaces/display_compositor_impl.h"
+
+#include "components/mus/surfaces/display_impl.h"
+
+namespace mus {
+namespace gpu {
+
+DisplayCompositorImpl::DisplayCompositorImpl(
+ mojo::InterfaceRequest<mojom::DisplayCompositor> request)
+ : binding_(this, std::move(request)) {}
+
+DisplayCompositorImpl::~DisplayCompositorImpl() {}
+
+void DisplayCompositorImpl::CreateDisplay(
+ int accelerated_widget,
+ mojo::InterfaceRequest<mojom::Display> display,
+ mojom::DisplayHostPtr host,
+ mojo::InterfaceRequest<mojom::CompositorFrameSink> sink,
+ mojom::CompositorFrameSinkClientPtr client) {
+ NOTIMPLEMENTED();
+}
+
+} // namespace gpu
+} // namespace mus
« no previous file with comments | « components/mus/surfaces/display_compositor_impl.h ('k') | components/mus/surfaces/display_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698