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

Unified Diff: third_party/WebKit/Source/platform/mojo/Time.typemap

Issue 2887353004: WIP mojo typemaps for WTF time types (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/mojo/Time.typemap
diff --git a/third_party/WebKit/Source/platform/mojo/Time.typemap b/third_party/WebKit/Source/platform/mojo/Time.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..3807da9db3d1377e979b1900bdede9db70518310
--- /dev/null
+++ b/third_party/WebKit/Source/platform/mojo/Time.typemap
@@ -0,0 +1,21 @@
+# Copyright 2017 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.
+
+mojom = "//mojo/common/time.mojom"
+public_headers = [ "//third_party/WebKit/Source/platform/wtf/Time.h" ]
+traits_headers = [
+ "//ipc/ipc_message_utils.h",
+ "//mojo/common/common_custom_types_struct_traits.h",
+ "//third_party/WebKit/Source/platform/mojo/TimeStructTraits.h",
+]
+public_deps = [
+ "//ipc",
+ "//mojo/common:struct_traits",
+]
+
+type_mappings = [
+ "mojo.common.mojom.Time=WTF::Time[copyable_pass_by_value]",
+ "mojo.common.mojom.TimeDelta=WTF::TimeDelta[copyable_pass_by_value]",
+ "mojo.common.mojom.TimeTicks=WTF::TimeTicks[copyable_pass_by_value]",
+]
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRDisplay.cpp ('k') | third_party/WebKit/Source/platform/mojo/TimeStructTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698