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

Side by Side Diff: cc/proto/property_tree.proto

Issue 2423483003: cc: Make visible rect computation aware of pixel-moving filters (Closed)
Patch Set: Rebase Created 4 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 unified diff | Download patch
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 // Proto for StickyPositionNodeData 69 // Proto for StickyPositionNodeData
70 message StickyPositionNodeData { 70 message StickyPositionNodeData {
71 optional int64 scroll_ancestor = 1; 71 optional int64 scroll_ancestor = 1;
72 optional LayerStickyPositionConstraint constraints = 2; 72 optional LayerStickyPositionConstraint constraints = 2;
73 optional Vector2dF main_thread_offset = 3; 73 optional Vector2dF main_thread_offset = 3;
74 } 74 }
75 75
76 // Proto for struct ClipNodeData. 76 // Proto for struct ClipNodeData.
77 // NEXT ID: 14 77 // NEXT ID: 15
78 message ClipNodeData { 78 message ClipNodeData {
79 enum ClipType { 79 enum ClipType {
80 NONE = 1; 80 NONE = 1;
81 APPLIES_LOCAL_CLIP = 2; 81 APPLIES_LOCAL_CLIP = 2;
82 EXPANDS_CLIP = 3;
82 } 83 }
83 optional ClipType clip_type = 13; 84 optional ClipType clip_type = 13;
84 optional RectF clip = 1; 85 optional RectF clip = 1;
85 optional RectF combined_clip_in_target_space = 2; 86 optional RectF combined_clip_in_target_space = 2;
86 optional RectF clip_in_target_space = 3; 87 optional RectF clip_in_target_space = 3;
87 88
88 optional int64 transform_id = 4; 89 optional int64 transform_id = 4;
89 optional int64 target_transform_id = 5; 90 optional int64 target_transform_id = 5;
90 optional int64 target_effect_id = 12; 91 optional int64 target_effect_id = 12;
92 optional int64 clip_expander_effect_id = 14;
91 optional bool applies_local_clip = 6; 93 optional bool applies_local_clip = 6;
92 optional bool layer_clipping_uses_only_local_clip = 7; 94 optional bool layer_clipping_uses_only_local_clip = 7;
93 optional bool target_is_clipped = 8; 95 optional bool target_is_clipped = 8;
94 optional bool layers_are_clipped = 9; 96 optional bool layers_are_clipped = 9;
95 optional bool layers_are_clipped_when_surfaces_disabled = 10; 97 optional bool layers_are_clipped_when_surfaces_disabled = 10;
96 optional bool resets_clip = 11; 98 optional bool resets_clip = 11;
97 } 99 }
98 100
99 // Proto for struct EffectNodeData. 101 // Proto for struct EffectNodeData.
100 // NEXT ID: 27 102 // NEXT ID: 27
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 optional bool full_tree_damaged = 12; 231 optional bool full_tree_damaged = 12;
230 optional int64 sequence_number = 6; 232 optional int64 sequence_number = 6;
231 optional bool is_main_thread = 13; 233 optional bool is_main_thread = 13;
232 optional bool is_active = 14; 234 optional bool is_active = 14;
233 235
234 optional Vector2dF inner_viewport_container_bounds_delta = 8; 236 optional Vector2dF inner_viewport_container_bounds_delta = 8;
235 optional Vector2dF outer_viewport_container_bounds_delta = 9; 237 optional Vector2dF outer_viewport_container_bounds_delta = 9;
236 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 238 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
237 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; 239 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true];
238 } 240 }
OLDNEW
« no previous file with comments | « cc/proto/cc_conversions.cc ('k') | cc/trees/clip_expander.h » ('j') | cc/trees/clip_expander.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698