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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 // The count of currently swapped out but pending RenderViews. We have | 277 // The count of currently swapped out but pending RenderViews. We have |
278 // started to swap these in, so the renderer process should not exit if | 278 // started to swap these in, so the renderer process should not exit if |
279 // this count is non-zero. | 279 // this count is non-zero. |
280 int32 pending_views_; | 280 int32 pending_views_; |
281 | 281 |
282 private: | 282 private: |
283 friend class VisitRelayingRenderProcessHost; | 283 friend class VisitRelayingRenderProcessHost; |
284 | 284 |
285 void MaybeActivateMojo(); | 285 void MaybeActivateMojo(); |
| 286 bool IsMojoChannelEnabled() const; |
| 287 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( |
| 288 const std::string& channel_id); |
286 | 289 |
287 // Creates and adds the IO thread message filters. | 290 // Creates and adds the IO thread message filters. |
288 void CreateMessageFilters(); | 291 void CreateMessageFilters(); |
289 | 292 |
290 // Control message handlers. | 293 // Control message handlers. |
291 void OnShutdownRequest(); | 294 void OnShutdownRequest(); |
292 void OnDumpHandlesDone(); | 295 void OnDumpHandlesDone(); |
293 void SuddenTerminationChanged(bool enabled); | 296 void SuddenTerminationChanged(bool enabled); |
294 void OnUserMetricsRecordAction(const std::string& action); | 297 void OnUserMetricsRecordAction(const std::string& action); |
295 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); | 298 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 #if defined(OS_MACOSX) | 464 #if defined(OS_MACOSX) |
462 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; | 465 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; |
463 #endif | 466 #endif |
464 | 467 |
465 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 468 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
466 }; | 469 }; |
467 | 470 |
468 } // namespace content | 471 } // namespace content |
469 | 472 |
470 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 473 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |