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

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

Issue 2178973004: DialogSurfaceManager implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed IDialogSurfaceActivityMapper from common.aidl Created 4 years 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/IDialogSurfaceCallback.aidl
diff --git a/media/base/android/java/src/org/chromium/media/IDialogSurfaceCallback.aidl b/media/base/android/java/src/org/chromium/media/IDialogSurfaceCallback.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..e99bbbf3d65b29eeae5b81220820f2132ac3a810
--- /dev/null
+++ b/media/base/android/java/src/org/chromium/media/IDialogSurfaceCallback.aidl
@@ -0,0 +1,17 @@
+// 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;
+
+// Callback interface for the DialogSurface.
+interface IDialogSurfaceCallback {
+ // Notify the callback that an Android Surface has been created.
+ void onCreated(in Surface surface);
+
+ // Notify the client that the DialogSurface has been destroyed. This must
+ // synchronously quit using the Android surface before returning. The
+ // client must create a new DialogSurface, if desired. Any pending or
+ // future calls into IDialogSurface will be ignored.
+ void onDestroyed();
+}

Powered by Google App Engine
This is Rietveld 408576698