Index: blimp/common/compositor/blimp_layer_tree_settings.h |
diff --git a/blimp/common/compositor/blimp_layer_tree_settings.h b/blimp/common/compositor/blimp_layer_tree_settings.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ddbabbc42c13868e231ff22bde208fe58a6a931c |
--- /dev/null |
+++ b/blimp/common/compositor/blimp_layer_tree_settings.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_ |
+#define BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_ |
+ |
+#include "blimp/common/blimp_common_export.h" |
+ |
+namespace base { |
+class CommandLine; |
+} |
+ |
+namespace cc { |
+class LayerTreeSettings; |
+} |
+ |
+namespace gfx { |
+class Size; |
+} |
+ |
+namespace blimp { |
+ |
+// Populates shared server/client |settings| based on defaults & command line |
+// flags. This might have to be tweaked into a message protocol if it turns out |
+// the host compositor needs to actually drive some specific settings of the |
+// client. |
+BLIMP_COMMON_EXPORT void PopulateCommonLayerTreeSettings( |
+ cc::LayerTreeSettings* settings); |
+ |
+} // namespace blimp |
+ |
+#endif // BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_ |