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

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

Issue 2367393002: Migrating MediaSession messages to mojo (Closed)
Patch Set: better type mapping (experimental, should move to a separate CL) Created 4 years, 3 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/WebSize.typemap
diff --git a/third_party/WebKit/Source/platform/mojo/KURL.typemap b/third_party/WebKit/Source/platform/mojo/WebSize.typemap
similarity index 54%
copy from third_party/WebKit/Source/platform/mojo/KURL.typemap
copy to third_party/WebKit/Source/platform/mojo/WebSize.typemap
index 823e12ac496fe779ab1a8c62cdcc635c9f2315d2..f59fd4dc4bdff0f0e5aea50d6778be3bc2d07e68 100644
--- a/third_party/WebKit/Source/platform/mojo/KURL.typemap
+++ b/third_party/WebKit/Source/platform/mojo/WebSize.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/WebSizeStructTraits.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