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

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

Issue 2492183002: Add struct_traits and typemap for blink::WebGamepad (Closed)
Patch Set: fixed "un-aligned warning" in windows x64 build Created 4 years, 1 month 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
(Empty)
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
3 # found in the LICENSE file.
4
5 mojom = "//device/gamepad/public/interfaces/gamepad.mojom"
6 public_headers = [ "//third_party/WebKit/public/platform/WebGamepad.h" ]
7 traits_headers =
8 [ "//device/gamepad/public/interfaces/webgamepad_struct_traits.h" ]
9 sources = [
10 "//device/gamepad/public/interfaces/webgamepad_struct_traits.cc",
11 ]
12 deps = [
13 "//mojo/public/cpp/bindings",
14 "//third_party/WebKit/public:blink_headers",
15 ]
16
17 type_mappings = [
18 "device.mojom.WebGamepad=blink::WebGamepad",
19 "device.mojom.WebGamepadButton=blink::WebGamepadButton",
20 "device.mojom.WebGamepadHand=blink::WebGamepadHand",
21 "device.mojom.WebGamepadPose=blink::WebGamepadPose",
22 "device.mojom.WebGamepadQuaternion=blink::WebGamepadQuaternion",
23 "device.mojom.WebGamepadVector=blink::WebGamepadVector",
24 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698