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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « cc/proto/cc_conversions.cc ('k') | cc/trees/clip_node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 import "element_id.proto"; 7 import "element_id.proto";
8 import "layer_sticky_position_constraint.proto"; 8 import "layer_sticky_position_constraint.proto";
9 import "rectf.proto"; 9 import "rectf.proto";
10 import "scroll_offset.proto"; 10 import "scroll_offset.proto";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 // Proto for StickyPositionNodeData 72 // Proto for StickyPositionNodeData
73 message StickyPositionNodeData { 73 message StickyPositionNodeData {
74 optional int64 scroll_ancestor = 1; 74 optional int64 scroll_ancestor = 1;
75 optional LayerStickyPositionConstraint constraints = 2; 75 optional LayerStickyPositionConstraint constraints = 2;
76 optional Vector2dF main_thread_offset = 3; 76 optional Vector2dF main_thread_offset = 3;
77 } 77 }
78 78
79 // Proto for struct ClipNodeData. 79 // Proto for struct ClipNodeData.
80 // NEXT ID: 13 80 // NEXT ID: 14
81 message ClipNodeData { 81 message ClipNodeData {
82 enum ClipType {
83 NONE = 1;
84 APPLIES_LOCAL_CLIP = 2;
85 }
86 optional ClipType clip_type = 13;
82 optional RectF clip = 1; 87 optional RectF clip = 1;
83 optional RectF combined_clip_in_target_space = 2; 88 optional RectF combined_clip_in_target_space = 2;
84 optional RectF clip_in_target_space = 3; 89 optional RectF clip_in_target_space = 3;
85 90
86 optional int64 transform_id = 4; 91 optional int64 transform_id = 4;
87 optional int64 target_transform_id = 5; 92 optional int64 target_transform_id = 5;
88 optional int64 target_effect_id = 12; 93 optional int64 target_effect_id = 12;
89 optional bool applies_local_clip = 6; 94 optional bool applies_local_clip = 6;
90 optional bool layer_clipping_uses_only_local_clip = 7; 95 optional bool layer_clipping_uses_only_local_clip = 7;
91 optional bool target_is_clipped = 8; 96 optional bool target_is_clipped = 8;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 optional bool full_tree_damaged = 12; 232 optional bool full_tree_damaged = 12;
228 optional int64 sequence_number = 6; 233 optional int64 sequence_number = 6;
229 optional bool is_main_thread = 13; 234 optional bool is_main_thread = 13;
230 optional bool is_active = 14; 235 optional bool is_active = 14;
231 236
232 optional Vector2dF inner_viewport_container_bounds_delta = 8; 237 optional Vector2dF inner_viewport_container_bounds_delta = 8;
233 optional Vector2dF outer_viewport_container_bounds_delta = 9; 238 optional Vector2dF outer_viewport_container_bounds_delta = 9;
234 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 239 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
235 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; 240 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true];
236 } 241 }
OLDNEW
« 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