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

Side by Side Diff: media/base/android/java/src/org/chromium/media/IAndroidOverlayProvider.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.media;
6
7 import org.chromium.media.IAndroidOverlayCallback;
8 import org.chromium.media.IAndroidOverlay;
9
10 // TODO(liberato): Add oneway here. Will probably have to provide another
11 // method on |callback| to receive the IAndroidOverlay. it can quietly create
12 // the wrapper at that point. any calls to layout, etc., will be ignored if
13 // they're made on an unpopulated android_overlay.cc, so one must wait for
14 // SURFACE_CREATED before using it. note that native createOverlay will return
15 // an unpopulated android_overlay.cc (i.e., no IAndroidOverlay, no wrapper
16 // for it).
17 interface IAndroidOverlayProvider {
18 /**
19 * Create an IAndroidOverlay with the given parameters.
20 *
21 * @param rendererPid pid of the renderer that will own this AndroidOverlay.
22 * @param renderFrameId render frame ID within rendererPid.
23 * @param callback object to receive callbacks about the surface.
24 * @param x Initial position in compositor (not screen) coordinates.
25 * @param y Initial position in compositor (not screen) coordinates.
26 * @param width Initial width in pixels.
27 * @param height Initial height in pixels.
28 */
29 IAndroidOverlay createOverlay(int rendererPid, int renderFrameId,
30 IAndroidOverlayCallback callback, int x, int y, int width, int heigh t);
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698