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

Unified Diff: ui/gfx/mojo/selection_bound.mojom

Issue 2040483003: Implement gfx::SelectionBound StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/mojo/BUILD.gn ('k') | ui/gfx/mojo/selection_bound.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/selection_bound.mojom
diff --git a/ui/gfx/mojo/selection_bound.mojom b/ui/gfx/mojo/selection_bound.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..2544401bc511ce305812da22e615b80c7cf01820
--- /dev/null
+++ b/ui/gfx/mojo/selection_bound.mojom
@@ -0,0 +1,24 @@
+// 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;
+};
+
« no previous file with comments | « ui/gfx/mojo/BUILD.gn ('k') | ui/gfx/mojo/selection_bound.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698