Index: media/base/android/java/src/org/chromium/media/IAndroidOverlay.aidl |
diff --git a/media/base/android/java/src/org/chromium/media/IAndroidOverlay.aidl b/media/base/android/java/src/org/chromium/media/IAndroidOverlay.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..367cc39fc6180f8edaf753654ca056d470af33db |
--- /dev/null |
+++ b/media/base/android/java/src/org/chromium/media/IAndroidOverlay.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; |
+ |
+oneway interface IAndroidOverlay { |
+ /** |
+ * Close the surface and clean up. This AndroidOverlay can't be re-used |
+ * after this, though additional calls to release() are okay. |
+ */ |
+ void release(); |
+ |
+ /** |
+ * Schedule an asynchronous layout of the surface. This will be ignored |
+ * if the client has not received an onCreated callback yet. |
+ */ |
+ void scheduleLayoutSurface(int x, int y, int width, int height); |
+} |