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

Side by Side Diff: cc/scheduler/begin_frame_source.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/resources/zero_copy_tile_task_worker_pool.cc ('k') | cc/scheduler/begin_frame_source.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 5 #ifndef CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
6 #define CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 6 #define CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/debug/trace_event.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/trace_event/trace_event.h"
13 #include "cc/output/begin_frame_args.h" 13 #include "cc/output/begin_frame_args.h"
14 #include "cc/output/vsync_parameter_observer.h" 14 #include "cc/output/vsync_parameter_observer.h"
15 #include "cc/scheduler/delay_based_time_source.h" 15 #include "cc/scheduler/delay_based_time_source.h"
16 16
17 namespace cc { 17 namespace cc {
18 18
19 // (Pure) Interface for observing BeginFrame messages from BeginFrameSource 19 // (Pure) Interface for observing BeginFrame messages from BeginFrameSource
20 // objects. 20 // objects.
21 class CC_EXPORT BeginFrameObserver { 21 class CC_EXPORT BeginFrameObserver {
22 public: 22 public:
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 base::TimeDelta minimum_interval_; 277 base::TimeDelta minimum_interval_;
278 278
279 BeginFrameSource* active_source_; 279 BeginFrameSource* active_source_;
280 std::set<BeginFrameSource*> source_list_; 280 std::set<BeginFrameSource*> source_list_;
281 }; 281 };
282 282
283 } // namespace cc 283 } // namespace cc
284 284
285 #endif // CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 285 #endif // CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/resources/zero_copy_tile_task_worker_pool.cc ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698