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

Unified Diff: cc/proto/compositor_message_to_impl.proto

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings::ToProtobuf, update comments. Created 5 years 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: cc/proto/compositor_message_to_impl.proto
diff --git a/cc/proto/compositor_message_to_impl.proto b/cc/proto/compositor_message_to_impl.proto
new file mode 100644
index 0000000000000000000000000000000000000000..2faf9056cbf3beae33c5795c52d7e8af80aaad6d
--- /dev/null
+++ b/cc/proto/compositor_message_to_impl.proto
@@ -0,0 +1,28 @@
+// 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.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+import "layer_tree_settings.proto";
+
+package cc.proto;
+
+// Control messages sent to the impl side of the compositor on the client.
+message CompositorMessageToImpl {
+ enum Type {
+ Unknown = 0;
+ InitializeImpl = 1;
+ CloseImpl = 2;
+ MainThreadHasStoppedFlingingOnImpl = 3;
+ }
+
+ optional Type message_type = 1;
+ optional InitializeImpl initialize_impl_message = 2;
+}
+
+message InitializeImpl {
+ optional LayerTreeSettings layer_tree_settings = 1;
+}

Powered by Google App Engine
This is Rietveld 408576698