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

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

Issue 2379993003: Mojo C++ bindings: make String16 and gfx::Size available in Blink (Closed)
Patch Set: addressed esprehn and rockot's comments 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
Index: third_party/WebKit/Source/platform/mojo/WebGeometry.typemap
diff --git a/third_party/WebKit/Source/platform/mojo/KURL.typemap b/third_party/WebKit/Source/platform/mojo/WebGeometry.typemap
similarity index 54%
copy from third_party/WebKit/Source/platform/mojo/KURL.typemap
copy to third_party/WebKit/Source/platform/mojo/WebGeometry.typemap
index 823e12ac496fe779ab1a8c62cdcc635c9f2315d2..e994e3961204b614d0895a226e834076ecbf49f0 100644
--- a/third_party/WebKit/Source/platform/mojo/KURL.typemap
+++ b/third_party/WebKit/Source/platform/mojo/WebGeometry.typemap
@@ -2,14 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-mojom = "//url/mojo/url.mojom"
-public_headers = [ "//third_party/WebKit/Source/platform/weborigin/KURL.h" ]
+mojom = "//ui/gfx/geometry/mojo/geometry.mojom"
+public_headers = [ "//third_party/WebKit/public/platform/WebSize.h" ]
traits_headers =
- [ "//third_party/WebKit/Source/platform/mojo/KURLStructTraits.h" ]
+ [ "//third_party/WebKit/Source/platform/mojo/WebGeometryStructTraits.h" ]
# Note: consumers of this typemap must themselves depend on platform.
deps = [
"//mojo/public/cpp/bindings",
- "//url",
]
-type_mappings = [ "url.mojom.Url=::blink::KURL" ]
+type_mappings = [ "gfx.mojom.Size=::blink::WebSize" ]

Powered by Google App Engine
This is Rietveld 408576698