Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // The number of idle handler calls that skip sending idle notifications. 542 // The number of idle handler calls that skip sending idle notifications.
543 int idle_notifications_to_skip_; 543 int idle_notifications_to_skip_;
544 544
545 bool notify_webkit_of_modal_loop_; 545 bool notify_webkit_of_modal_loop_;
546 bool webkit_shared_timer_suspended_; 546 bool webkit_shared_timer_suspended_;
547 547
548 // The following flag is used to control layout test specific behavior. 548 // The following flag is used to control layout test specific behavior.
549 bool layout_test_mode_; 549 bool layout_test_mode_;
550 550
551 // Timer that periodically calls IdleHandler. 551 // Timer that periodically calls IdleHandler.
552 base::RepeatingTimer<RenderThreadImpl> idle_timer_; 552 base::RepeatingTimer idle_timer_;
553 553
554 // The channel from the renderer process to the GPU process. 554 // The channel from the renderer process to the GPU process.
555 scoped_refptr<GpuChannelHost> gpu_channel_; 555 scoped_refptr<GpuChannelHost> gpu_channel_;
556 556
557 // Cache of variables that are needed on the compositor thread by 557 // Cache of variables that are needed on the compositor thread by
558 // GpuChannelHostFactory methods. 558 // GpuChannelHostFactory methods.
559 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; 559 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_;
560 560
561 // The message loop of the renderer main thread. 561 // The message loop of the renderer main thread.
562 // This message loop should be destructed before the RenderThreadImpl 562 // This message loop should be destructed before the RenderThreadImpl
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 659 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
660 }; 660 };
661 661
662 #if defined(COMPILER_MSVC) 662 #if defined(COMPILER_MSVC)
663 #pragma warning(pop) 663 #pragma warning(pop)
664 #endif 664 #endif
665 665
666 } // namespace content 666 } // namespace content
667 667
668 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 668 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_instance_throttler_impl.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698