#ifndef CC_TREES_TREE_SYNCHRONIZER_H_
#define CC_TREES_TREE_SYNCHRONIZER_H_
#include "cc/cc_export.h"
#include "cc/trees/layer_tree_host.h"
namespace cc {
class LayerImpl;
class LayerTreeImpl;
class Layer;
class CC_EXPORT TreeSynchronizer {
public:
TreeSynchronizer() = delete;
static void SynchronizeTrees(const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state,
LayerTreeImpl* tree_impl);
static void SynchronizeTrees(LayerTreeImpl* pending_tree,
LayerTreeImpl* active_tree);
static void PushLayerProperties(const CommitState& commit_state,
const ThreadUnsafeCommitState& unsafe_state,
LayerTreeImpl* impl_tree);
static void PushLayerProperties(LayerTreeImpl* pending_tree,
LayerTreeImpl* active_tree);
};
}
#endif