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