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

Side by Side Diff: device/gamepad/public/interfaces/gamepad.typemap

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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
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 = "//device/gamepad/public/interfaces/gamepad.mojom" 5 mojom = "//device/gamepad/public/interfaces/gamepad.mojom"
6 public_headers = [ "//third_party/WebKit/public/platform/WebGamepad.h" ] 6 public_headers = [ "//device/gamepad/public/cpp/gamepad.h" ]
7 traits_headers = 7 traits_headers =
8 [ "//device/gamepad/public/interfaces/gamepad_struct_traits.h" ] 8 [ "//device/gamepad/public/interfaces/gamepad_struct_traits.h" ]
9 sources = [ 9 sources = [
10 "//device/gamepad/public/interfaces/gamepad_struct_traits.cc", 10 "//device/gamepad/public/interfaces/gamepad_struct_traits.cc",
11 ] 11 ]
12 deps = [ 12 deps = [
13 "//mojo/public/cpp/bindings", 13 "//mojo/public/cpp/bindings",
14 "//third_party/WebKit/public:blink_headers", 14 "//third_party/WebKit/public:blink_headers",
15 ] 15 ]
16 16
17 type_mappings = [ 17 type_mappings = [
18 "device.mojom.Gamepad=blink::WebGamepad", 18 "device.mojom.Gamepad=device::Gamepad",
19 "device.mojom.GamepadButton=blink::WebGamepadButton", 19 "device.mojom.GamepadButton=device::GamepadButton",
20 "device.mojom.GamepadHand=blink::WebGamepadHand", 20 "device.mojom.GamepadHand=device::GamepadHand",
21 "device.mojom.GamepadPose=blink::WebGamepadPose[nullable_is_same_type]", 21 "device.mojom.GamepadPose=device::GamepadPose[nullable_is_same_type]",
22 "device.mojom.GamepadQuaternion=blink::WebGamepadQuaternion[nullable_is_same_t ype]", 22 "device.mojom.GamepadQuaternion=device::GamepadQuaternion[nullable_is_same_typ e]",
23 "device.mojom.GamepadVector=blink::WebGamepadVector[nullable_is_same_type]", 23 "device.mojom.GamepadVector=device::GamepadVector[nullable_is_same_type]",
24 ] 24 ]
OLDNEW
« no previous file with comments | « device/gamepad/public/interfaces/OWNERS ('k') | device/gamepad/public/interfaces/gamepad_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698