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 Thread; | 16 class Thread; |
(...skipping 25 matching lines...) Expand all Loading... |
42 friend class Task; | 42 friend class Task; |
43 void rateLimitContext(); | 43 void rateLimitContext(); |
44 | 44 |
45 WebKit::WebGraphicsContext3D* m_context; | 45 WebKit::WebGraphicsContext3D* m_context; |
46 bool m_active; | 46 bool m_active; |
47 RateLimiterClient *m_client; | 47 RateLimiterClient *m_client; |
48 Thread* m_thread; | 48 Thread* m_thread; |
49 }; | 49 }; |
50 | 50 |
51 } | 51 } |
52 #endif | 52 #endif // CC_RATE_LIMITER_H_ |
OLD | NEW |