Index: media/base/android/java/src/org/chromium/media/IDialogSurface.aidl |
diff --git a/media/base/android/java/src/org/chromium/media/IDialogSurface.aidl b/media/base/android/java/src/org/chromium/media/IDialogSurface.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..785b95b2cab3b99b69e5206eb15c7e7c9cce607e |
--- /dev/null |
+++ b/media/base/android/java/src/org/chromium/media/IDialogSurface.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 IDialogSurface { |
+ /** |
+ * Close the surface and clean up. This DialogSurface 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); |
+} |