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

Unified Diff: cc/scheduler/begin_frame_source.h

Issue 1201573002: cc: Remove BeginFrameSourcesConstructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove refptr changes Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/vsync_parameter_observer.h ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.h
diff --git a/cc/scheduler/begin_frame_source.h b/cc/scheduler/begin_frame_source.h
index 9f15eda19023708327cbb0c6e9baea023a41aa7a..9eb3ea279daf7c6d04b656d06c25b87d65a94b50 100644
--- a/cc/scheduler/begin_frame_source.h
+++ b/cc/scheduler/begin_frame_source.h
@@ -11,7 +11,6 @@
#include "base/logging.h"
#include "base/trace_event/trace_event.h"
#include "cc/output/begin_frame_args.h"
-#include "cc/output/vsync_parameter_observer.h"
#include "cc/scheduler/delay_based_time_source.h"
namespace cc {
@@ -208,22 +207,19 @@ class CC_EXPORT BackToBackBeginFrameSource : public BeginFrameSourceBase {
// A frame source which is locked to an external parameters provides from a
// vsync source and generates BeginFrameArgs for it.
class CC_EXPORT SyntheticBeginFrameSource : public BeginFrameSourceBase,
- public VSyncParameterObserver,
public TimeSourceClient {
public:
static scoped_ptr<SyntheticBeginFrameSource> Create(
base::SingleThreadTaskRunner* task_runner,
- base::TimeTicks initial_vsync_timebase,
base::TimeDelta initial_vsync_interval);
~SyntheticBeginFrameSource() override;
+ void OnUpdateVSyncParameters(base::TimeTicks new_vsync_timebase,
+ base::TimeDelta new_vsync_interval);
+
// Tracing
void AsValueInto(base::trace_event::TracedValue* dict) const override;
- // VSyncParameterObserver
- void OnUpdateVSyncParameters(base::TimeTicks new_vsync_timebase,
- base::TimeDelta new_vsync_interval) override;
-
// TimeSourceClient
void OnTimerTick() override;
« no previous file with comments | « cc/output/vsync_parameter_observer.h ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698