| 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_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 199 |
| 200 // Creates and adds the IO thread message filters. | 200 // Creates and adds the IO thread message filters. |
| 201 void CreateMessageFilters(); | 201 void CreateMessageFilters(); |
| 202 | 202 |
| 203 // Control message handlers. | 203 // Control message handlers. |
| 204 void OnShutdownRequest(); | 204 void OnShutdownRequest(); |
| 205 void OnDumpHandlesDone(); | 205 void OnDumpHandlesDone(); |
| 206 void SuddenTerminationChanged(bool enabled); | 206 void SuddenTerminationChanged(bool enabled); |
| 207 void OnUserMetricsRecordAction(const std::string& action); | 207 void OnUserMetricsRecordAction(const std::string& action); |
| 208 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); | 208 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); |
| 209 void OnRedirectUrlToApp(const std::string& app_id, |
| 210 const std::string& handler_id, |
| 211 const GURL& url, |
| 212 const GURL& referrer_url); |
| 209 | 213 |
| 210 // CompositorSurfaceBuffersSwapped handler when there's no RWH. | 214 // CompositorSurfaceBuffersSwapped handler when there's no RWH. |
| 211 void OnCompositorSurfaceBuffersSwappedNoHost(int32 surface_id, | 215 void OnCompositorSurfaceBuffersSwappedNoHost(int32 surface_id, |
| 212 uint64 surface_handle, | 216 uint64 surface_handle, |
| 213 int32 route_id, | 217 int32 route_id, |
| 214 const gfx::Size& size, | 218 const gfx::Size& size, |
| 215 int32 gpu_process_host_id); | 219 int32 gpu_process_host_id); |
| 216 | 220 |
| 217 // Generates a command line to be used to spawn a renderer and appends the | 221 // Generates a command line to be used to spawn a renderer and appends the |
| 218 // results to |*command_line|. | 222 // results to |*command_line|. |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // Forwards messages between WebRTCInternals in the browser process | 328 // Forwards messages between WebRTCInternals in the browser process |
| 325 // and PeerConnectionTracker in the renderer process. | 329 // and PeerConnectionTracker in the renderer process. |
| 326 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; | 330 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; |
| 327 | 331 |
| 328 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 332 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 329 }; | 333 }; |
| 330 | 334 |
| 331 } // namespace content | 335 } // namespace content |
| 332 | 336 |
| 333 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 337 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |