| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 void OnCreateNewSharedWorker( | 521 void OnCreateNewSharedWorker( |
| 522 const WorkerProcessMsg_CreateWorker_Params& params); | 522 const WorkerProcessMsg_CreateWorker_Params& params); |
| 523 bool RendererIsHidden() const; | 523 bool RendererIsHidden() const; |
| 524 void OnRendererHidden(); | 524 void OnRendererHidden(); |
| 525 void OnRendererVisible(); | 525 void OnRendererVisible(); |
| 526 | 526 |
| 527 void ReleaseFreeMemory(); | 527 void ReleaseFreeMemory(); |
| 528 | 528 |
| 529 std::unique_ptr<WebGraphicsContext3DCommandBufferImpl> | 529 std::unique_ptr<WebGraphicsContext3DCommandBufferImpl> |
| 530 CreateOffscreenContext3d(); | 530 CreateOffscreenContext3d(); |
| 531 void OnSyncMemoryPressure( |
| 532 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
| 531 | 533 |
| 532 // These objects live solely on the render thread. | 534 // These objects live solely on the render thread. |
| 533 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; | 535 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 534 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 536 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 535 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 537 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 536 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; | 538 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; |
| 537 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 539 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| 538 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; | 540 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; |
| 539 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; | 541 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; |
| 540 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; | 542 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 719 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 718 }; | 720 }; |
| 719 | 721 |
| 720 #if defined(COMPILER_MSVC) | 722 #if defined(COMPILER_MSVC) |
| 721 #pragma warning(pop) | 723 #pragma warning(pop) |
| 722 #endif | 724 #endif |
| 723 | 725 |
| 724 } // namespace content | 726 } // namespace content |
| 725 | 727 |
| 726 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 728 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |