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

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

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
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 #ifndef COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_ 5 #ifndef COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_
6 #define COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_ 6 #define COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "cc/scheduler/scheduler.h" 10 #include "cc/scheduler/scheduler.h"
11 11
12 namespace cc { 12 namespace cc {
13 class Display; 13 class Display;
14 class RenderingStatsInstrumentation; 14 class RenderingStatsInstrumentation;
15 } 15 }
16 16
17 namespace mus { 17 namespace surfaces {
18 18
19 // TODO(brianderson): Reconcile with DisplayScheduler crbug.com/476676 19 // TODO(brianderson): Reconcile with DisplayScheduler crbug.com/476676
20 class SurfacesScheduler : public cc::SchedulerClient { 20 class SurfacesScheduler : public cc::SchedulerClient {
21 public: 21 public:
22 SurfacesScheduler(); 22 SurfacesScheduler();
23 ~SurfacesScheduler() override; 23 ~SurfacesScheduler() override;
24 24
25 void SetNeedsDraw(); 25 void SetNeedsDraw();
26 26
27 void OnVSyncParametersUpdated(base::TimeTicks timebase, 27 void OnVSyncParametersUpdated(base::TimeTicks timebase,
(...skipping 18 matching lines...) Expand all
46 void SendBeginMainFrameNotExpectedSoon() override; 46 void SendBeginMainFrameNotExpectedSoon() override;
47 47
48 std::set<cc::Display*> displays_; 48 std::set<cc::Display*> displays_;
49 scoped_ptr<cc::Scheduler> scheduler_; 49 scoped_ptr<cc::Scheduler> scheduler_;
50 scoped_ptr<cc::RenderingStatsInstrumentation> 50 scoped_ptr<cc::RenderingStatsInstrumentation>
51 rendering_stats_instrumentation_; 51 rendering_stats_instrumentation_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler); 53 DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler);
54 }; 54 };
55 55
56 } // namespace mus 56 } // namespace surfaces
57 57
58 #endif // COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_ 58 #endif // COMPONENTS_MUS_SURFACES_SURFACES_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/mus/surfaces/surfaces_output_surface.cc ('k') | components/mus/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698