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

Unified Diff: cc/proto/property_tree.proto

Issue 2437923002: cc: Change ClipNode::applies_local_clip to a clip_type enum (Closed)
Patch Set: Fix Windows build Created 4 years, 2 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/cc_conversions.cc ('k') | cc/trees/clip_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/property_tree.proto
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index 6724e457cc903632a5cdd5a19c2586fabb055ab0..ea5c44feb997d65988237f33266b7acff2194813 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -77,8 +77,13 @@ message StickyPositionNodeData {
}
// Proto for struct ClipNodeData.
-// NEXT ID: 13
+// NEXT ID: 14
message ClipNodeData {
+ enum ClipType {
+ NONE = 1;
+ APPLIES_LOCAL_CLIP = 2;
+ }
+ optional ClipType clip_type = 13;
optional RectF clip = 1;
optional RectF combined_clip_in_target_space = 2;
optional RectF clip_in_target_space = 3;
« no previous file with comments | « cc/proto/cc_conversions.cc ('k') | cc/trees/clip_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698