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

Unified Diff: device/gamepad/raw_input_data_fetcher_win.h

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 side-by-side diff with in-line comments
Download patch
Index: device/gamepad/raw_input_data_fetcher_win.h
diff --git a/device/gamepad/raw_input_data_fetcher_win.h b/device/gamepad/raw_input_data_fetcher_win.h
index 1c13e15fc18a2a3dcda06bcde494c478243df1f5..62ae812f977d3ae16942b466fba05d50488a4187 100644
--- a/device/gamepad/raw_input_data_fetcher_win.h
+++ b/device/gamepad/raw_input_data_fetcher_win.h
@@ -24,7 +24,7 @@
#include "build/build_config.h"
#include "device/gamepad/gamepad_data_fetcher.h"
#include "device/gamepad/gamepad_standard_mappings.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
+#include "device/gamepad/public/cpp/gamepad.h"
namespace device {
@@ -49,13 +49,13 @@ struct RawGamepadInfo {
uint32_t vendor_id;
uint32_t product_id;
- wchar_t id[blink::WebGamepad::kIdLengthCap];
+ wchar_t id[Gamepad::kIdLengthCap];
uint32_t buttons_length;
- bool buttons[blink::WebGamepad::kButtonsLengthCap];
+ bool buttons[Gamepad::kButtonsLengthCap];
uint32_t axes_length;
- RawGamepadAxis axes[blink::WebGamepad::kAxesLengthCap];
+ RawGamepadAxis axes[Gamepad::kAxesLengthCap];
};
class RawInputDataFetcher : public GamepadDataFetcher,
« no previous file with comments | « device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc ('k') | device/gamepad/raw_input_data_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698