| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); | 184 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); |
| 185 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); | 185 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); |
| 186 void OnSetNextPageID(int32 next_page_id); | 186 void OnSetNextPageID(int32 next_page_id); |
| 187 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); | 187 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); |
| 188 void OnCreateNewView(const ViewMsg_New_Params& params); | 188 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 189 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 189 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 190 void OnPurgePluginListCache(bool reload_pages); | 190 void OnPurgePluginListCache(bool reload_pages); |
| 191 void OnNetworkStateChanged(bool online); | 191 void OnNetworkStateChanged(bool online); |
| 192 void OnGetAccessibilityTree(); | 192 void OnGetAccessibilityTree(); |
| 193 void OnTempCrashWithData(const GURL& data); |
| 193 | 194 |
| 194 // These objects live solely on the render thread. | 195 // These objects live solely on the render thread. |
| 195 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; | 196 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; |
| 196 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 197 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 197 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; | 198 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; |
| 198 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 199 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| 199 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; | 200 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; |
| 200 | 201 |
| 201 // Used on the renderer and IPC threads. | 202 // Used on the renderer and IPC threads. |
| 202 scoped_refptr<DBMessageFilter> db_message_filter_; | 203 scoped_refptr<DBMessageFilter> db_message_filter_; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 std::set<std::string> v8_extensions_; | 239 std::set<std::string> v8_extensions_; |
| 239 | 240 |
| 240 scoped_ptr<CompositorThread> compositor_thread_; | 241 scoped_ptr<CompositorThread> compositor_thread_; |
| 241 | 242 |
| 242 ObserverList<content::RenderProcessObserver> observers_; | 243 ObserverList<content::RenderProcessObserver> observers_; |
| 243 | 244 |
| 244 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 245 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 248 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |