| 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_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 namespace IPC { | 47 namespace IPC { |
| 48 class ChannelMojoHost; | 48 class ChannelMojoHost; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace content { | 51 namespace content { |
| 52 class AudioInputRendererHost; | 52 class AudioInputRendererHost; |
| 53 class AudioRendererHost; | 53 class AudioRendererHost; |
| 54 class BluetoothDispatcherHost; | 54 class BluetoothDispatcherHost; |
| 55 class BrowserCdmManager; | 55 class BrowserCdmManager; |
| 56 class BrowserDemuxerAndroid; | 56 class BrowserDemuxerAndroid; |
| 57 class GpuMessageFilter; | |
| 58 class InProcessChildThreadParams; | 57 class InProcessChildThreadParams; |
| 59 class MessagePortMessageFilter; | 58 class MessagePortMessageFilter; |
| 60 class MojoApplicationHost; | 59 class MojoApplicationHost; |
| 61 class NotificationMessageFilter; | 60 class NotificationMessageFilter; |
| 62 #if defined(ENABLE_WEBRTC) | 61 #if defined(ENABLE_WEBRTC) |
| 63 class P2PSocketDispatcherHost; | 62 class P2PSocketDispatcherHost; |
| 64 #endif | 63 #endif |
| 65 class PermissionServiceContext; | 64 class PermissionServiceContext; |
| 66 class PeerConnectionTrackerHost; | 65 class PeerConnectionTrackerHost; |
| 67 class RendererMainThread; | 66 class RendererMainThread; |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 int32_t visible_widgets_; | 372 int32_t visible_widgets_; |
| 374 | 373 |
| 375 // Whether this process currently has backgrounded priority. Tracked so that | 374 // Whether this process currently has backgrounded priority. Tracked so that |
| 376 // UpdateProcessPriority() can avoid redundantly setting the priority. | 375 // UpdateProcessPriority() can avoid redundantly setting the priority. |
| 377 bool is_process_backgrounded_; | 376 bool is_process_backgrounded_; |
| 378 | 377 |
| 379 // Used to allow a RenderWidgetHost to intercept various messages on the | 378 // Used to allow a RenderWidgetHost to intercept various messages on the |
| 380 // IO thread. | 379 // IO thread. |
| 381 scoped_refptr<RenderWidgetHelper> widget_helper_; | 380 scoped_refptr<RenderWidgetHelper> widget_helper_; |
| 382 | 381 |
| 383 // The filter for GPU-related messages coming from the renderer. | |
| 384 // Thread safety note: this field is to be accessed from the UI thread. | |
| 385 // We don't keep a reference to it, to avoid it being destroyed on the UI | |
| 386 // thread, but we clear this field when we clear channel_. When channel_ goes | |
| 387 // away, it posts a task to the IO thread to destroy it there, so we know that | |
| 388 // it's valid if non-NULL. | |
| 389 GpuMessageFilter* gpu_message_filter_; | |
| 390 | |
| 391 // The filter for MessagePort messages coming from the renderer. | 382 // The filter for MessagePort messages coming from the renderer. |
| 392 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; | 383 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; |
| 393 | 384 |
| 394 // The filter for Web Notification messages coming from the renderer. Holds a | 385 // The filter for Web Notification messages coming from the renderer. Holds a |
| 395 // closure per notification that must be freed when the notification closes. | 386 // closure per notification that must be freed when the notification closes. |
| 396 scoped_refptr<NotificationMessageFilter> notification_message_filter_; | 387 scoped_refptr<NotificationMessageFilter> notification_message_filter_; |
| 397 | 388 |
| 398 // Used in single-process mode. | 389 // Used in single-process mode. |
| 399 scoped_ptr<base::Thread> in_process_renderer_; | 390 scoped_ptr<base::Thread> in_process_renderer_; |
| 400 | 391 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 521 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
| 531 | 522 |
| 532 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 523 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 533 | 524 |
| 534 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 525 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 535 }; | 526 }; |
| 536 | 527 |
| 537 } // namespace content | 528 } // namespace content |
| 538 | 529 |
| 539 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 530 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |