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

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

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary include from gpu_command_buffer_stub Created 4 years, 10 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
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool OnMessageReceived(const IPC::Message& message) override; 172 bool OnMessageReceived(const IPC::Message& message) override;
173 void OnChannelConnected(int32_t peer_pid) override; 173 void OnChannelConnected(int32_t peer_pid) override;
174 void OnProcessLaunched() override; 174 void OnProcessLaunched() override;
175 void OnProcessLaunchFailed() override; 175 void OnProcessLaunchFailed() override;
176 void OnProcessCrashed(int exit_code) override; 176 void OnProcessCrashed(int exit_code) override;
177 177
178 // Message handlers. 178 // Message handlers.
179 void OnInitialized(bool result, const gpu::GPUInfo& gpu_info); 179 void OnInitialized(bool result, const gpu::GPUInfo& gpu_info);
180 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle); 180 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle);
181 void OnGpuMemoryBufferCreated(const gfx::GpuMemoryBufferHandle& handle); 181 void OnGpuMemoryBufferCreated(const gfx::GpuMemoryBufferHandle& handle);
182 void OnDidCreateOffscreenContext(const GURL& url); 182 void OnDidCreateOffscreenContext(const std::string& url);
183 void OnDidLoseContext(bool offscreen, 183 void OnDidLoseContext(bool offscreen,
184 gpu::error::ContextLostReason reason, 184 gpu::error::ContextLostReason reason,
185 const GURL& url); 185 const std::string& url);
186 void OnDidDestroyOffscreenContext(const GURL& url); 186 void OnDidDestroyOffscreenContext(const std::string& url);
187 void OnGpuMemoryUmaStatsReceived(const GPUMemoryUmaStats& stats); 187 void OnGpuMemoryUmaStatsReceived(const GPUMemoryUmaStats& stats);
188 #if defined(OS_MACOSX) 188 #if defined(OS_MACOSX)
189 void OnAcceleratedSurfaceBuffersSwapped(const IPC::Message& message); 189 void OnAcceleratedSurfaceBuffersSwapped(const IPC::Message& message);
190 #endif 190 #endif
191 191
192 #if defined(OS_WIN) 192 #if defined(OS_WIN)
193 void OnAcceleratedSurfaceCreatedChildWindow( 193 void OnAcceleratedSurfaceCreatedChildWindow(
194 const gfx::PluginWindowHandle& parent_handle, 194 const gfx::PluginWindowHandle& parent_handle,
195 const gfx::PluginWindowHandle& window_handle); 195 const gfx::PluginWindowHandle& window_handle);
196 #endif 196 #endif
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Browser-side Mojo endpoint which sets up a Mojo channel with the child 284 // Browser-side Mojo endpoint which sets up a Mojo channel with the child
285 // process and contains the browser's ServiceRegistry. 285 // process and contains the browser's ServiceRegistry.
286 scoped_ptr<MojoApplicationHost> mojo_application_host_; 286 scoped_ptr<MojoApplicationHost> mojo_application_host_;
287 287
288 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 288 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
289 }; 289 };
290 290
291 } // namespace content 291 } // namespace content
292 292
293 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 293 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698