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

Side by Side Diff: device/gamepad/public/cpp/gamepad.cc

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
« no previous file with comments | « device/gamepad/public/cpp/gamepad.h ('k') | device/gamepad/public/cpp/gamepads.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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 #include "device/gamepad/public/cpp/gamepad.h"
6
7 namespace device {
8
9 Gamepad::Gamepad()
10 : connected(false),
11 timestamp(0),
12 axes_length(0),
13 buttons_length(0),
14 display_id(0) {
15 id[0] = 0;
16 mapping[0] = 0;
17 }
18
19 Gamepad::Gamepad(const Gamepad& other) = default;
20
21 } // namespace device
OLDNEW
« no previous file with comments | « device/gamepad/public/cpp/gamepad.h ('k') | device/gamepad/public/cpp/gamepads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698