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

Side by Side Diff: content/browser/android/child_process_launcher_android.h

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Fix link error Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 22 matching lines...) Expand all
33 const StartChildProcessCallback& callback); 33 const StartChildProcessCallback& callback);
34 34
35 // Stops a child process based on the handle returned form 35 // Stops a child process based on the handle returned form
36 // StartChildProcess. 36 // StartChildProcess.
37 void StopChildProcess(base::ProcessHandle handle); 37 void StopChildProcess(base::ProcessHandle handle);
38 38
39 bool IsChildProcessOomProtected(base::ProcessHandle handle); 39 bool IsChildProcessOomProtected(base::ProcessHandle handle);
40 40
41 void SetChildProcessInForeground(base::ProcessHandle handle, 41 void SetChildProcessInForeground(base::ProcessHandle handle,
42 bool in_foreground); 42 bool in_foreground);
43
44 void CreateSurfaceTextureSurface(int surface_texture_id,
45 int client_id,
46 gl::SurfaceTexture* surface_texture);
47
48 void DestroySurfaceTextureSurface(int surface_texture_id, int client_id);
49
50 gl::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id,
51 int client_id);
52
53 bool RegisterChildProcessLauncher(JNIEnv* env); 43 bool RegisterChildProcessLauncher(JNIEnv* env);
54 44
55 } // namespace content 45 } // namespace content
56 46
57 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 47 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/browser_surface_texture_manager.cc ('k') | content/browser/android/child_process_launcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698