| OLD | NEW |
| 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/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "CCTimer.h" | 10 #include "cc/timer.h" |
| 11 #include <wtf/PassRefPtr.h> | 11 #include <wtf/PassRefPtr.h> |
| 12 #include <wtf/RefPtr.h> | 12 #include <wtf/RefPtr.h> |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class CCThread; | 16 class CCThread; |
| 17 class CCTimeSource; | 17 class CCTimeSource; |
| 18 | 18 |
| 19 class CCFrameRateControllerClient { | 19 class CCFrameRateControllerClient { |
| 20 public: | 20 public: |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 bool m_swapBuffersCompleteSupported; | 73 bool m_swapBuffersCompleteSupported; |
| 74 | 74 |
| 75 // Members for unthrottled frame-rate. | 75 // Members for unthrottled frame-rate. |
| 76 bool m_isTimeSourceThrottling; | 76 bool m_isTimeSourceThrottling; |
| 77 scoped_ptr<CCTimer> m_manualTicker; | 77 scoped_ptr<CCTimer> m_manualTicker; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace cc | 80 } // namespace cc |
| 81 | 81 |
| 82 #endif // CCFrameRateController_h | 82 #endif // CCFrameRateController_h |
| OLD | NEW |