naiveproxy/ui/gfx/mojo/selection_bound.mojom

25 lines
478 B
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
// Copyright 2016 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.
module gfx.mojom;
import "ui/gfx/geometry/mojo/geometry.mojom";
enum SelectionBoundType {
LEFT,
RIGHT,
CENTER,
EMPTY,
LAST = EMPTY
};
// See ui/gfx/selection_bound.h.
struct SelectionBound {
SelectionBoundType type;
gfx.mojom.PointF edge_top;
gfx.mojom.PointF edge_bottom;
bool visible;
};