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_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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 void Shutdown() override; | 159 void Shutdown() override; |
160 | 160 |
161 // When initializing WebKit, ensure that any schemes needed for the content | 161 // When initializing WebKit, ensure that any schemes needed for the content |
162 // module are registered properly. Static to allow sharing with tests. | 162 // module are registered properly. Static to allow sharing with tests. |
163 static void RegisterSchemes(); | 163 static void RegisterSchemes(); |
164 | 164 |
165 // Notify V8 that the date/time configuration of the system might have | 165 // Notify V8 that the date/time configuration of the system might have |
166 // changed. | 166 // changed. |
167 static void NotifyTimezoneChange(); | 167 static void NotifyTimezoneChange(); |
168 | 168 |
| 169 // ChildThreadImpl implementation: |
| 170 void AddConnectionFilters(MojoShellConnection* connection) override; |
| 171 |
169 // RenderThread implementation: | 172 // RenderThread implementation: |
170 bool Send(IPC::Message* msg) override; | 173 bool Send(IPC::Message* msg) override; |
171 IPC::SyncChannel* GetChannel() override; | 174 IPC::SyncChannel* GetChannel() override; |
172 std::string GetLocale() override; | 175 std::string GetLocale() override; |
173 IPC::SyncMessageFilter* GetSyncMessageFilter() override; | 176 IPC::SyncMessageFilter* GetSyncMessageFilter() override; |
174 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override; | 177 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override; |
175 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; | 178 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; |
176 void RemoveRoute(int32_t routing_id) override; | 179 void RemoveRoute(int32_t routing_id) override; |
177 int GenerateRoutingID() override; | 180 int GenerateRoutingID() override; |
178 void AddFilter(IPC::MessageFilter* filter) override; | 181 void AddFilter(IPC::MessageFilter* filter) override; |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
700 }; | 703 }; |
701 | 704 |
702 #if defined(COMPILER_MSVC) | 705 #if defined(COMPILER_MSVC) |
703 #pragma warning(pop) | 706 #pragma warning(pop) |
704 #endif | 707 #endif |
705 | 708 |
706 } // namespace content | 709 } // namespace content |
707 | 710 |
708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |