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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 #if defined(OS_MACOSX) | 447 #if defined(OS_MACOSX) |
448 void OnUpdateScrollbarTheme(float initial_button_delay, | 448 void OnUpdateScrollbarTheme(float initial_button_delay, |
449 float autoscroll_button_delay, | 449 float autoscroll_button_delay, |
450 bool jump_on_track_click, | 450 bool jump_on_track_click, |
451 blink::ScrollerStyle preferred_scroller_style, | 451 blink::ScrollerStyle preferred_scroller_style, |
452 bool redraw); | 452 bool redraw); |
453 #endif | 453 #endif |
454 void OnCreateNewSharedWorker( | 454 void OnCreateNewSharedWorker( |
455 const WorkerProcessMsg_CreateWorker_Params& params); | 455 const WorkerProcessMsg_CreateWorker_Params& params); |
456 | 456 |
457 void IdleHandlerInForegroundTab(); | |
458 | |
459 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 457 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
460 | 458 |
461 // These objects live solely on the render thread. | 459 // These objects live solely on the render thread. |
462 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 460 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
463 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 461 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
464 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 462 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
465 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 463 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
466 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; | 464 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
467 | 465 |
468 // Used on the render thread and deleted by WebKit at shutdown. | 466 // Used on the render thread and deleted by WebKit at shutdown. |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 bool is_one_copy_enabled_; | 586 bool is_one_copy_enabled_; |
589 | 587 |
590 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
591 | 589 |
592 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
593 }; | 591 }; |
594 | 592 |
595 } // namespace content | 593 } // namespace content |
596 | 594 |
597 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |