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

Unified Diff: components/exo/gaming_seat.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
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/gaming_seat.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/gaming_seat.h
diff --git a/components/exo/gaming_seat.h b/components/exo/gaming_seat.h
index d8fcf119a2f3e2ba007d6d40b89aaa543e963da6..40e44ae33352eeb4cf86c473177ce37d6e52c548 100644
--- a/components/exo/gaming_seat.h
+++ b/components/exo/gaming_seat.h
@@ -50,7 +50,7 @@ class GamingSeat : public WMHelper::FocusObserver {
class ThreadSafeGamepadChangeFetcher;
// Processes updates of gamepad data and passes changes on to delegate.
- void ProcessGamepadChanges(int index, const blink::WebGamepad new_pad);
+ void ProcessGamepadChanges(int index, const device::Gamepad new_pad);
// Private implementation of methods and resources that are used on the
// polling thread.
@@ -60,10 +60,10 @@ class GamingSeat : public WMHelper::FocusObserver {
GamingSeatDelegate* const delegate_;
// The delegate instances that all other events are dispatched to.
- GamepadDelegate* gamepad_delegates_[blink::WebGamepads::kItemsLengthCap];
+ GamepadDelegate* gamepad_delegates_[device::Gamepads::kItemsLengthCap];
// The current state of the gamepad represented by this instance.
- blink::WebGamepads pad_state_;
+ device::Gamepads pad_state_;
// ThreadChecker for the origin thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/gaming_seat.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698