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 COMPONENTS_EXO_SURFACE_H_ | 5 #ifndef COMPONENTS_EXO_SURFACE_H_ |
6 #define COMPONENTS_EXO_SURFACE_H_ | 6 #define COMPONENTS_EXO_SURFACE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 const char* name; | 373 const char* name; |
374 int64_t value; | 374 int64_t value; |
375 PropertyDeallocator deallocator; | 375 PropertyDeallocator deallocator; |
376 }; | 376 }; |
377 | 377 |
378 std::map<const void*, Value> prop_map_; | 378 std::map<const void*, Value> prop_map_; |
379 | 379 |
380 // Surface observer list. Surface does not own the observers. | 380 // Surface observer list. Surface does not own the observers. |
381 base::ObserverList<SurfaceObserver, true> observers_; | 381 base::ObserverList<SurfaceObserver, true> observers_; |
382 | 382 |
| 383 scoped_refptr<cc::SurfaceReferenceFactory> ref_factory_; |
| 384 |
383 DISALLOW_COPY_AND_ASSIGN(Surface); | 385 DISALLOW_COPY_AND_ASSIGN(Surface); |
384 }; | 386 }; |
385 | 387 |
386 } // namespace exo | 388 } // namespace exo |
387 | 389 |
388 #endif // COMPONENTS_EXO_SURFACE_H_ | 390 #endif // COMPONENTS_EXO_SURFACE_H_ |
OLD | NEW |