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

Unified Diff: sky/scheduler/scheduler.h

Issue 963513004: Delete sky/scheduler (Closed) Base URL: git@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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/scheduler/BUILD.gn ('k') | sky/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/scheduler/scheduler.h
diff --git a/sky/scheduler/scheduler.h b/sky/scheduler/scheduler.h
deleted file mode 100644
index 05aace9e18f97d85f3b9d599f993245456d82ecf..0000000000000000000000000000000000000000
--- a/sky/scheduler/scheduler.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_SCHEDULER_SCHEDULER_H_
-#define SKY_SCHEDULER_SCHEDULER_H_
-
-#include "base/single_thread_task_runner.h"
-#include "base/time/time.h"
-#include "sky/scheduler/timer.h"
-
-namespace sky {
-
-class Scheduler : public Timer::Client {
- public:
- class Client {
- public:
- virtual void BeginFrame(base::TimeTicks frame_time,
- base::TimeTicks deadline) = 0;
-
- protected:
- virtual ~Client();
- };
-
- Scheduler(Client* client,
- scoped_refptr<base::SingleThreadTaskRunner> task_runner);
- ~Scheduler();
-
- void UpdateFrameDuration(base::TimeDelta estimate);
- void UpdateVSync(const TimeInterval& vsync);
-
- void SetNeedsFrame();
-
- private:
- void UpdateTimerInterval();
- void OnTimerTick(base::TimeTicks now) override;
-
- Client* client_;
- Timer timer_;
- TimeInterval vsync_;
- base::TimeDelta frame_duration_;
-};
-}
-
-#endif // SKY_SCHEDULER_SCHEDULER_H_
« no previous file with comments | « sky/scheduler/BUILD.gn ('k') | sky/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698