| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 size_t buffer_size) OVERRIDE; | 144 size_t buffer_size) OVERRIDE; |
| 145 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; | 145 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; |
| 146 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 146 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
| 147 virtual void IdleHandler() OVERRIDE; | 147 virtual void IdleHandler() OVERRIDE; |
| 148 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 148 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
| 149 virtual void SetIdleNotificationDelayInMs( | 149 virtual void SetIdleNotificationDelayInMs( |
| 150 int64 idle_notification_delay_in_ms) OVERRIDE; | 150 int64 idle_notification_delay_in_ms) OVERRIDE; |
| 151 virtual void UpdateHistograms(int sequence_number) OVERRIDE; | 151 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
| 152 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; | 152 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; |
| 153 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE; | 153 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE; |
| 154 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; |
| 154 #if defined(OS_WIN) | 155 #if defined(OS_WIN) |
| 155 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 156 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
| 156 virtual void ReleaseCachedFonts() OVERRIDE; | 157 virtual void ReleaseCachedFonts() OVERRIDE; |
| 157 #endif | 158 #endif |
| 158 | 159 |
| 159 // Synchronously establish a channel to the GPU plugin if not previously | 160 // Synchronously establish a channel to the GPU plugin if not previously |
| 160 // established or if it has been lost (for example if the GPU plugin crashed). | 161 // established or if it has been lost (for example if the GPU plugin crashed). |
| 161 // If there is a pending asynchronous request, it will be completed by the | 162 // If there is a pending asynchronous request, it will be completed by the |
| 162 // time this routine returns. | 163 // time this routine returns. |
| 163 GpuChannelHost* EstablishGpuChannelSync(CauseForGpuLaunch); | 164 GpuChannelHost* EstablishGpuChannelSync(CauseForGpuLaunch); |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // multiple threads. Current allocation mechanism for IOSurface | 503 // multiple threads. Current allocation mechanism for IOSurface |
| 503 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 504 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 504 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 505 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 505 | 506 |
| 506 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 507 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 507 }; | 508 }; |
| 508 | 509 |
| 509 } // namespace content | 510 } // namespace content |
| 510 | 511 |
| 511 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 512 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |