Update V8 to version 4.7.42.
[chromium-blink-merge.git] / cc / trees / property_tree_builder.h
bloba6cc52b4c6d9665e02e31c74fffc02a7b1aa9d61
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
3 // found in the LICENSE file.
5 #ifndef CC_TREES_PROPERTY_TREE_BUILDER_H_
6 #define CC_TREES_PROPERTY_TREE_BUILDER_H_
8 #include <vector>
10 #include "cc/trees/layer_tree_host_common.h"
11 #include "cc/trees/property_tree.h"
13 namespace cc {
15 class LayerTreeHost;
17 class PropertyTreeBuilder {
18 public:
19 static void BuildPropertyTrees(Layer* root_layer,
20 const Layer* page_scale_layer,
21 const Layer* inner_viewport_scroll_layer,
22 const Layer* outer_viewport_scroll_layer,
23 float page_scale_factor,
24 float device_scale_factor,
25 const gfx::Rect& viewport,
26 const gfx::Transform& device_transform,
27 PropertyTrees* property_trees);
28 static void BuildPropertyTrees(LayerImpl* root_layer,
29 const LayerImpl* page_scale_layer,
30 const LayerImpl* inner_viewport_scroll_layer,
31 const LayerImpl* outer_viewport_scroll_layer,
32 float page_scale_factor,
33 float device_scale_factor,
34 const gfx::Rect& viewport,
35 const gfx::Transform& device_transform,
36 PropertyTrees* property_trees);
39 } // namespace cc
41 #endif // CC_TREES_PROPERTY_TREE_BUILDER_H_