OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 bool IsChildProcessOomProtected(base::ProcessHandle handle); | 42 bool IsChildProcessOomProtected(base::ProcessHandle handle); |
43 | 43 |
44 void SetChildProcessInForeground(base::ProcessHandle handle, | 44 void SetChildProcessInForeground(base::ProcessHandle handle, |
45 bool in_foreground); | 45 bool in_foreground); |
46 | 46 |
47 void RegisterViewSurface(int surface_id, jobject j_surface); | 47 void RegisterViewSurface(int surface_id, jobject j_surface); |
48 | 48 |
49 void UnregisterViewSurface(int surface_id); | 49 void UnregisterViewSurface(int surface_id); |
50 | 50 |
51 gfx::ScopedJavaSurface GetViewSurface(int surface_id); | 51 gl::ScopedJavaSurface GetViewSurface(int surface_id); |
52 | 52 |
53 void CreateSurfaceTextureSurface(int surface_texture_id, | 53 void CreateSurfaceTextureSurface(int surface_texture_id, |
54 int client_id, | 54 int client_id, |
55 gfx::SurfaceTexture* surface_texture); | 55 gl::SurfaceTexture* surface_texture); |
56 | 56 |
57 void DestroySurfaceTextureSurface(int surface_texture_id, int client_id); | 57 void DestroySurfaceTextureSurface(int surface_texture_id, int client_id); |
58 | 58 |
59 gfx::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id, | 59 gl::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id, |
60 int client_id); | 60 int client_id); |
61 | 61 |
62 bool RegisterChildProcessLauncher(JNIEnv* env); | 62 bool RegisterChildProcessLauncher(JNIEnv* env); |
63 | 63 |
64 } // namespace content | 64 } // namespace content |
65 | 65 |
66 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ | 66 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ |
OLD | NEW |