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