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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 int routing_id) override; | 217 int routing_id) override; |
218 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; | 218 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; |
219 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 219 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
220 bool AreImageDecodeTasksEnabled() override; | 220 bool AreImageDecodeTasksEnabled() override; |
221 bool IsThreadedAnimationEnabled() override; | 221 bool IsThreadedAnimationEnabled() override; |
222 | 222 |
223 // Synchronously establish a channel to the GPU plugin if not previously | 223 // Synchronously establish a channel to the GPU plugin if not previously |
224 // established or if it has been lost (for example if the GPU plugin crashed). | 224 // established or if it has been lost (for example if the GPU plugin crashed). |
225 // If there is a pending asynchronous request, it will be completed by the | 225 // If there is a pending asynchronous request, it will be completed by the |
226 // time this routine returns. | 226 // time this routine returns. |
227 GpuChannelHost* EstablishGpuChannelSync(CauseForGpuLaunch); | 227 GpuChannelHost* EstablishGpuChannelSync(gpu::CauseForGpuLaunch); |
228 | |
229 | 228 |
230 // This method modifies how the next message is sent. Normally, when sending | 229 // This method modifies how the next message is sent. Normally, when sending |
231 // a synchronous message that runs a nested message loop, we need to suspend | 230 // a synchronous message that runs a nested message loop, we need to suspend |
232 // callbacks into WebKit. This involves disabling timers and deferring | 231 // callbacks into WebKit. This involves disabling timers and deferring |
233 // resource loads. However, there are exceptions when we need to customize | 232 // resource loads. However, there are exceptions when we need to customize |
234 // the behavior. | 233 // the behavior. |
235 void DoNotNotifyWebKitOfModalLoop(); | 234 void DoNotNotifyWebKitOfModalLoop(); |
236 | 235 |
237 // True if we are running layout tests. This currently disables forwarding | 236 // True if we are running layout tests. This currently disables forwarding |
238 // various status messages to the console, skips network error pages, and | 237 // various status messages to the console, skips network error pages, and |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 709 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
711 }; | 710 }; |
712 | 711 |
713 #if defined(COMPILER_MSVC) | 712 #if defined(COMPILER_MSVC) |
714 #pragma warning(pop) | 713 #pragma warning(pop) |
715 #endif | 714 #endif |
716 | 715 |
717 } // namespace content | 716 } // namespace content |
718 | 717 |
719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 718 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |