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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 #if defined(OS_WIN) | 129 #if defined(OS_WIN) |
130 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; | 130 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; |
131 virtual void ReleaseCachedFonts() OVERRIDE; | 131 virtual void ReleaseCachedFonts() OVERRIDE; |
132 #endif | 132 #endif |
| 133 virtual void UpdateHistograms(int sequence_number) OVERRIDE; |
133 | 134 |
134 // content::ChildThread: | 135 // content::ChildThread: |
135 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; | 136 virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE; |
136 | 137 |
137 // GpuChannelHostFactory implementation: | 138 // GpuChannelHostFactory implementation: |
138 virtual bool IsMainThread() OVERRIDE; | 139 virtual bool IsMainThread() OVERRIDE; |
139 virtual bool IsIOThread() OVERRIDE; | 140 virtual bool IsIOThread() OVERRIDE; |
140 virtual MessageLoop* GetMainLoop() OVERRIDE; | 141 virtual MessageLoop* GetMainLoop() OVERRIDE; |
141 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 142 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
142 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; | 143 virtual base::WaitableEvent* GetShutDownEvent() OVERRIDE; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 bool compositor_initialized_; | 292 bool compositor_initialized_; |
292 scoped_ptr<CompositorThread> compositor_thread_; | 293 scoped_ptr<CompositorThread> compositor_thread_; |
293 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; | 294 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; |
294 | 295 |
295 ObserverList<content::RenderProcessObserver> observers_; | 296 ObserverList<content::RenderProcessObserver> observers_; |
296 | 297 |
297 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 298 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
298 }; | 299 }; |
299 | 300 |
300 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 301 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |