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

Side by Side Diff: content/browser/gamepad/gamepad_data_fetcher.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 #include "content/browser/gamepad/gamepad_data_fetcher.h" 5 #include "content/browser/gamepad/gamepad_data_fetcher.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "build/build_config.h"
8 11
9 namespace { 12 namespace {
10 13
11 #if !defined(OS_ANDROID) 14 #if !defined(OS_ANDROID)
12 const float kMinAxisResetValue = 0.1f; 15 const float kMinAxisResetValue = 0.1f;
13 #endif 16 #endif
14 17
15 } // namespace 18 } // namespace
16 19
17 namespace content { 20 namespace content {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 pad->buttons[button].pressed = false; 75 pad->buttons[button].pressed = false;
73 pad->buttons[button].value = 0.0f; 76 pad->buttons[button].value = 0.0f;
74 } 77 }
75 } 78 }
76 } 79 }
77 } 80 }
78 } 81 }
79 #endif 82 #endif
80 83
81 } // namespace content 84 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_consumer.h ('k') | content/browser/gamepad/gamepad_platform_data_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698