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

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

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 2 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
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 public ChildMemoryCoordinatorDelegate, 156 public ChildMemoryCoordinatorDelegate,
157 // TODO(blundell): Separate this impl out into Blink. 157 // TODO(blundell): Separate this impl out into Blink.
158 NON_EXPORTED_BASE(public device::mojom::TimeZoneMonitorClient), 158 NON_EXPORTED_BASE(public device::mojom::TimeZoneMonitorClient),
159 NON_EXPORTED_BASE(public CompositorDependencies) { 159 NON_EXPORTED_BASE(public CompositorDependencies) {
160 public: 160 public:
161 static RenderThreadImpl* Create(const InProcessChildThreadParams& params); 161 static RenderThreadImpl* Create(const InProcessChildThreadParams& params);
162 static RenderThreadImpl* Create( 162 static RenderThreadImpl* Create(
163 std::unique_ptr<base::MessageLoop> main_message_loop, 163 std::unique_ptr<base::MessageLoop> main_message_loop,
164 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler); 164 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler);
165 static RenderThreadImpl* current(); 165 static RenderThreadImpl* current();
166 static mojom::RenderMessageFilter* current_render_message_filter();
167
168 static void SetRenderMessageFilterForTesting(
169 mojom::RenderMessageFilter* render_message_filter);
166 170
167 ~RenderThreadImpl() override; 171 ~RenderThreadImpl() override;
168 void Shutdown() override; 172 void Shutdown() override;
169 173
170 // When initializing WebKit, ensure that any schemes needed for the content 174 // When initializing WebKit, ensure that any schemes needed for the content
171 // module are registered properly. Static to allow sharing with tests. 175 // module are registered properly. Static to allow sharing with tests.
172 static void RegisterSchemes(); 176 static void RegisterSchemes();
173 177
174 // Notify V8 that the date/time configuration of the system might have 178 // Notify V8 that the date/time configuration of the system might have
175 // changed. 179 // changed.
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 730 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
727 }; 731 };
728 732
729 #if defined(COMPILER_MSVC) 733 #if defined(COMPILER_MSVC)
730 #pragma warning(pop) 734 #pragma warning(pop)
731 #endif 735 #endif
732 736
733 } // namespace content 737 } // namespace content
734 738
735 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 739 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698