| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 ResourceDispatcherDelegate* delegate) override; | 200 ResourceDispatcherDelegate* delegate) override; |
| 201 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( | 201 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( |
| 202 size_t buffer_size) override; | 202 size_t buffer_size) override; |
| 203 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 203 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 204 void RegisterExtension(v8::Extension* extension) override; | 204 void RegisterExtension(v8::Extension* extension) override; |
| 205 void ScheduleIdleHandler(int64_t initial_delay_ms) override; | 205 void ScheduleIdleHandler(int64_t initial_delay_ms) override; |
| 206 void IdleHandler() override; | 206 void IdleHandler() override; |
| 207 int64_t GetIdleNotificationDelayInMs() const override; | 207 int64_t GetIdleNotificationDelayInMs() const override; |
| 208 void SetIdleNotificationDelayInMs( | 208 void SetIdleNotificationDelayInMs( |
| 209 int64_t idle_notification_delay_in_ms) override; | 209 int64_t idle_notification_delay_in_ms) override; |
| 210 void UpdateHistograms(int sequence_number) override; | |
| 211 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 210 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
| 212 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 211 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
| 213 base::WaitableEvent* GetShutdownEvent() override; | 212 base::WaitableEvent* GetShutdownEvent() override; |
| 214 | 213 |
| 215 // IPC::Listener implementation via ChildThreadImpl: | 214 // IPC::Listener implementation via ChildThreadImpl: |
| 216 void OnAssociatedInterfaceRequest( | 215 void OnAssociatedInterfaceRequest( |
| 217 const std::string& name, | 216 const std::string& name, |
| 218 mojo::ScopedInterfaceEndpointHandle handle) override; | 217 mojo::ScopedInterfaceEndpointHandle handle) override; |
| 219 | 218 |
| 220 // CompositorDependencies implementation. | 219 // CompositorDependencies implementation. |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 747 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 749 }; | 748 }; |
| 750 | 749 |
| 751 #if defined(COMPILER_MSVC) | 750 #if defined(COMPILER_MSVC) |
| 752 #pragma warning(pop) | 751 #pragma warning(pop) |
| 753 #endif | 752 #endif |
| 754 | 753 |
| 755 } // namespace content | 754 } // namespace content |
| 756 | 755 |
| 757 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 756 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |