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

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

Issue 1967553002: DO NOT COMMIT - DialogSurface initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added check for gpu process for dialog surface manager. Created 4 years, 6 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 org.chromium.media.IDialogSurfaceManager;
watk 2016/06/10 21:46:38 delete
liberato (no reviews please) 2016/06/10 22:50:05 Done.
8 import android.view.Surface; 9 import android.view.Surface;
9 10
10 interface IChildProcessCallback { 11 interface IChildProcessCallback {
11 12
12 // Conduit to pass a Surface from the sandboxed renderer to the plugin. 13 // Conduit to pass a Surface from the sandboxed renderer to the plugin.
13 void establishSurfacePeer( 14 void establishSurfacePeer(
14 int pid, in Surface surface, int primaryID, int secondaryID); 15 int pid, in Surface surface, int primaryID, int secondaryID);
15 16
16 SurfaceWrapper getViewSurface(int surfaceId); 17 SurfaceWrapper getViewSurface(int surfaceId);
17 18
18 void registerSurfaceTextureSurface( 19 void registerSurfaceTextureSurface(
19 int surfaceTextureId, int clientId, in Surface surface); 20 int surfaceTextureId, int clientId, in Surface surface);
20 21
21 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId); 22 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId);
22 23
23 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId); 24 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId);
24 25
26 // Return the DialogSurfaceManager instance.
27 IBinder getDialogSurfaceManager();
28
25 // Callback to inform native that the download service has accepted or 29 // Callback to inform native that the download service has accepted or
26 // rejected the download. 30 // rejected the download.
27 void onDownloadStarted(boolean started, int downloadId); 31 void onDownloadStarted(boolean started, int downloadId);
28 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698