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

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

Issue 2178973004: DialogSurfaceManager implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 3 years, 10 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/IAndroidOverlayCallback.aidl
diff --git a/media/base/android/java/src/org/chromium/media/IAndroidOverlayCallback.aidl b/media/base/android/java/src/org/chromium/media/IAndroidOverlayCallback.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..c034cbb619209a752f5cc865aef5bde9c9d4763b
--- /dev/null
+++ b/media/base/android/java/src/org/chromium/media/IAndroidOverlayCallback.aidl
@@ -0,0 +1,19 @@
+// 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 an IAndroidOverlay.
+oneway interface IAndroidOverlayCallback {
+ // Notify the callback that an Android Surface has been created.
+ void onCreated(in Surface surface);
+
+ // Notify the client that the Androi Surface has been destroyed. The client
boliu 2017/02/08 00:01:59 android typo
+ // must create a new AndroidOverlay, if desired. Any pending or future
+ // calls into IAndroidOverlay will be ignored.
+ // If |completion| is provided, then we should signal that when destroy
+ // processing is complete. When it is signalled, the client should not be
+ // using the surface anymore.
+ void onDestroyed(in IAndroidOverlayCompletion completion);
+}

Powered by Google App Engine
This is Rietveld 408576698