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

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

Issue 1967553002: DO NOT COMMIT - DialogSurface initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added check for gpu process for dialog surface manager. Created 4 years, 6 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/IDialogSurfaceController.aidl
diff --git a/media/base/android/java/src/org/chromium/media/IDialogSurfaceController.aidl b/media/base/android/java/src/org/chromium/media/IDialogSurfaceController.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..c9f5e92e1b52dd55c4bba65babef688fa8c0de94
--- /dev/null
+++ b/media/base/android/java/src/org/chromium/media/IDialogSurfaceController.aidl
@@ -0,0 +1,23 @@
+// 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;
+
+interface IDialogSurfaceController {
+ /**
+ * Close the surface and clean up. This SurfaceController can't be re-used
+ * after this, though additional calls to release() are okay.
+ */
+ void release();
+
+ /**
+ * Return the android Surface, if we have one.
+ */
+ Surface getSurface();
+
+ /**
+ * Schedule an asynchronous layout of the surface.
+ */
+ void scheduleLayoutSurface(int x, int y, int width, int height);
+}

Powered by Google App Engine
This is Rietveld 408576698