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

Unified Diff: mojo/common/common_custom_types.mojom

Issue 2379993003: Mojo C++ bindings: make String16 and gfx::Size available in Blink (Closed)
Patch Set: mapping back to WebSize :( Created 4 years, 2 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 | « no previous file | mojo/common/common_custom_types_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/common_custom_types.mojom
diff --git a/mojo/common/common_custom_types.mojom b/mojo/common/common_custom_types.mojom
index 6c0f4eba773e7103215a1394ea31fc71fde0635b..203fa3c844d7283d0570cb03f5d6513d315a0906 100644
--- a/mojo/common/common_custom_types.mojom
+++ b/mojo/common/common_custom_types.mojom
@@ -23,8 +23,12 @@ struct TimeDelta {
[Native]
struct TimeTicks;
-[Native]
-struct String16;
+// Corresponds to |base::string16| in base/strings/string16.h
+// Corresponds to |WTF::String| in
+// third_party/WebKit/Source/wtf/text/WTFString.h.
+struct String16 {
+ array<uint16> data;
+};
// Corresponds to |base::UnguessableToken| in base/unguessable_token.h
struct UnguessableToken {
« no previous file with comments | « no previous file | mojo/common/common_custom_types_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698