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