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

Side by Side Diff: content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl

Issue 2285593002: Add ScopedSurfaceRequestManager (Closed)
Patch Set: Fixing comments. Created 4 years, 3 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.common; 5 package org.chromium.content.common;
6 6
7 import org.chromium.content.common.SurfaceWrapper; 7 import org.chromium.content.common.SurfaceWrapper;
8 import android.view.Surface; 8 import android.view.Surface;
9 9
10 interface IChildProcessCallback { 10 interface IChildProcessCallback {
11 11
12 // Conduit to pass a Surface from the sandboxed renderer to the plugin. 12 // Conduit to pass a Surface from the sandboxed renderer to the plugin.
13 void establishSurfacePeer( 13 void establishSurfacePeer(
14 int pid, in Surface surface, int primaryID, int secondaryID); 14 int pid, in Surface surface, int primaryID, int secondaryID);
15 15
16 void forwardSurfaceForSurfaceRequest(
17 String request_token, in Surface surface);
18
16 SurfaceWrapper getViewSurface(int surfaceId); 19 SurfaceWrapper getViewSurface(int surfaceId);
17 20
18 void registerSurfaceTextureSurface( 21 void registerSurfaceTextureSurface(
19 int surfaceTextureId, int clientId, in Surface surface); 22 int surfaceTextureId, int clientId, in Surface surface);
20 23
21 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId); 24 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId);
22 25
23 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId); 26 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId);
24 27
25 // Callback to inform native that the download service has accepted or 28 // Callback to inform native that the download service has accepted or
26 // rejected the download. 29 // rejected the download.
27 void onDownloadStarted(boolean started, int downloadId); 30 void onDownloadStarted(boolean started, int downloadId);
28 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698