| 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 // The number of idle handler calls that skip sending idle notifications. | 540 // The number of idle handler calls that skip sending idle notifications. |
| 541 int idle_notifications_to_skip_; | 541 int idle_notifications_to_skip_; |
| 542 | 542 |
| 543 bool notify_webkit_of_modal_loop_; | 543 bool notify_webkit_of_modal_loop_; |
| 544 bool webkit_shared_timer_suspended_; | 544 bool webkit_shared_timer_suspended_; |
| 545 | 545 |
| 546 // The following flag is used to control layout test specific behavior. | 546 // The following flag is used to control layout test specific behavior. |
| 547 bool layout_test_mode_; | 547 bool layout_test_mode_; |
| 548 | 548 |
| 549 // Timer that periodically calls IdleHandler. | 549 // Timer that periodically calls IdleHandler. |
| 550 base::RepeatingTimer<RenderThreadImpl> idle_timer_; | 550 base::RepeatingTimer idle_timer_; |
| 551 | 551 |
| 552 // The channel from the renderer process to the GPU process. | 552 // The channel from the renderer process to the GPU process. |
| 553 scoped_refptr<GpuChannelHost> gpu_channel_; | 553 scoped_refptr<GpuChannelHost> gpu_channel_; |
| 554 | 554 |
| 555 // Cache of variables that are needed on the compositor thread by | 555 // Cache of variables that are needed on the compositor thread by |
| 556 // GpuChannelHostFactory methods. | 556 // GpuChannelHostFactory methods. |
| 557 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; | 557 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; |
| 558 | 558 |
| 559 // The message loop of the renderer main thread. | 559 // The message loop of the renderer main thread. |
| 560 // This message loop should be destructed before the RenderThreadImpl | 560 // This message loop should be destructed before the RenderThreadImpl |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 657 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 658 }; | 658 }; |
| 659 | 659 |
| 660 #if defined(COMPILER_MSVC) | 660 #if defined(COMPILER_MSVC) |
| 661 #pragma warning(pop) | 661 #pragma warning(pop) |
| 662 #endif | 662 #endif |
| 663 | 663 |
| 664 } // namespace content | 664 } // namespace content |
| 665 | 665 |
| 666 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 666 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |