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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2351333002: Move ViewHostMsg_GenerateRoutingID to mojom (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "base/strings/string16.h" 21 #include "base/strings/string16.h"
22 #include "base/threading/thread_checker.h" 22 #include "base/threading/thread_checker.h"
23 #include "base/timer/timer.h" 23 #include "base/timer/timer.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "content/child/child_thread_impl.h" 25 #include "content/child/child_thread_impl.h"
26 #include "content/child/memory/child_memory_coordinator_impl.h" 26 #include "content/child/memory/child_memory_coordinator_impl.h"
27 #include "content/common/content_export.h" 27 #include "content/common/content_export.h"
28 #include "content/common/frame.mojom.h" 28 #include "content/common/frame.mojom.h"
29 #include "content/common/frame_replication_state.h" 29 #include "content/common/frame_replication_state.h"
30 #include "content/common/render_frame_message_filter.mojom.h" 30 #include "content/common/render_frame_message_filter.mojom.h"
31 #include "content/common/render_message_filter.mojom.h"
31 #include "content/common/storage_partition_service.mojom.h" 32 #include "content/common/storage_partition_service.mojom.h"
32 #include "content/public/renderer/render_thread.h" 33 #include "content/public/renderer/render_thread.h"
33 #include "content/renderer/gpu/compositor_dependencies.h" 34 #include "content/renderer/gpu/compositor_dependencies.h"
34 #include "content/renderer/layout_test_dependencies.h" 35 #include "content/renderer/layout_test_dependencies.h"
35 #include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h" 36 #include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h"
36 #include "gpu/ipc/client/gpu_channel_host.h" 37 #include "gpu/ipc/client/gpu_channel_host.h"
37 #include "mojo/public/cpp/bindings/binding.h" 38 #include "mojo/public/cpp/bindings/binding.h"
38 #include "net/base/network_change_notifier.h" 39 #include "net/base/network_change_notifier.h"
39 #include "third_party/WebKit/public/platform/WebConnectionType.h" 40 #include "third_party/WebKit/public/platform/WebConnectionType.h"
40 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 41 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 P2PSocketDispatcher* p2p_socket_dispatcher() { 331 P2PSocketDispatcher* p2p_socket_dispatcher() {
331 return p2p_socket_dispatcher_.get(); 332 return p2p_socket_dispatcher_.get();
332 } 333 }
333 #endif 334 #endif
334 335
335 VideoCaptureImplManager* video_capture_impl_manager() const { 336 VideoCaptureImplManager* video_capture_impl_manager() const {
336 return vc_manager_.get(); 337 return vc_manager_.get();
337 } 338 }
338 339
339 mojom::RenderFrameMessageFilter* render_frame_message_filter(); 340 mojom::RenderFrameMessageFilter* render_frame_message_filter();
341 mojom::RenderMessageFilter* render_message_filter();
340 342
341 // Get the GPU channel. Returns NULL if the channel is not established or 343 // Get the GPU channel. Returns NULL if the channel is not established or
342 // has been lost. 344 // has been lost.
343 gpu::GpuChannelHost* GetGpuChannel(); 345 gpu::GpuChannelHost* GetGpuChannel();
344 346
345 // Returns a SingleThreadTaskRunner instance corresponding to the message loop 347 // Returns a SingleThreadTaskRunner instance corresponding to the message loop
346 // of the thread on which file operations should be run. Must be called 348 // of the thread on which file operations should be run. Must be called
347 // on the renderer's main thread. 349 // on the renderer's main thread.
348 scoped_refptr<base::SingleThreadTaskRunner> GetFileThreadTaskRunner(); 350 scoped_refptr<base::SingleThreadTaskRunner> GetFileThreadTaskRunner();
349 351
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 mojom::FrameHostPtr frame_host_; 712 mojom::FrameHostPtr frame_host_;
711 }; 713 };
712 714
713 using PendingFrameCreateMap = 715 using PendingFrameCreateMap =
714 std::map<int, scoped_refptr<PendingFrameCreate>>; 716 std::map<int, scoped_refptr<PendingFrameCreate>>;
715 PendingFrameCreateMap pending_frame_creates_; 717 PendingFrameCreateMap pending_frame_creates_;
716 718
717 mojom::StoragePartitionServicePtr storage_partition_service_; 719 mojom::StoragePartitionServicePtr storage_partition_service_;
718 720
719 mojom::RenderFrameMessageFilterAssociatedPtr render_frame_message_filter_; 721 mojom::RenderFrameMessageFilterAssociatedPtr render_frame_message_filter_;
722 mojom::RenderMessageFilterAssociatedPtr render_message_filter_;
720 723
721 bool is_renderer_suspended_; 724 bool is_renderer_suspended_;
722 725
723 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 726 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
724 }; 727 };
725 728
726 #if defined(COMPILER_MSVC) 729 #if defined(COMPILER_MSVC)
727 #pragma warning(pop) 730 #pragma warning(pop)
728 #endif 731 #endif
729 732
730 } // namespace content 733 } // namespace content
731 734
732 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 735 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698