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

Unified Diff: cc/proto/layer_tree.proto

Issue 2159513003: Setup LayerTree class, refactor 2 functions from LayerTreeHost to it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layer GetLayerTree now directly uses LayerTree pointer. Created 4 years, 5 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
« no previous file with comments | « cc/proto/BUILD.gn ('k') | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/layer_tree.proto
diff --git a/cc/proto/region.proto b/cc/proto/layer_tree.proto
similarity index 66%
copy from cc/proto/region.proto
copy to cc/proto/layer_tree.proto
index a4d235be3c5f6e0219910580f11a13a12fc4a503..790f08e672fef6063cd0714bab039d244287a0db 100644
--- a/cc/proto/region.proto
+++ b/cc/proto/layer_tree.proto
@@ -4,12 +4,11 @@
syntax = "proto2";
-import "rect.proto";
+package cc.proto;
option optimize_for = LITE_RUNTIME;
-package cc.proto;
-
-message Region {
- repeated Rect rects = 1;
+message LayerTree {
+ repeated int32 layers_that_should_push_properties = 1;
vmpstr 2016/07/28 21:43:22 Maybe we should name these with "id" in the name,
+ optional bool in_paint_layer_contents = 2;
vmpstr 2016/07/28 21:43:22 This looks like it's a transitive state that shoul
Khushal 2016/07/28 21:52:20 Yup, the aim is to move stuff that actually needs
}
« no previous file with comments | « cc/proto/BUILD.gn ('k') | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698