OLD | NEW |
1 // Copyright (c) 2011 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> |
11 #include <vector> | 11 #include <vector> |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 void OnCreateNewView(const ViewMsg_New_Params& params); | 179 void OnCreateNewView(const ViewMsg_New_Params& params); |
180 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 180 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
181 void OnPurgePluginListCache(bool reload_pages); | 181 void OnPurgePluginListCache(bool reload_pages); |
182 void OnNetworkStateChanged(bool online); | 182 void OnNetworkStateChanged(bool online); |
183 void OnGetAccessibilityTree(); | 183 void OnGetAccessibilityTree(); |
184 void OnTempCrashWithData(const GURL& data); | 184 void OnTempCrashWithData(const GURL& data); |
185 | 185 |
186 void IdleHandlerInForegroundTab(); | 186 void IdleHandlerInForegroundTab(); |
187 | 187 |
188 // These objects live solely on the render thread. | 188 // These objects live solely on the render thread. |
189 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; | |
190 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 189 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
191 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 190 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
192 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 191 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
193 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; | 192 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
194 | 193 |
195 // Used on the renderer and IPC threads. | 194 // Used on the renderer and IPC threads. |
196 scoped_refptr<DBMessageFilter> db_message_filter_; | 195 scoped_refptr<DBMessageFilter> db_message_filter_; |
197 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 196 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
198 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 197 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
199 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 198 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 238 |
240 bool compositor_initialized_; | 239 bool compositor_initialized_; |
241 scoped_ptr<CompositorThread> compositor_thread_; | 240 scoped_ptr<CompositorThread> compositor_thread_; |
242 | 241 |
243 ObserverList<content::RenderProcessObserver> observers_; | 242 ObserverList<content::RenderProcessObserver> observers_; |
244 | 243 |
245 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 244 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
246 }; | 245 }; |
247 | 246 |
248 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 247 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |