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

Side by Side Diff: cc/frame_rate_controller.h

Issue 11225022: cc: Remove CC*.h temporary includes, part 2/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/draw_quad_unittest.cc ('k') | cc/frame_rate_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCFrameRateController_h 5 #ifndef CCFrameRateController_h
6 #define CCFrameRateController_h 6 #define CCFrameRateController_h
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "CCTimer.h" 11 #include "cc/timer.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class CCThread; 15 class CCThread;
16 class CCTimeSource; 16 class CCTimeSource;
17 17
18 class CCFrameRateControllerClient { 18 class CCFrameRateControllerClient {
19 public: 19 public:
20 // Throttled is true when we have a maximum number of frames pending. 20 // Throttled is true when we have a maximum number of frames pending.
21 virtual void vsyncTick(bool throttled) = 0; 21 virtual void vsyncTick(bool throttled) = 0;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool m_swapBuffersCompleteSupported; 72 bool m_swapBuffersCompleteSupported;
73 73
74 // Members for unthrottled frame-rate. 74 // Members for unthrottled frame-rate.
75 bool m_isTimeSourceThrottling; 75 bool m_isTimeSourceThrottling;
76 scoped_ptr<CCTimer> m_manualTicker; 76 scoped_ptr<CCTimer> m_manualTicker;
77 }; 77 };
78 78
79 } // namespace cc 79 } // namespace cc
80 80
81 #endif // CCFrameRateController_h 81 #endif // CCFrameRateController_h
OLDNEW
« no previous file with comments | « cc/draw_quad_unittest.cc ('k') | cc/frame_rate_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698