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

Side by Side Diff: cc/surfaces/surface_manager.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 10 months 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
« no previous file with comments | « cc/surfaces/surface_id_allocator.cc ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 const SurfaceId root_surface_id_; 243 const SurfaceId root_surface_id_;
244 244
245 // The DirectSurfaceReferenceFactory that uses this manager to create surface 245 // The DirectSurfaceReferenceFactory that uses this manager to create surface
246 // references. 246 // references.
247 scoped_refptr<SurfaceReferenceFactory> reference_factory_; 247 scoped_refptr<SurfaceReferenceFactory> reference_factory_;
248 248
249 // SurfaceIds that have temporary references from top level root so they 249 // SurfaceIds that have temporary references from top level root so they
250 // aren't GC'd before a real reference is added. This is basically a 250 // aren't GC'd before a real reference is added. This is basically a
251 // collection of surface ids, for example: 251 // collection of surface ids, for example:
252 // SurfaceId surface_id(key, value[index]); 252 // SurfaceId surface_id(key, value[index]);
253 // The LocalFrameIds are stored in the order the surfaces are created in. 253 // The LocalSurfaceIds are stored in the order the surfaces are created in.
254 std::unordered_map<FrameSinkId, std::vector<LocalFrameId>, FrameSinkIdHash> 254 std::unordered_map<FrameSinkId, std::vector<LocalSurfaceId>, FrameSinkIdHash>
255 temp_references_; 255 temp_references_;
256 256
257 base::WeakPtrFactory<SurfaceManager> weak_factory_; 257 base::WeakPtrFactory<SurfaceManager> weak_factory_;
258 258
259 DISALLOW_COPY_AND_ASSIGN(SurfaceManager); 259 DISALLOW_COPY_AND_ASSIGN(SurfaceManager);
260 }; 260 };
261 261
262 } // namespace cc 262 } // namespace cc
263 263
264 #endif // CC_SURFACES_SURFACE_MANAGER_H_ 264 #endif // CC_SURFACES_SURFACE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surface_id_allocator.cc ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698