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

Unified Diff: device/gamepad/gamepad_platform_data_fetcher.cc

Issue 2129003002: Refactored gamepad polling to support dynamic sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test issue and Mac XBoxDataFetcher constructor Created 4 years, 5 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.cc
diff --git a/device/gamepad/gamepad_platform_data_fetcher.cc b/device/gamepad/gamepad_platform_data_fetcher.cc
deleted file mode 100644
index 2edcc6ae258fabfb0bc221929f0e74cf4b0b4594..0000000000000000000000000000000000000000
--- a/device/gamepad/gamepad_platform_data_fetcher.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/gamepad/gamepad_platform_data_fetcher.h"
-
-#include "third_party/WebKit/public/platform/WebGamepads.h"
-
-namespace device {
-
-GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {}
-
-void GamepadDataFetcherEmpty::GetGamepadData(blink::WebGamepads* pads,
- bool devices_changed_hint) {
- pads->length = 0;
-}
-
-} // namespace device

Powered by Google App Engine
This is Rietveld 408576698