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

Side by Side Diff: trunk/src/content/browser/renderer_host/render_process_host_impl.h

Issue 202683004: Revert 257505 "Adds the ability for the renderer to create the m..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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_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 22 matching lines...) Expand all
33 namespace gfx { 33 namespace gfx {
34 class Size; 34 class Size;
35 } 35 }
36 36
37 namespace content { 37 namespace content {
38 class AudioRendererHost; 38 class AudioRendererHost;
39 class BrowserDemuxerAndroid; 39 class BrowserDemuxerAndroid;
40 class GeolocationDispatcherHost; 40 class GeolocationDispatcherHost;
41 class GpuMessageFilter; 41 class GpuMessageFilter;
42 class MessagePortMessageFilter; 42 class MessagePortMessageFilter;
43 class MojoChannelInit;
44 class PeerConnectionTrackerHost; 43 class PeerConnectionTrackerHost;
45 class RendererMainThread; 44 class RendererMainThread;
46 class RenderWidgetHelper; 45 class RenderWidgetHelper;
47 class RenderWidgetHost; 46 class RenderWidgetHost;
48 class RenderWidgetHostImpl; 47 class RenderWidgetHostImpl;
49 class RenderWidgetHostViewFrameSubscriber; 48 class RenderWidgetHostViewFrameSubscriber;
50 class ScreenOrientationDispatcherHost; 49 class ScreenOrientationDispatcherHost;
51 class StoragePartition; 50 class StoragePartition;
52 class StoragePartitionImpl; 51 class StoragePartitionImpl;
53 52
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 void ProcessDied(bool already_dead); 289 void ProcessDied(bool already_dead);
291 290
292 virtual void OnGpuSwitching() OVERRIDE; 291 virtual void OnGpuSwitching() OVERRIDE;
293 292
294 #if defined(ENABLE_WEBRTC) 293 #if defined(ENABLE_WEBRTC)
295 // Sends |file_for_transit| to the render process. 294 // Sends |file_for_transit| to the render process.
296 void SendAecDumpFileToRenderer(IPC::PlatformFileForTransit file_for_transit); 295 void SendAecDumpFileToRenderer(IPC::PlatformFileForTransit file_for_transit);
297 void SendDisableAecDumpToRenderer(); 296 void SendDisableAecDumpToRenderer();
298 #endif 297 #endif
299 298
300 // Establishes the mojo channel to the renderer.
301 void CreateMojoChannel();
302
303 // The registered IPC listener objects. When this list is empty, we should 299 // The registered IPC listener objects. When this list is empty, we should
304 // delete ourselves. 300 // delete ourselves.
305 IDMap<IPC::Listener> listeners_; 301 IDMap<IPC::Listener> listeners_;
306 302
307 // The count of currently visible widgets. Since the host can be a container 303 // The count of currently visible widgets. Since the host can be a container
308 // for multiple widgets, it uses this count to determine when it should be 304 // for multiple widgets, it uses this count to determine when it should be
309 // backgrounded. 305 // backgrounded.
310 int32 visible_widgets_; 306 int32 visible_widgets_;
311 307
312 // Does this process have backgrounded priority. 308 // Does this process have backgrounded priority.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; 410 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_;
415 #endif 411 #endif
416 412
417 // Message filter for geolocation messages. 413 // Message filter for geolocation messages.
418 GeolocationDispatcherHost* geolocation_dispatcher_host_; 414 GeolocationDispatcherHost* geolocation_dispatcher_host_;
419 415
420 #if defined(ENABLE_WEBRTC) 416 #if defined(ENABLE_WEBRTC)
421 base::Callback<void(const std::string&)> webrtc_log_message_callback_; 417 base::Callback<void(const std::string&)> webrtc_log_message_callback_;
422 #endif 418 #endif
423 419
420 // Lives on the browser's ChildThread.
421 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
422
424 // Message filter and dispatcher for screen orientation. 423 // Message filter and dispatcher for screen orientation.
425 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; 424 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
426 425
427 int worker_ref_count_; 426 int worker_ref_count_;
428 427
429 // TODO(sky): remove ifdef, temporary until mac sorted out.
430 #if !defined(OS_MACOSX)
431 scoped_ptr<MojoChannelInit> mojo_channel_init_;
432 #endif
433
434 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
435
436 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 428 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
437 }; 429 };
438 430
439 } // namespace content 431 } // namespace content
440 432
441 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 433 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « trunk/src/content/DEPS ('k') | trunk/src/content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698