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

Unified Diff: blimp/common/compositor/blimp_layer_tree_settings.h

Issue 1295243003: Initial commit of the blimp/ folder and target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some cleanup nits. Created 5 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 side-by-side diff with in-line comments
Download patch
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..9c2a9825e0d19a18932b61d0df46817de586101c
--- /dev/null
+++ b/blimp/common/compositor/blimp_layer_tree_settings.h
@@ -0,0 +1,34 @@
+// 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 base
+
+namespace cc {
+class LayerTreeSettings;
+} // namespace cc
danakj 2015/08/26 18:23:05 nit: normally don't use the // namespace comment w
David Trainor- moved to gerrit 2015/08/28 01:23:47 Done.
+
+namespace gfx {
+class Size;
+} // namespace gfx
+
+namespace blimp {
+
+// Contains the basic compositor settings that are shared between the common
+// blimp compositors instances. This might have to be tweaked into a message
+// protocol if it turns one one compositor needs to actually drive some specific
+// settings of the other.
+BLIMP_COMMON_EXPORT void PopulateCommonLayerTreeSettings(
+ cc::LayerTreeSettings& settings,
+ const base::CommandLine& cmd);
+
+} // namespace blimp
+
+#endif // BLIMP_COMMON_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_

Powered by Google App Engine
This is Rietveld 408576698