Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 10690023: Upstream support for WebKit shared timer toggling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Yaron's comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 ToggleWebKitSharedTimer(bool suspend) 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; 301 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_;
301 302
302 ObserverList<content::RenderProcessObserver> observers_; 303 ObserverList<content::RenderProcessObserver> observers_;
303 304
304 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; 305 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
305 306
306 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 307 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
307 }; 308 };
308 309
309 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 310 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698