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

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

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 (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
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_
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