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

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

Issue 1420883006: Move blimp_layer_tree_settings.h/cc to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaked a comment. Created 5 years, 1 month 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
« no previous file with comments | « blimp/client/compositor/blimp_compositor.cc ('k') | blimp/client/compositor/blimp_layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/compositor/blimp_layer_tree_settings.h
diff --git a/blimp/client/compositor/blimp_layer_tree_settings.h b/blimp/client/compositor/blimp_layer_tree_settings.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d7160e4d98ce1e65b4c5dfb8a5bcbc54205e3b4
--- /dev/null
+++ b/blimp/client/compositor/blimp_layer_tree_settings.h
@@ -0,0 +1,30 @@
+// 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_CLIENT_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_
+#define BLIMP_CLIENT_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_
+
+namespace base {
+class CommandLine;
+}
+
+namespace cc {
+class LayerTreeSettings;
+}
+
+namespace gfx {
+class Size;
+}
+
+namespace blimp {
+
+// Populates 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.
+void PopulateCommonLayerTreeSettings(cc::LayerTreeSettings* settings);
+
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_COMPOSITOR_BLIMP_LAYER_TREE_SETTINGS_H_
« no previous file with comments | « blimp/client/compositor/blimp_compositor.cc ('k') | blimp/client/compositor/blimp_layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698