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

Unified Diff: components/mus/surfaces/surfaces_scheduler.cc

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
« no previous file with comments | « components/mus/surfaces/surfaces_scheduler.h ('k') | components/mus/surfaces/surfaces_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/mus/surfaces/surfaces_scheduler.h ('k') | components/mus/surfaces/surfaces_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698