OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ | 5 #ifndef SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ |
6 #define SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ | 6 #define SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> |
9 #include <string> | 10 #include <string> |
10 #include <unordered_map> | 11 #include <unordered_map> |
11 #include <vector> | 12 #include <vector> |
12 | 13 |
13 #include "base/callback.h" | 14 #include "base/callback.h" |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #include "mojo/services/gfx/composition/interfaces/scenes.mojom.h" | 18 #include "mojo/services/gfx/composition/interfaces/scenes.mojom.h" |
18 #include "services/gfx/compositor/graph/node_def.h" | 19 #include "services/gfx/compositor/graph/node_def.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 scoped_refptr<const SceneContent> content_; | 142 scoped_refptr<const SceneContent> content_; |
142 | 143 |
143 base::WeakPtrFactory<SceneDef> weak_factory_; | 144 base::WeakPtrFactory<SceneDef> weak_factory_; |
144 | 145 |
145 DISALLOW_COPY_AND_ASSIGN(SceneDef); | 146 DISALLOW_COPY_AND_ASSIGN(SceneDef); |
146 }; | 147 }; |
147 | 148 |
148 } // namespace compositor | 149 } // namespace compositor |
149 | 150 |
150 #endif // SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ | 151 #endif // SERVICES_GFX_COMPOSITOR_GRAPH_SCENE_DEF_H_ |
OLD | NEW |