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_OUTPUT_BEGIN_FRAME_ARGS_H_ | 5 #ifndef CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ | 6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
7 | 7 |
8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 base::TimeTicks frame_time; | 42 base::TimeTicks frame_time; |
43 base::TimeTicks deadline; | 43 base::TimeTicks deadline; |
44 base::TimeDelta interval; | 44 base::TimeDelta interval; |
45 | 45 |
46 private: | 46 private: |
47 BeginFrameArgs(base::TimeTicks frame_time, | 47 BeginFrameArgs(base::TimeTicks frame_time, |
48 base::TimeTicks deadline, | 48 base::TimeTicks deadline, |
49 base::TimeDelta interval); | 49 base::TimeDelta interval); |
50 }; | 50 }; |
51 | 51 |
52 class CC_EXPORT BeginFrameSourceClient { | |
brianderson
2014/04/23 21:10:02
This isn't actually used anymore. Will delete.
| |
53 protected: | |
54 virtual ~BeginFrameSourceClient() {} | |
55 | |
56 public: | |
57 virtual void BeginFrame(const BeginFrameArgs& args) = 0; | |
58 }; | |
59 | |
52 } // namespace cc | 60 } // namespace cc |
53 | 61 |
54 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ | 62 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
OLD | NEW |