Chromium Code Reviews| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; | 127 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; |
| 128 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 128 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
| 129 virtual void IdleHandler() OVERRIDE; | 129 virtual void IdleHandler() OVERRIDE; |
| 130 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 130 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
| 131 virtual void SetIdleNotificationDelayInMs( | 131 virtual void SetIdleNotificationDelayInMs( |
| 132 int64 idle_notification_delay_in_ms) OVERRIDE; | 132 int64 idle_notification_delay_in_ms) OVERRIDE; |
| 133 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; | 133 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; |
| 134 virtual void UpdateHistograms(int sequence_number) OVERRIDE; | 134 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
| 135 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
| 136 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 136 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
| 137 void PreCacheFontCharacters(const LOGFONT& log_font, | |
|
jam
2012/11/09 01:44:14
this isn't a content::RenderThread method, so don'
edisonn
2012/11/09 17:48:57
Done.
| |
| 138 const std::wstring& str); | |
| 137 virtual void ReleaseCachedFonts() OVERRIDE; | 139 virtual void ReleaseCachedFonts() OVERRIDE; |
| 138 #endif | 140 #endif |
| 139 | 141 |
| 140 // content::ChildThread: | 142 // content::ChildThread: |
| 141 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; | 143 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; |
| 142 | 144 |
| 143 // GpuChannelHostFactory implementation: | 145 // GpuChannelHostFactory implementation: |
| 144 virtual bool IsMainThread() OVERRIDE; | 146 virtual bool IsMainThread() OVERRIDE; |
| 145 virtual bool IsIOThread() OVERRIDE; | 147 virtual bool IsIOThread() OVERRIDE; |
| 146 virtual MessageLoop* GetMainLoop() OVERRIDE; | 148 virtual MessageLoop* GetMainLoop() OVERRIDE; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 380 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 382 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
| 381 | 383 |
| 382 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; | 384 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 383 | 385 |
| 384 HistogramCustomizer histogram_customizer_; | 386 HistogramCustomizer histogram_customizer_; |
| 385 | 387 |
| 386 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 388 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 387 }; | 389 }; |
| 388 | 390 |
| 389 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 391 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |