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

Unified Diff: third_party/WebKit/public/platform/Platform.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: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index eab1ca5647cb791538ec8b33fef4eaba3584bd08..8d47f78d0d4c18551e0c3ca10884980124134716 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -43,7 +43,6 @@
#include "WebDeviceLightListener.h"
#include "WebFeaturePolicy.h"
#include "WebGamepadListener.h"
-#include "WebGamepads.h"
#include "WebGestureDevice.h"
#include "WebLocalizedString.h"
#include "WebMessagePortChannel.h"
@@ -58,6 +57,7 @@
#include "base/metrics/user_metrics_action.h"
#include "cc/resources/shared_bitmap.h"
#include "cc/surfaces/frame_sink_id.h"
+#include "device/gamepad/public/cpp/gamepads.h"
#include "mojo/public/cpp/system/message_pipe.h"
namespace gpu {
@@ -280,7 +280,7 @@ class BLINK_PLATFORM_EXPORT Platform {
// Gamepad -------------------------------------------------------------
- virtual void SampleGamepads(WebGamepads& into) {}
+ virtual void SampleGamepads(device::Gamepads& into) {}
jam 2017/04/12 23:02:19 this can just be forward declared and you don't ne
juncai 2017/04/13 23:55:52 Done.
// History -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698