| OLD | NEW |
| 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 373 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 374 const std::string& host, | 374 const std::string& host, |
| 375 double zoom_level); | 375 double zoom_level); |
| 376 void OnCreateNewView(const ViewMsg_New_Params& params); | 376 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 377 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 377 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 378 void OnPurgePluginListCache(bool reload_pages); | 378 void OnPurgePluginListCache(bool reload_pages); |
| 379 void OnNetworkStateChanged(bool online); | 379 void OnNetworkStateChanged(bool online); |
| 380 void OnGetAccessibilityTree(); | 380 void OnGetAccessibilityTree(); |
| 381 void OnTempCrashWithData(const GURL& data); | 381 void OnTempCrashWithData(const GURL& data); |
| 382 void OnSetRendererProcessID(base::ProcessId process_id); | 382 void OnSetRendererProcessID(base::ProcessId process_id); |
| 383 void OnSetWebKitSharedTimersSuspended(bool suspend); | |
| 384 void OnMemoryPressure( | 383 void OnMemoryPressure( |
| 385 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); | 384 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
| 385 #if defined(OS_ANDROID) |
| 386 void OnSetWebKitSharedTimersSuspended(bool suspend); |
| 387 #endif |
| 388 #if defined(OS_MACOSX) |
| 389 void OnUpdateScrollbarTheme(float initial_button_delay, |
| 390 float autoscroll_button_delay, |
| 391 bool jump_on_track_click, |
| 392 bool redraw); |
| 393 #endif |
| 386 | 394 |
| 387 void IdleHandlerInForegroundTab(); | 395 void IdleHandlerInForegroundTab(); |
| 388 | 396 |
| 389 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 397 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 390 | 398 |
| 391 // These objects live solely on the render thread. | 399 // These objects live solely on the render thread. |
| 392 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 400 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 393 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 401 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 394 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 402 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 395 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 403 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 501 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 494 | 502 |
| 495 base::ProcessId renderer_process_id_; | 503 base::ProcessId renderer_process_id_; |
| 496 | 504 |
| 497 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 505 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 498 }; | 506 }; |
| 499 | 507 |
| 500 } // namespace content | 508 } // namespace content |
| 501 | 509 |
| 502 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 510 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |