| Index: device/gamepad/public/interfaces/webgamepad.typemap
|
| diff --git a/device/gamepad/public/interfaces/webgamepad.typemap b/device/gamepad/public/interfaces/webgamepad.typemap
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a4e3cfe31e770b07fc5e196e2bd45290297bed59
|
| --- /dev/null
|
| +++ b/device/gamepad/public/interfaces/webgamepad.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/webgamepad_struct_traits.h" ]
|
| +sources = [
|
| + "//device/gamepad/public/interfaces/webgamepad_struct_traits.cc",
|
| +]
|
| +deps = [
|
| + "//mojo/public/cpp/bindings",
|
| + "//third_party/WebKit/public:blink_headers",
|
| +]
|
| +
|
| +type_mappings = [
|
| + "device.mojom.WebGamepad=blink::WebGamepad",
|
| + "device.mojom.WebGamepadButton=blink::WebGamepadButton",
|
| + "device.mojom.WebGamepadHand=blink::WebGamepadHand",
|
| + "device.mojom.WebGamepadPose=blink::WebGamepadPose",
|
| + "device.mojom.WebGamepadQuaternion=blink::WebGamepadQuaternion",
|
| + "device.mojom.WebGamepadVector=blink::WebGamepadVector",
|
| +]
|
|
|