| OLD | NEW |
| 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_SURFACES_SURFACES_SCHEDULER_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SCHEDULER_H_ |
| 6 #define COMPONENTS_SURFACES_SURFACES_SCHEDULER_H_ | 6 #define COMPONENTS_VIEW_MANAGER_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 } | 14 } |
| 15 | 15 |
| 16 namespace surfaces { | 16 namespace surfaces { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; | 47 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; |
| 48 void SendBeginMainFrameNotExpectedSoon() override; | 48 void SendBeginMainFrameNotExpectedSoon() override; |
| 49 | 49 |
| 50 std::set<cc::Display*> displays_; | 50 std::set<cc::Display*> displays_; |
| 51 scoped_ptr<cc::Scheduler> scheduler_; | 51 scoped_ptr<cc::Scheduler> scheduler_; |
| 52 base::TimeDelta draw_estimate_; | 52 base::TimeDelta draw_estimate_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler); | 54 DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace mojo | 57 } // namespace surfaces |
| 58 | 58 |
| 59 #endif // COMPONENTS_SURFACES_SURFACES_SCHEDULER_H_ | 59 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SCHEDULER_H_ |
| OLD | NEW |