| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 virtual void RecordAction(const UserMetricsAction& action) OVERRIDE; | 136 virtual void RecordAction(const UserMetricsAction& action) OVERRIDE; |
| 137 virtual void RecordComputedAction(const std::string& action) OVERRIDE; | 137 virtual void RecordComputedAction(const std::string& action) OVERRIDE; |
| 138 virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( | 138 virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( |
| 139 size_t buffer_size) OVERRIDE; | 139 size_t buffer_size) OVERRIDE; |
| 140 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; | 140 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; |
| 141 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 141 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
| 142 virtual void IdleHandler() OVERRIDE; | 142 virtual void IdleHandler() OVERRIDE; |
| 143 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 143 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
| 144 virtual void SetIdleNotificationDelayInMs( | 144 virtual void SetIdleNotificationDelayInMs( |
| 145 int64 idle_notification_delay_in_ms) OVERRIDE; | 145 int64 idle_notification_delay_in_ms) OVERRIDE; |
| 146 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; | |
| 147 virtual void UpdateHistograms(int sequence_number) OVERRIDE; | 146 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
| 148 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; | 147 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; |
| 149 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE; | 148 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE; |
| 150 #if defined(OS_WIN) | 149 #if defined(OS_WIN) |
| 151 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 150 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
| 152 virtual void ReleaseCachedFonts() OVERRIDE; | 151 virtual void ReleaseCachedFonts() OVERRIDE; |
| 153 #endif | 152 #endif |
| 154 | 153 |
| 155 // Synchronously establish a channel to the GPU plugin if not previously | 154 // Synchronously establish a channel to the GPU plugin if not previously |
| 156 // established or if it has been lost (for example if the GPU plugin crashed). | 155 // established or if it has been lost (for example if the GPU plugin crashed). |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 // multiple threads. Current allocation mechanism for IOSurface | 504 // multiple threads. Current allocation mechanism for IOSurface |
| 506 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 505 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 507 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 506 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 508 | 507 |
| 509 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 508 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 510 }; | 509 }; |
| 511 | 510 |
| 512 } // namespace content | 511 } // namespace content |
| 513 | 512 |
| 514 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 513 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |