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

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

Issue 10836146: Remove RenderThread::IsRegisteredExtension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 content::RenderProcessObserver* observer) OVERRIDE; 112 content::RenderProcessObserver* observer) OVERRIDE;
113 virtual void SetResourceDispatcherDelegate( 113 virtual void SetResourceDispatcherDelegate(
114 content::ResourceDispatcherDelegate* delegate) OVERRIDE; 114 content::ResourceDispatcherDelegate* delegate) OVERRIDE;
115 virtual void WidgetHidden() OVERRIDE; 115 virtual void WidgetHidden() OVERRIDE;
116 virtual void WidgetRestored() OVERRIDE; 116 virtual void WidgetRestored() OVERRIDE;
117 virtual void EnsureWebKitInitialized() OVERRIDE; 117 virtual void EnsureWebKitInitialized() OVERRIDE;
118 virtual void RecordUserMetrics(const std::string& action) OVERRIDE; 118 virtual void RecordUserMetrics(const std::string& action) OVERRIDE;
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(
123 const std::string& v8_extension_name) const OVERRIDE;
124 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; 122 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE;
125 virtual void IdleHandler() OVERRIDE; 123 virtual void IdleHandler() OVERRIDE;
126 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; 124 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE;
127 virtual void SetIdleNotificationDelayInMs( 125 virtual void SetIdleNotificationDelayInMs(
128 int64 idle_notification_delay_in_ms) OVERRIDE; 126 int64 idle_notification_delay_in_ms) OVERRIDE;
129 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; 127 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE;
130 virtual void UpdateHistograms(int sequence_number) OVERRIDE; 128 virtual void UpdateHistograms(int sequence_number) OVERRIDE;
131 #if defined(OS_WIN) 129 #if defined(OS_WIN)
132 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; 130 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
133 virtual void ReleaseCachedFonts() OVERRIDE; 131 virtual void ReleaseCachedFonts() OVERRIDE;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 286
289 // Timer that periodically calls IdleHandler. 287 // Timer that periodically calls IdleHandler.
290 base::RepeatingTimer<RenderThreadImpl> idle_timer_; 288 base::RepeatingTimer<RenderThreadImpl> idle_timer_;
291 289
292 // The channel from the renderer process to the GPU process. 290 // The channel from the renderer process to the GPU process.
293 scoped_refptr<GpuChannelHost> gpu_channel_; 291 scoped_refptr<GpuChannelHost> gpu_channel_;
294 292
295 // A lazily initiated thread on which file operations are run. 293 // A lazily initiated thread on which file operations are run.
296 scoped_ptr<base::Thread> file_thread_; 294 scoped_ptr<base::Thread> file_thread_;
297 295
298 // Map of registered v8 extensions. The key is the extension name.
299 std::set<std::string> v8_extensions_;
300
301 bool compositor_initialized_; 296 bool compositor_initialized_;
302 scoped_ptr<CompositorThread> compositor_thread_; 297 scoped_ptr<CompositorThread> compositor_thread_;
303 scoped_ptr<content::old::BrowserPluginRegistry> browser_plugin_registry_; 298 scoped_ptr<content::old::BrowserPluginRegistry> browser_plugin_registry_;
304 299
305 ObserverList<content::RenderProcessObserver> observers_; 300 ObserverList<content::RenderProcessObserver> observers_;
306 301
307 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; 302 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
308 303
309 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; 304 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_;
310 305
311 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 306 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
312 }; 307 };
313 308
314 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 309 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698