OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_VSYNC_TIME_SOURCE_H_ | 5 #ifndef CC_VSYNC_TIME_SOURCE_H_ |
6 #define CC_VSYNC_TIME_SOURCE_H_ | 6 #define CC_VSYNC_TIME_SOURCE_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/time_source.h" | 9 #include "cc/time_source.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 class CC_EXPORT VSyncClient { | 13 class CC_EXPORT VSyncClient { |
14 public: | 14 public: |
15 virtual void DidVSync(base::TimeTicks frame_time) = 0; | 15 virtual void DidVSync(base::TimeTicks frame_time) = 0; |
16 | 16 |
17 protected: | 17 protected: |
18 virtual ~VSyncClient() {} | 18 virtual ~VSyncClient() {} |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 VSyncProvider* vsync_provider_; | 59 VSyncProvider* vsync_provider_; |
60 TimeSourceClient* client_; | 60 TimeSourceClient* client_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(VSyncTimeSource); | 62 DISALLOW_COPY_AND_ASSIGN(VSyncTimeSource); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace cc | 65 } // namespace cc |
66 | 66 |
67 #endif // CC_VSYNC_TIME_SOURCE_H_ | 67 #endif // CC_VSYNC_TIME_SOURCE_H_ |
OLD | NEW |