OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 syntax = "proto2"; | |
6 | |
7 import "point.proto"; | |
8 import "rect.proto"; | |
9 import "transform.proto"; | |
10 | |
11 option optimize_for = LITE_RUNTIME; | |
12 | |
13 package cc.proto; | |
14 | |
15 message LayerStickyPositionConstraint { | |
16 optional bool is_sticky = 1; | |
17 optional bool is_anchored_left = 2; | |
18 optional bool is_anchored_right = 3; | |
19 optional bool is_anchored_top = 4; | |
20 optional bool is_anchored_bottom = 5; | |
21 | |
22 optional float left_offset = 6; | |
23 optional float right_offset = 7; | |
24 optional float top_offset = 8; | |
25 optional float bottom_offset = 9; | |
26 | |
27 optional Point parent_relative_sticky_box_offset = 12; | |
28 optional Rect scroll_container_relative_sticky_box_rect = 10; | |
29 optional Rect scroll_container_relative_containing_block_rect = 11; | |
30 }; | |
OLD | NEW |