| 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 CC_SURFACES_SURFACE_MANAGER_H_ | 5 #ifndef CC_SURFACES_SURFACE_MANAGER_H_ |
| 6 #define CC_SURFACES_SURFACE_MANAGER_H_ | 6 #define CC_SURFACES_SURFACE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 #include <unordered_map> | 11 #include <unordered_map> |
| 12 #include <unordered_set> | 12 #include <unordered_set> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 18 #include "cc/surfaces/surface_damage_observer.h" | 19 #include "cc/surfaces/surface_damage_observer.h" |
| 19 #include "cc/surfaces/surface_id.h" | 20 #include "cc/surfaces/surface_id.h" |
| 20 #include "cc/surfaces/surface_sequence.h" | 21 #include "cc/surfaces/surface_sequence.h" |
| 21 #include "cc/surfaces/surfaces_export.h" | 22 #include "cc/surfaces/surfaces_export.h" |
| 22 | 23 |
| 23 namespace cc { | 24 namespace cc { |
| 24 class BeginFrameSource; | 25 class BeginFrameSource; |
| 25 class CompositorFrame; | 26 class CompositorFrame; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // that is implicitly using this namespace must be reachable by the | 142 // that is implicitly using this namespace must be reachable by the |
| 142 // parent in the dag. | 143 // parent in the dag. |
| 143 std::unordered_map<BeginFrameSource*, uint32_t> registered_sources_; | 144 std::unordered_map<BeginFrameSource*, uint32_t> registered_sources_; |
| 144 | 145 |
| 145 DISALLOW_COPY_AND_ASSIGN(SurfaceManager); | 146 DISALLOW_COPY_AND_ASSIGN(SurfaceManager); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace cc | 149 } // namespace cc |
| 149 | 150 |
| 150 #endif // CC_SURFACES_SURFACE_MANAGER_H_ | 151 #endif // CC_SURFACES_SURFACE_MANAGER_H_ |
| OLD | NEW |