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

Unified Diff: media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl

Issue 2178973004: DialogSurfaceManager implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved jni out of content/app Created 4 years, 5 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: media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
diff --git a/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl b/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..e2ae7c8ed04371ece85f0a549d3912f3ad20d604
--- /dev/null
+++ b/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
@@ -0,0 +1,25 @@
+// 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.
+
+package org.chromium.media;
+
+import org.chromium.media.IDialogSurfaceCallback;
+import org.chromium.media.IDialogSurface;
+
+interface IDialogSurfaceManager {
+ /**
+ * Create a DialogSurface with the given parameters.
+ *
+ * @param pid
+ * @param frame_id
+ * (pid, frame_id) should be replaced by a single token that's obtained
+ * by the renderer.
+ * @param callback object to receive callbacks about the surface.
+ * @param x Initial position in compositor (not screen) coordinates.
+ * @param y Initial position in compositor (not screen) coordinates.
+ * @param width Initial width in pixels.
+ * @param height Initial height in pixels.
+ */
+ IDialogSurface createSurface(int pid, int frame_id, IDialogSurfaceCallback callback, int x, int y, int width, int height);
watk 2016/07/26 21:34:31 could you write rendererPid and renderFrameId to b
liberato (no reviews please) 2016/07/26 22:49:16 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698