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

Side by Side Diff: components/mus/surfaces/surfaces_scheduler.cc

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/mus/surfaces/surfaces_scheduler.h" 5 #include "components/mus/surfaces/surfaces_scheduler.h"
6 6
7 #include "cc/debug/rendering_stats_instrumentation.h" 7 #include "cc/debug/rendering_stats_instrumentation.h"
8 #include "cc/scheduler/compositor_timing_history.h" 8 #include "cc/scheduler/compositor_timing_history.h"
9 #include "cc/surfaces/display.h" 9 #include "cc/surfaces/display.h"
10 10
11 namespace mus { 11 namespace surfaces {
12 12
13 SurfacesScheduler::SurfacesScheduler() 13 SurfacesScheduler::SurfacesScheduler()
14 : rendering_stats_instrumentation_( 14 : rendering_stats_instrumentation_(
15 cc::RenderingStatsInstrumentation::Create()) { 15 cc::RenderingStatsInstrumentation::Create()) {
16 cc::SchedulerSettings settings; 16 cc::SchedulerSettings settings;
17 scoped_ptr<cc::CompositorTimingHistory> compositor_timing_history( 17 scoped_ptr<cc::CompositorTimingHistory> compositor_timing_history(
18 new cc::CompositorTimingHistory(cc::CompositorTimingHistory::NULL_UMA, 18 new cc::CompositorTimingHistory(cc::CompositorTimingHistory::NULL_UMA,
19 rendering_stats_instrumentation_.get())); 19 rendering_stats_instrumentation_.get()));
20 scheduler_ = cc::Scheduler::Create( 20 scheduler_ = cc::Scheduler::Create(
21 this, settings, 0, base::MessageLoop::current()->task_runner().get(), 21 this, settings, 0, base::MessageLoop::current()->task_runner().get(),
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 void SurfacesScheduler::ScheduledActionPrepareTiles() {} 92 void SurfacesScheduler::ScheduledActionPrepareTiles() {}
93 93
94 void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() {} 94 void SurfacesScheduler::ScheduledActionInvalidateOutputSurface() {}
95 95
96 void SurfacesScheduler::SendBeginFramesToChildren( 96 void SurfacesScheduler::SendBeginFramesToChildren(
97 const cc::BeginFrameArgs& args) {} 97 const cc::BeginFrameArgs& args) {}
98 98
99 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() {} 99 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() {}
100 100
101 } // namespace mus 101 } // namespace mojo
OLDNEW
« 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