| Index: device/gamepad/public/interfaces/gamepad.typemap
|
| diff --git a/device/gamepad/public/interfaces/gamepad.typemap b/device/gamepad/public/interfaces/gamepad.typemap
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..531b5d0027fc483daf45c4b84ddefffa89c84cc8
|
| --- /dev/null
|
| +++ b/device/gamepad/public/interfaces/gamepad.typemap
|
| @@ -0,0 +1,24 @@
|
| +# 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 = "//device/gamepad/public/interfaces/gamepad.mojom"
|
| +public_headers = [ "//third_party/WebKit/public/platform/WebGamepad.h" ]
|
| +traits_headers =
|
| + [ "//device/gamepad/public/interfaces/gamepad_struct_traits.h" ]
|
| +sources = [
|
| + "//device/gamepad/public/interfaces/gamepad_struct_traits.cc",
|
| +]
|
| +deps = [
|
| + "//mojo/public/cpp/bindings",
|
| + "//third_party/WebKit/public:blink_headers",
|
| +]
|
| +
|
| +type_mappings = [
|
| + "device.mojom.Gamepad=blink::WebGamepad",
|
| + "device.mojom.GamepadButton=blink::WebGamepadButton",
|
| + "device.mojom.GamepadHand=blink::WebGamepadHand",
|
| + "device.mojom.GamepadPose=blink::WebGamepadPose[nullable_is_same_type]",
|
| + "device.mojom.GamepadQuaternion=blink::WebGamepadQuaternion[nullable_is_same_type]",
|
| + "device.mojom.GamepadVector=blink::WebGamepadVector[nullable_is_same_type]",
|
| +]
|
|
|