Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / blimp / common / compositor / blimp_layer_tree_settings.h
blobddbabbc42c13868e231ff22bde208fe58a6a931c
1 // Copyright 2015 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 BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_
6 #define BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_
8 #include "blimp/common/blimp_common_export.h"
10 namespace base {
11 class CommandLine;
14 namespace cc {
15 class LayerTreeSettings;
18 namespace gfx {
19 class Size;
22 namespace blimp {
24 // Populates shared server/client |settings| based on defaults & command line
25 // flags. This might have to be tweaked into a message protocol if it turns out
26 // the host compositor needs to actually drive some specific settings of the
27 // client.
28 BLIMP_COMMON_EXPORT void PopulateCommonLayerTreeSettings(
29 cc::LayerTreeSettings* settings);
31 } // namespace blimp
33 #endif // BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_