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

Unified Diff: components/view_manager/public/interfaces/surfaces.mojom

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 4 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: components/view_manager/public/interfaces/surfaces.mojom
diff --git a/components/view_manager/public/interfaces/surfaces.mojom b/components/view_manager/public/interfaces/surfaces.mojom
deleted file mode 100644
index 2b5eae6b95530321591462867bd4350982f7aeda..0000000000000000000000000000000000000000
--- a/components/view_manager/public/interfaces/surfaces.mojom
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 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.
-
-module mojo;
-
-import "components/view_manager/public/interfaces/compositor_frame.mojom";
-
-interface Surface {
- // Request the id namespace for this connection. Fully qualified surface ids
- // are the combination of the id_namespace for the connection that created the
- // surface and the id_local component allocated by the caller.
- GetIdNamespace() => (uint32 id_namespace);
-
- // Sets a ResourceReturner that will receive unused resources.
- SetResourceReturner(ResourceReturner returner);
-
- // Creates a new surface with the given local identifier. Once a surface is
- // created the caller may submit frames to it or destroy it using the local
- // identifier. The caller can also produce a fully qualified surface id that
- // can be embedded in frames produces by different connections.
- CreateSurface(uint32 id_local);
-
- // After the submitted frame is drawn for the first time, the surface will
- // respond to the SubmitCompositorFrame message. Clients should use this
- // acknowledgement to ratelimit frame submissions.
- SubmitCompositorFrame(uint32 id_local, CompositorFrame frame) => ();
- DestroySurface(uint32 id_local);
-};

Powered by Google App Engine
This is Rietveld 408576698