| 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 | |
| 172 // RenderThread implementation: | 169 // RenderThread implementation: |
| 173 bool Send(IPC::Message* msg) override; | 170 bool Send(IPC::Message* msg) override; |
| 174 IPC::SyncChannel* GetChannel() override; | 171 IPC::SyncChannel* GetChannel() override; |
| 175 std::string GetLocale() override; | 172 std::string GetLocale() override; |
| 176 IPC::SyncMessageFilter* GetSyncMessageFilter() override; | 173 IPC::SyncMessageFilter* GetSyncMessageFilter() override; |
| 177 scoped_refptr<base::SingleThreadTaskRunner> GetIOMessageLoopProxy() override; | 174 scoped_refptr<base::SingleThreadTaskRunner> GetIOMessageLoopProxy() override; |
| 178 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; | 175 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; |
| 179 void RemoveRoute(int32_t routing_id) override; | 176 void RemoveRoute(int32_t routing_id) override; |
| 180 int GenerateRoutingID() override; | 177 int GenerateRoutingID() override; |
| 181 void AddFilter(IPC::MessageFilter* filter) override; | 178 void AddFilter(IPC::MessageFilter* filter) override; |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 703 }; | 700 }; |
| 704 | 701 |
| 705 #if defined(COMPILER_MSVC) | 702 #if defined(COMPILER_MSVC) |
| 706 #pragma warning(pop) | 703 #pragma warning(pop) |
| 707 #endif | 704 #endif |
| 708 | 705 |
| 709 } // namespace content | 706 } // namespace content |
| 710 | 707 |
| 711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |