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

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

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Delete useless include 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_unittest.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 #include "cc/surfaces/surface_manager.h" 5 #include "cc/surfaces/surface_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <queue> 10 #include <queue>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "cc/surfaces/direct_surface_reference_factory.h" 14 #include "cc/surfaces/direct_surface_reference_factory.h"
15 #include "cc/surfaces/local_surface_id_allocator.h"
15 #include "cc/surfaces/surface.h" 16 #include "cc/surfaces/surface.h"
16 #include "cc/surfaces/surface_factory_client.h" 17 #include "cc/surfaces/surface_factory_client.h"
17 #include "cc/surfaces/surface_id_allocator.h"
18 #include "cc/surfaces/surface_info.h" 18 #include "cc/surfaces/surface_info.h"
19 19
20 #if DCHECK_IS_ON() 20 #if DCHECK_IS_ON()
21 #include <sstream> 21 #include <sstream>
22 #endif 22 #endif
23 23
24 namespace cc { 24 namespace cc {
25 25
26 SurfaceManager::FrameSinkSourceMapping::FrameSinkSourceMapping() 26 SurfaceManager::FrameSinkSourceMapping::FrameSinkSourceMapping()
27 : client(nullptr), source(nullptr) {} 27 : client(nullptr), source(nullptr) {}
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 std::vector<SurfaceId> children(iter->second.begin(), iter->second.end()); 638 std::vector<SurfaceId> children(iter->second.begin(), iter->second.end());
639 std::sort(children.begin(), children.end()); 639 std::sort(children.begin(), children.end());
640 640
641 for (const SurfaceId& child_id : children) 641 for (const SurfaceId& child_id : children)
642 SurfaceReferencesToStringImpl(child_id, indent + " ", str); 642 SurfaceReferencesToStringImpl(child_id, indent + " ", str);
643 } 643 }
644 } 644 }
645 #endif // DCHECK_IS_ON() 645 #endif // DCHECK_IS_ON()
646 646
647 } // namespace cc 647 } // namespace cc
OLDNEW
« no previous file with comments | « cc/surfaces/surface_id_allocator.cc ('k') | cc/surfaces/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698