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

Side by Side Diff: third_party/WebKit/Source/platform/mojo/Geometry.typemap

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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 mojom = "//ui/gfx/geometry/mojo/geometry.mojom"
6 public_headers = [ "//third_party/WebKit/public/platform/WebSize.h" ]
7 traits_headers =
8 [ "//third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h" ]
9
10 # Note: consumers of this typemap must themselves depend on platform.
11 deps = [
12 "//mojo/public/cpp/bindings",
13 ]
14
15 # TODO(zqzhang): ideally, gfx.mojom.Size should be mapped into ::blink::IntSize.
16 # However that introduces an link issue on Windows. See https://crbug.com/653323
17 type_mappings = [ "gfx.mojom.Size=::blink::WebSize" ]
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/mojo/DEPS ('k') | third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698