diff options
Diffstat (limited to 'cc/proto')
-rw-r--r-- | cc/proto/BUILD.gn | 1 | ||||
-rw-r--r-- | cc/proto/layer_selection_bound.proto | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/cc/proto/BUILD.gn b/cc/proto/BUILD.gn index 6ffdc7b..2548e59 100644 --- a/cc/proto/BUILD.gn +++ b/cc/proto/BUILD.gn @@ -34,6 +34,7 @@ proto_library("proto_internal") { "display_list_recording_source.proto", "layer.proto", "layer_position_constraint.proto", + "layer_selection_bound.proto", "layer_tree_debug_state.proto", "layer_tree_settings.proto", "managed_memory_policy.proto", diff --git a/cc/proto/layer_selection_bound.proto b/cc/proto/layer_selection_bound.proto new file mode 100644 index 0000000..397a1f8 --- /dev/null +++ b/cc/proto/layer_selection_bound.proto @@ -0,0 +1,26 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +syntax = "proto2"; + +import "point.proto"; + +option optimize_for = LITE_RUNTIME; + +package cc.proto; + +enum SelectionBoundType { + UNKNOWN = 0; + LEFT = 1; + RIGHT = 2; + CENTER = 3; + EMPTY = 4; +} + +message LayerSelectionBound { + optional SelectionBoundType type = 1; + optional Point edge_top = 2; + optional Point edge_bottom = 3; + optional int32 layer_id = 4; +} |