| 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 RateLimiter_h | 5 #ifndef CC_RATE_LIMITER_H_ |
| 6 #define RateLimiter_h | 6 #define CC_RATE_LIMITER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 | 9 |
| 10 namespace WebKit { | 10 namespace WebKit { |
| 11 class WebGraphicsContext3D; | 11 class WebGraphicsContext3D; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class RateLimiterClient { | 16 class RateLimiterClient { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 class Task; | 39 class Task; |
| 40 friend class Task; | 40 friend class Task; |
| 41 void rateLimitContext(); | 41 void rateLimitContext(); |
| 42 | 42 |
| 43 WebKit::WebGraphicsContext3D* m_context; | 43 WebKit::WebGraphicsContext3D* m_context; |
| 44 bool m_active; | 44 bool m_active; |
| 45 RateLimiterClient *m_client; | 45 RateLimiterClient *m_client; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } | 48 } |
| 49 #endif | 49 #endif // CC_RATE_LIMITER_H_ |
| OLD | NEW |