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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher_mac.h

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: clean up code 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/gamepad_platform_data_fetcher_mac.h
diff --git a/device/gamepad/gamepad_platform_data_fetcher_mac.h b/device/gamepad/gamepad_platform_data_fetcher_mac.h
index 11808f30b6bc6d5d3ec072c24f46322ef562dadc..4c8843effed2f091e77b9716eb6c970d4f19c1f5 100644
--- a/device/gamepad/gamepad_platform_data_fetcher_mac.h
+++ b/device/gamepad/gamepad_platform_data_fetcher_mac.h
@@ -77,13 +77,13 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher {
struct AssociatedData {
int location_id;
IOHIDDeviceRef device_ref;
- IOHIDElementRef button_elements[blink::WebGamepad::kButtonsLengthCap];
- IOHIDElementRef axis_elements[blink::WebGamepad::kAxesLengthCap];
- CFIndex axis_minimums[blink::WebGamepad::kAxesLengthCap];
- CFIndex axis_maximums[blink::WebGamepad::kAxesLengthCap];
- CFIndex axis_report_sizes[blink::WebGamepad::kAxesLengthCap];
+ IOHIDElementRef button_elements[Gamepad::kButtonsLengthCap];
mattreynolds 2017/04/13 01:53:33 Same here, gamepad.h is included by gamepad_data_f
juncai 2017/04/13 23:55:52 Done.
+ IOHIDElementRef axis_elements[Gamepad::kAxesLengthCap];
+ CFIndex axis_minimums[Gamepad::kAxesLengthCap];
+ CFIndex axis_maximums[Gamepad::kAxesLengthCap];
+ CFIndex axis_report_sizes[Gamepad::kAxesLengthCap];
};
- AssociatedData associated_[blink::WebGamepads::kItemsLengthCap];
+ AssociatedData associated_[Gamepads::kItemsLengthCap];
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherMac);
};

Powered by Google App Engine
This is Rietveld 408576698