| 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 12 matching lines...) Expand all Loading... |
| 23 #include "ipc/ipc_channel_proxy.h" | 23 #include "ipc/ipc_channel_proxy.h" |
| 24 #include "ui/gfx/native_widget_types.h" | 24 #include "ui/gfx/native_widget_types.h" |
| 25 | 25 |
| 26 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
| 27 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 27 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 class GrContext; | 30 class GrContext; |
| 31 class SkBitmap; | 31 class SkBitmap; |
| 32 struct ViewMsg_New_Params; | 32 struct ViewMsg_New_Params; |
| 33 struct WorkerProcessMsg_CreateWorker_Params; |
| 33 | 34 |
| 34 namespace blink { | 35 namespace blink { |
| 35 class WebGamepads; | 36 class WebGamepads; |
| 36 class WebGraphicsContext3D; | 37 class WebGraphicsContext3D; |
| 37 class WebMediaStreamCenter; | 38 class WebMediaStreamCenter; |
| 38 class WebMediaStreamCenterClient; | 39 class WebMediaStreamCenterClient; |
| 39 } | 40 } |
| 40 | 41 |
| 41 namespace base { | 42 namespace base { |
| 42 class MessageLoopProxy; | 43 class MessageLoopProxy; |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 #if defined(OS_ANDROID) | 391 #if defined(OS_ANDROID) |
| 391 void OnSetWebKitSharedTimersSuspended(bool suspend); | 392 void OnSetWebKitSharedTimersSuspended(bool suspend); |
| 392 #endif | 393 #endif |
| 393 #if defined(OS_MACOSX) | 394 #if defined(OS_MACOSX) |
| 394 void OnUpdateScrollbarTheme(float initial_button_delay, | 395 void OnUpdateScrollbarTheme(float initial_button_delay, |
| 395 float autoscroll_button_delay, | 396 float autoscroll_button_delay, |
| 396 bool jump_on_track_click, | 397 bool jump_on_track_click, |
| 397 blink::ScrollerStyle preferred_scroller_style, | 398 blink::ScrollerStyle preferred_scroller_style, |
| 398 bool redraw); | 399 bool redraw); |
| 399 #endif | 400 #endif |
| 401 void OnCreateNewSharedWorker( |
| 402 const WorkerProcessMsg_CreateWorker_Params& params); |
| 400 | 403 |
| 401 void IdleHandlerInForegroundTab(); | 404 void IdleHandlerInForegroundTab(); |
| 402 | 405 |
| 403 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 406 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 404 | 407 |
| 405 // These objects live solely on the render thread. | 408 // These objects live solely on the render thread. |
| 406 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 409 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 407 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 410 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 408 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 411 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 409 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 412 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 // multiple threads. Current allocation mechanism for IOSurface | 506 // multiple threads. Current allocation mechanism for IOSurface |
| 504 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 507 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 505 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 508 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 506 | 509 |
| 507 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 510 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 508 }; | 511 }; |
| 509 | 512 |
| 510 } // namespace content | 513 } // namespace content |
| 511 | 514 |
| 512 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 515 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |