Index: components/mus/surfaces/surfaces_scheduler.cc |
diff --git a/components/view_manager/surfaces/surfaces_scheduler.cc b/components/mus/surfaces/surfaces_scheduler.cc |
similarity index 86% |
rename from components/view_manager/surfaces/surfaces_scheduler.cc |
rename to components/mus/surfaces/surfaces_scheduler.cc |
index fcffc63a1f8bdc25519e71d109b6f4385545e190..a938f3344ed07d22f06d6844414bb1ca1981ba11 100644 |
--- a/components/view_manager/surfaces/surfaces_scheduler.cc |
+++ b/components/mus/surfaces/surfaces_scheduler.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/view_manager/surfaces/surfaces_scheduler.h" |
+#include "components/mus/surfaces/surfaces_scheduler.h" |
#include "cc/debug/rendering_stats_instrumentation.h" |
#include "cc/scheduler/compositor_timing_history.h" |
@@ -26,8 +26,7 @@ SurfacesScheduler::SurfacesScheduler() |
scheduler_->SetNeedsBeginMainFrame(); |
} |
-SurfacesScheduler::~SurfacesScheduler() { |
-} |
+SurfacesScheduler::~SurfacesScheduler() {} |
void SurfacesScheduler::SetNeedsDraw() { |
// Don't tell the scheduler we need to draw if we have no active displays |
@@ -57,11 +56,9 @@ void SurfacesScheduler::RemoveDisplay(cc::Display* display) { |
displays_.erase(it); |
} |
-void SurfacesScheduler::WillBeginImplFrame(const cc::BeginFrameArgs& args) { |
-} |
+void SurfacesScheduler::WillBeginImplFrame(const cc::BeginFrameArgs& args) {} |
-void SurfacesScheduler::DidFinishImplFrame() { |
-} |
+void SurfacesScheduler::DidFinishImplFrame() {} |
void SurfacesScheduler::ScheduledActionSendBeginMainFrame() { |
scheduler_->NotifyBeginMainFrameStarted(); |
@@ -80,31 +77,25 @@ cc::DrawResult SurfacesScheduler::ScheduledActionDrawAndSwapForced() { |
return cc::DRAW_SUCCESS; |
} |
-void SurfacesScheduler::ScheduledActionAnimate() { |
-} |
+void SurfacesScheduler::ScheduledActionAnimate() {} |
void SurfacesScheduler::ScheduledActionCommit() { |
scheduler_->NotifyReadyToActivate(); |
} |
-void SurfacesScheduler::ScheduledActionActivateSyncTree() { |
-} |
+void SurfacesScheduler::ScheduledActionActivateSyncTree() {} |
void SurfacesScheduler::ScheduledActionBeginOutputSurfaceCreation() { |
scheduler_->DidCreateAndInitializeOutputSurface(); |
} |
-void SurfacesScheduler::ScheduledActionPrepareTiles() { |
-} |
+void SurfacesScheduler::ScheduledActionPrepareTiles() {} |
-void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() { |
-} |
+void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() {} |
void SurfacesScheduler::SendBeginFramesToChildren( |
- const cc::BeginFrameArgs& args) { |
-} |
+ const cc::BeginFrameArgs& args) {} |
-void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { |
-} |
+void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() {} |
} // namespace mojo |