| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer( | 119 virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer( |
| 120 uint32 buffer_size) OVERRIDE; | 120 uint32 buffer_size) OVERRIDE; |
| 121 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; | 121 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; |
| 122 virtual bool IsRegisteredExtension( | 122 virtual bool IsRegisteredExtension( |
| 123 const std::string& v8_extension_name) const OVERRIDE; | 123 const std::string& v8_extension_name) const OVERRIDE; |
| 124 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 124 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
| 125 virtual void IdleHandler() OVERRIDE; | 125 virtual void IdleHandler() OVERRIDE; |
| 126 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 126 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
| 127 virtual void SetIdleNotificationDelayInMs( | 127 virtual void SetIdleNotificationDelayInMs( |
| 128 int64 idle_notification_delay_in_ms) OVERRIDE; | 128 int64 idle_notification_delay_in_ms) OVERRIDE; |
| 129 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; |
| 130 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
| 129 #if defined(OS_WIN) | 131 #if defined(OS_WIN) |
| 130 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 132 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
| 131 virtual void ReleaseCachedFonts() OVERRIDE; | 133 virtual void ReleaseCachedFonts() OVERRIDE; |
| 132 #endif | 134 #endif |
| 133 virtual void UpdateHistograms(int sequence_number) OVERRIDE; | |
| 134 | 135 |
| 135 // content::ChildThread: | 136 // content::ChildThread: |
| 136 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; | 137 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; |
| 137 | 138 |
| 138 // GpuChannelHostFactory implementation: | 139 // GpuChannelHostFactory implementation: |
| 139 virtual bool IsMainThread() OVERRIDE; | 140 virtual bool IsMainThread() OVERRIDE; |
| 140 virtual bool IsIOThread() OVERRIDE; | 141 virtual bool IsIOThread() OVERRIDE; |
| 141 virtual MessageLoop* GetMainLoop() OVERRIDE; | 142 virtual MessageLoop* GetMainLoop() OVERRIDE; |
| 142 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 143 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
| 143 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; | 144 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 ObserverList<content::RenderProcessObserver> observers_; | 309 ObserverList<content::RenderProcessObserver> observers_; |
| 309 | 310 |
| 310 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 311 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
| 311 | 312 |
| 312 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; | 313 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 313 | 314 |
| 314 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 315 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 315 }; | 316 }; |
| 316 | 317 |
| 317 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 318 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |