| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 void Init(); | 226 void Init(); |
| 227 | 227 |
| 228 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); | 228 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); |
| 229 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); | 229 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); |
| 230 void OnSetNextPageID(int32 next_page_id); | 230 void OnSetNextPageID(int32 next_page_id); |
| 231 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); | 231 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); |
| 232 void OnCreateNewView(const ViewMsg_New_Params& params); | 232 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 233 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 233 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 234 void OnPurgePluginListCache(bool reload_pages); | 234 void OnPurgePluginListCache(bool reload_pages); |
| 235 void OnNetworkStateChanged(bool online); |
| 235 void OnGetAccessibilityTree(); | 236 void OnGetAccessibilityTree(); |
| 236 | 237 |
| 237 // We initialize WebKit as late as possible. | 238 // We initialize WebKit as late as possible. |
| 238 void EnsureWebKitInitialized(); | 239 void EnsureWebKitInitialized(); |
| 239 | 240 |
| 240 // These objects live solely on the render thread. | 241 // These objects live solely on the render thread. |
| 241 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > task_factory_; | 242 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > task_factory_; |
| 242 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 243 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 243 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; | 244 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; |
| 244 scoped_ptr<RendererWebKitClientImpl> webkit_client_; | 245 scoped_ptr<RendererWebKitClientImpl> webkit_client_; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 277 |
| 277 // Map of registered v8 extensions. The key is the extension name. | 278 // Map of registered v8 extensions. The key is the extension name. |
| 278 std::set<std::string> v8_extensions_; | 279 std::set<std::string> v8_extensions_; |
| 279 | 280 |
| 280 ObserverList<RenderProcessObserver> observers_; | 281 ObserverList<RenderProcessObserver> observers_; |
| 281 | 282 |
| 282 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 283 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
| 283 }; | 284 }; |
| 284 | 285 |
| 285 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ | 286 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |