Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: cc/output/begin_frame_args.h

Issue 221833009: cc: Move scheduling logic out of OutputSurface (Closed) Base URL: http://git.chromium.org/chromium/src.git@swapAck2Sched11
Patch Set: Remove invalid DCHECK causing flake Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698