| 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_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 230 |
| 231 void Init(); | 231 void Init(); |
| 232 | 232 |
| 233 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); | 233 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); |
| 234 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); | 234 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); |
| 235 void OnSetNextPageID(int32 next_page_id); | 235 void OnSetNextPageID(int32 next_page_id); |
| 236 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); | 236 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); |
| 237 void OnCreateNewView(const ViewMsg_New_Params& params); | 237 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 238 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 238 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 239 void OnPurgePluginListCache(bool reload_pages); | 239 void OnPurgePluginListCache(bool reload_pages); |
| 240 void OnNetworkStateChanged(bool online); |
| 240 void OnGetAccessibilityTree(); | 241 void OnGetAccessibilityTree(); |
| 241 | 242 |
| 242 // We initialize WebKit as late as possible. | 243 // We initialize WebKit as late as possible. |
| 243 void EnsureWebKitInitialized(); | 244 void EnsureWebKitInitialized(); |
| 244 | 245 |
| 245 // These objects live solely on the render thread. | 246 // These objects live solely on the render thread. |
| 246 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > task_factory_; | 247 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > task_factory_; |
| 247 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 248 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 248 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; | 249 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; |
| 249 scoped_ptr<RendererWebKitClientImpl> webkit_client_; | 250 scoped_ptr<RendererWebKitClientImpl> webkit_client_; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 285 |
| 285 // Map of registered v8 extensions. The key is the extension name. | 286 // Map of registered v8 extensions. The key is the extension name. |
| 286 std::set<std::string> v8_extensions_; | 287 std::set<std::string> v8_extensions_; |
| 287 | 288 |
| 288 ObserverList<RenderProcessObserver> observers_; | 289 ObserverList<RenderProcessObserver> observers_; |
| 289 | 290 |
| 290 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 291 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ | 294 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |