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

Side by Side Diff: content/browser/gpu/gpu_process_host.h

Issue 2034933002: Make field trials activated in the GPU process be reflected in browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU 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_GPU_GPU_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 void OnGpuMemoryBufferCreated(const gfx::GpuMemoryBufferHandle& handle); 194 void OnGpuMemoryBufferCreated(const gfx::GpuMemoryBufferHandle& handle);
195 #if defined(OS_ANDROID) 195 #if defined(OS_ANDROID)
196 void OnDestroyingVideoSurfaceAck(int surface_id); 196 void OnDestroyingVideoSurfaceAck(int surface_id);
197 #endif 197 #endif
198 void OnDidCreateOffscreenContext(const GURL& url); 198 void OnDidCreateOffscreenContext(const GURL& url);
199 void OnDidLoseContext(bool offscreen, 199 void OnDidLoseContext(bool offscreen,
200 gpu::error::ContextLostReason reason, 200 gpu::error::ContextLostReason reason,
201 const GURL& url); 201 const GURL& url);
202 void OnDidDestroyOffscreenContext(const GURL& url); 202 void OnDidDestroyOffscreenContext(const GURL& url);
203 void OnGpuMemoryUmaStatsReceived(const gpu::GPUMemoryUmaStats& stats); 203 void OnGpuMemoryUmaStatsReceived(const gpu::GPUMemoryUmaStats& stats);
204 void OnFieldTrialActivated(const std::string& trial_name);
204 205
205 #if defined(OS_WIN) 206 #if defined(OS_WIN)
206 void OnAcceleratedSurfaceCreatedChildWindow( 207 void OnAcceleratedSurfaceCreatedChildWindow(
207 gpu::SurfaceHandle parent_handle, 208 gpu::SurfaceHandle parent_handle,
208 gpu::SurfaceHandle window_handle); 209 gpu::SurfaceHandle window_handle);
209 #endif 210 #endif
210 211
211 void CreateChannelCache(int32_t client_id); 212 void CreateChannelCache(int32_t client_id);
212 void OnDestroyChannel(int32_t client_id); 213 void OnDestroyChannel(int32_t client_id);
213 void OnCacheShader(int32_t client_id, 214 void OnCacheShader(int32_t client_id,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Browser-side Mojo endpoint which sets up a Mojo channel with the child 302 // Browser-side Mojo endpoint which sets up a Mojo channel with the child
302 // process and contains the browser's ServiceRegistry. 303 // process and contains the browser's ServiceRegistry.
303 std::unique_ptr<MojoApplicationHost> mojo_application_host_; 304 std::unique_ptr<MojoApplicationHost> mojo_application_host_;
304 305
305 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 306 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
306 }; 307 };
307 308
308 } // namespace content 309 } // namespace content
309 310
310 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 311 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_thread_observer.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698