Chromium Code Reviews| 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); |
| +} |