| Index: third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| diff --git a/third_party/WebKit/Source/platform/mojo/Geometry.typemap b/third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75c35459fc79b8f882a5169651e7150c5050cf70
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| @@ -0,0 +1,17 @@
|
| +# Copyright 2016 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 = "//ui/gfx/geometry/mojo/geometry.mojom"
|
| +public_headers = [ "//third_party/WebKit/public/platform/WebSize.h" ]
|
| +traits_headers =
|
| + [ "//third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h" ]
|
| +
|
| +# Note: consumers of this typemap must themselves depend on platform.
|
| +deps = [
|
| + "//mojo/public/cpp/bindings",
|
| +]
|
| +
|
| +# TODO(zqzhang): ideally, gfx.mojom.Size should be mapped into ::blink::IntSize.
|
| +# However that introduces an link issue on Windows. See https://crbug.com/653323
|
| +type_mappings = [ "gfx.mojom.Size=::blink::WebSize" ]
|
|
|