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

Side by Side Diff: components/exo/surface.h

Issue 2514033002: Introducing SurfaceReferenceFactory (Closed)
Patch Set: rebase Created 4 years 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 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
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_;
reveman 2016/12/15 19:59:58 nit: s/ref_factory_/surface_reference_factory_/ or
Saman Sami 2016/12/15 20:41:37 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698