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

Unified Diff: components/view_manager/surfaces/surfaces_scheduler.h

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
Index: components/view_manager/surfaces/surfaces_scheduler.h
diff --git a/components/view_manager/surfaces/surfaces_scheduler.h b/components/view_manager/surfaces/surfaces_scheduler.h
deleted file mode 100644
index fad331286236bccd83e12719cce6c6c25c70593a..0000000000000000000000000000000000000000
--- a/components/view_manager/surfaces/surfaces_scheduler.h
+++ /dev/null
@@ -1,58 +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 COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SCHEDULER_H_
-#define COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SCHEDULER_H_
-
-#include <set>
-
-#include "cc/scheduler/scheduler.h"
-
-namespace cc {
-class Display;
-class RenderingStatsInstrumentation;
-}
-
-namespace surfaces {
-
-// TODO(brianderson): Reconcile with DisplayScheduler crbug.com/476676
-class SurfacesScheduler : public cc::SchedulerClient {
- public:
- SurfacesScheduler();
- ~SurfacesScheduler() override;
-
- void SetNeedsDraw();
-
- void OnVSyncParametersUpdated(base::TimeTicks timebase,
- base::TimeDelta interval);
-
- void AddDisplay(cc::Display* display);
- void RemoveDisplay(cc::Display* display);
-
- private:
- void WillBeginImplFrame(const cc::BeginFrameArgs& args) override;
- void DidFinishImplFrame() override;
- void ScheduledActionSendBeginMainFrame() override;
- cc::DrawResult ScheduledActionDrawAndSwapIfPossible() override;
- cc::DrawResult ScheduledActionDrawAndSwapForced() override;
- void ScheduledActionAnimate() override;
- void ScheduledActionCommit() override;
- void ScheduledActionActivateSyncTree() override;
- void ScheduledActionBeginOutputSurfaceCreation() override;
- void ScheduledActionPrepareTiles() override;
- void ScheduledActionInvalidateOutputSurface() override;
- void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
- void SendBeginMainFrameNotExpectedSoon() override;
-
- std::set<cc::Display*> displays_;
- scoped_ptr<cc::Scheduler> scheduler_;
- scoped_ptr<cc::RenderingStatsInstrumentation>
- rendering_stats_instrumentation_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler);
-};
-
-} // namespace surfaces
-
-#endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SCHEDULER_H_
« no previous file with comments | « components/view_manager/surfaces/surfaces_output_surface.cc ('k') | components/view_manager/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698