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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 const std::string& v8_extension_name) const OVERRIDE; | 122 const std::string& v8_extension_name) const OVERRIDE; |
123 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; | 123 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; |
124 virtual void IdleHandler() OVERRIDE; | 124 virtual void IdleHandler() OVERRIDE; |
125 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; | 125 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; |
126 virtual void SetIdleNotificationDelayInMs( | 126 virtual void SetIdleNotificationDelayInMs( |
127 int64 idle_notification_delay_in_ms) OVERRIDE; | 127 int64 idle_notification_delay_in_ms) OVERRIDE; |
128 #if defined(OS_WIN) | 128 #if defined(OS_WIN) |
129 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 129 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
130 virtual void ReleaseCachedFonts() OVERRIDE; | 130 virtual void ReleaseCachedFonts() OVERRIDE; |
131 #endif | 131 #endif |
| 132 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
132 | 133 |
133 // content::ChildThread: | 134 // content::ChildThread: |
134 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; | 135 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; |
135 | 136 |
136 // GpuChannelHostFactory implementation: | 137 // GpuChannelHostFactory implementation: |
137 virtual bool IsMainThread() OVERRIDE; | 138 virtual bool IsMainThread() OVERRIDE; |
138 virtual bool IsIOThread() OVERRIDE; | 139 virtual bool IsIOThread() OVERRIDE; |
139 virtual MessageLoop* GetMainLoop() OVERRIDE; | 140 virtual MessageLoop* GetMainLoop() OVERRIDE; |
140 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 141 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
141 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; | 142 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; | 300 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; |
300 | 301 |
301 ObserverList<content::RenderProcessObserver> observers_; | 302 ObserverList<content::RenderProcessObserver> observers_; |
302 | 303 |
303 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 304 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
304 | 305 |
305 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 306 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
306 }; | 307 }; |
307 | 308 |
308 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 309 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |