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

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

Issue 2531323002: Struct traits for gfx::Range and gfx::RangeF. (Closed)
Patch Set: Add a missing include. Created 4 years, 1 month 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
Index: ui/gfx/range/mojo/range.mojom
diff --git a/ui/gfx/range/mojo/range.mojom b/ui/gfx/range/mojo/range.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..079c14611e0ec85d09de11fb10a58238ab707667
--- /dev/null
+++ b/ui/gfx/range/mojo/range.mojom
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
Tom Sepez 2016/11/28 21:50:25 Are we sure we don't have this same thing somewher
Robert Sesek 2016/11/28 22:17:31 Don't think so: https://cs.chromium.org/search/?q=
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module gfx.mojom;
+
+struct Range {
+ uint32 start;
+ uint32 end;
+};
+
+struct RangeF {
+ float start;
+ float end;
+};

Powered by Google App Engine
This is Rietveld 408576698