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

Side by Side Diff: cc/trees/property_tree_builder.h

Issue 2216203002: Refactor MutatorHostClient from LayerTreeHost to LayerTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on another LTH refactor CL. Created 4 years, 4 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/trees/layer_tree_host_unittest_serialization.cc ('k') | cc/trees/property_tree_builder.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_TREES_PROPERTY_TREE_BUILDER_H_ 5 #ifndef CC_TREES_PROPERTY_TREE_BUILDER_H_
6 #define CC_TREES_PROPERTY_TREE_BUILDER_H_ 6 #define CC_TREES_PROPERTY_TREE_BUILDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/trees/layer_tree_host_common.h" 10 #include "cc/trees/layer_tree_host_common.h"
11 #include "cc/trees/property_tree.h" 11 #include "cc/trees/property_tree.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class LayerTreeHost;
16
17 class PropertyTreeBuilder { 15 class PropertyTreeBuilder {
18 public: 16 public:
19 static Layer* FindFirstScrollableLayer(Layer* root_layer); 17 static Layer* FindFirstScrollableLayer(Layer* root_layer);
20 18
21 static void CC_EXPORT PreCalculateMetaInformation(Layer* root_layer); 19 static void CC_EXPORT PreCalculateMetaInformation(Layer* root_layer);
22 static void CC_EXPORT 20 static void CC_EXPORT
23 PreCalculateMetaInformationForTesting(LayerImpl* root_layer); 21 PreCalculateMetaInformationForTesting(LayerImpl* root_layer);
24 22
25 static void CC_EXPORT 23 static void CC_EXPORT
26 BuildPropertyTrees(Layer* root_layer, 24 BuildPropertyTrees(Layer* root_layer,
(...skipping 16 matching lines...) Expand all
43 float page_scale_factor, 41 float page_scale_factor,
44 float device_scale_factor, 42 float device_scale_factor,
45 const gfx::Rect& viewport, 43 const gfx::Rect& viewport,
46 const gfx::Transform& device_transform, 44 const gfx::Transform& device_transform,
47 PropertyTrees* property_trees); 45 PropertyTrees* property_trees);
48 }; 46 };
49 47
50 } // namespace cc 48 } // namespace cc
51 49
52 #endif // CC_TREES_PROPERTY_TREE_BUILDER_H_ 50 #endif // CC_TREES_PROPERTY_TREE_BUILDER_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_serialization.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698