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

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

Issue 10162015: Pull domstorage specifics out of RenderThreadImpl into DomStorageDispatcher (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 12 matching lines...) Expand all
23 #include "content/public/renderer/render_thread.h" 23 #include "content/public/renderer/render_thread.h"
24 #include "ipc/ipc_channel_proxy.h" 24 #include "ipc/ipc_channel_proxy.h"
25 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
26 26
27 class AppCacheDispatcher; 27 class AppCacheDispatcher;
28 class AudioInputMessageFilter; 28 class AudioInputMessageFilter;
29 class AudioMessageFilter; 29 class AudioMessageFilter;
30 class CompositorThread; 30 class CompositorThread;
31 class DBMessageFilter; 31 class DBMessageFilter;
32 class DevToolsAgentFilter; 32 class DevToolsAgentFilter;
33 struct DOMStorageMsg_Event_Params; 33 class DomStorageDispatcher;
34 class GpuChannelHost; 34 class GpuChannelHost;
35 class IndexedDBDispatcher; 35 class IndexedDBDispatcher;
36 class RendererWebKitPlatformSupportImpl; 36 class RendererWebKitPlatformSupportImpl;
37 class SkBitmap; 37 class SkBitmap;
38 class VideoCaptureImplManager; 38 class VideoCaptureImplManager;
39 struct ViewMsg_New_Params; 39 struct ViewMsg_New_Params;
40 class WebDatabaseObserverImpl; 40 class WebDatabaseObserverImpl;
41 41
42 namespace WebKit { 42 namespace WebKit {
43 class WebMediaStreamCenter; 43 class WebMediaStreamCenter;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void PostponeIdleNotification(); 201 void PostponeIdleNotification();
202 202
203 void SetAllowSuddenTermination(bool allowed); 203 void SetAllowSuddenTermination(bool allowed);
204 204
205 private: 205 private:
206 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 206 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
207 207
208 void Init(); 208 void Init();
209 209
210 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level); 210 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level);
211 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params);
212 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); 211 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors);
213 void OnCreateNewView(const ViewMsg_New_Params& params); 212 void OnCreateNewView(const ViewMsg_New_Params& params);
214 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 213 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
215 void OnPurgePluginListCache(bool reload_pages); 214 void OnPurgePluginListCache(bool reload_pages);
216 void OnNetworkStateChanged(bool online); 215 void OnNetworkStateChanged(bool online);
217 void OnGetAccessibilityTree(); 216 void OnGetAccessibilityTree();
218 void OnTempCrashWithData(const GURL& data); 217 void OnTempCrashWithData(const GURL& data);
219 218
220 void IdleHandlerInForegroundTab(); 219 void IdleHandlerInForegroundTab();
221 220
222 // These objects live solely on the render thread. 221 // These objects live solely on the render thread.
223 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 222 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
223 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_;
224 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 224 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
225 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 225 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
226 226
227 // Used on the render thread and deleted by WebKit at shutdown. 227 // Used on the render thread and deleted by WebKit at shutdown.
228 content::MediaStreamCenter* media_stream_center_; 228 content::MediaStreamCenter* media_stream_center_;
229 229
230 // Used on the renderer and IPC threads. 230 // Used on the renderer and IPC threads.
231 scoped_refptr<DBMessageFilter> db_message_filter_; 231 scoped_refptr<DBMessageFilter> db_message_filter_;
232 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 232 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
233 scoped_refptr<AudioMessageFilter> audio_message_filter_; 233 scoped_refptr<AudioMessageFilter> audio_message_filter_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 bool compositor_initialized_; 275 bool compositor_initialized_;
276 scoped_ptr<CompositorThread> compositor_thread_; 276 scoped_ptr<CompositorThread> compositor_thread_;
277 277
278 ObserverList<content::RenderProcessObserver> observers_; 278 ObserverList<content::RenderProcessObserver> observers_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 280 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
281 }; 281 };
282 282
283 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 283 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/webstoragenamespace_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698