| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 void RegisterExtension(v8::Extension* extension) override; | 202 void RegisterExtension(v8::Extension* extension) override; |
| 203 void ScheduleIdleHandler(int64_t initial_delay_ms) override; | 203 void ScheduleIdleHandler(int64_t initial_delay_ms) override; |
| 204 void IdleHandler() override; | 204 void IdleHandler() override; |
| 205 int64_t GetIdleNotificationDelayInMs() const override; | 205 int64_t GetIdleNotificationDelayInMs() const override; |
| 206 void SetIdleNotificationDelayInMs( | 206 void SetIdleNotificationDelayInMs( |
| 207 int64_t idle_notification_delay_in_ms) override; | 207 int64_t idle_notification_delay_in_ms) override; |
| 208 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 208 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
| 209 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 209 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
| 210 base::WaitableEvent* GetShutdownEvent() override; | 210 base::WaitableEvent* GetShutdownEvent() override; |
| 211 int32_t GetClientId() override; | 211 int32_t GetClientId() override; |
| 212 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override; |
| 213 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override; |
| 212 | 214 |
| 213 // IPC::Listener implementation via ChildThreadImpl: | 215 // IPC::Listener implementation via ChildThreadImpl: |
| 214 void OnAssociatedInterfaceRequest( | 216 void OnAssociatedInterfaceRequest( |
| 215 const std::string& name, | 217 const std::string& name, |
| 216 mojo::ScopedInterfaceEndpointHandle handle) override; | 218 mojo::ScopedInterfaceEndpointHandle handle) override; |
| 217 | 219 |
| 218 // CompositorDependencies implementation. | 220 // CompositorDependencies implementation. |
| 219 bool IsGpuRasterizationForced() override; | 221 bool IsGpuRasterizationForced() override; |
| 220 bool IsGpuRasterizationEnabled() override; | 222 bool IsGpuRasterizationEnabled() override; |
| 221 bool IsAsyncWorkerContextEnabled() override; | 223 bool IsAsyncWorkerContextEnabled() override; |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 775 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 774 }; | 776 }; |
| 775 | 777 |
| 776 #if defined(COMPILER_MSVC) | 778 #if defined(COMPILER_MSVC) |
| 777 #pragma warning(pop) | 779 #pragma warning(pop) |
| 778 #endif | 780 #endif |
| 779 | 781 |
| 780 } // namespace content | 782 } // namespace content |
| 781 | 783 |
| 782 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 784 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |