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

Unified Diff: content/browser/gamepad/gamepad_platform_data_fetcher_android.h

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Next attempt Created 4 years, 6 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: content/browser/gamepad/gamepad_platform_data_fetcher_android.h
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_android.h b/content/browser/gamepad/gamepad_platform_data_fetcher_android.h
deleted file mode 100644
index c6ea2e37e1a3bec827b216094fb04c409a56530b..0000000000000000000000000000000000000000
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_android.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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.
-
-// Define the data fetcher that GamepadProvider will use for android port.
-// (GamepadPlatformDataFetcher).
-
-#ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
-#define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_
-
-#include <jni.h>
-
-#include "base/android/jni_android.h"
-#include "base/macros.h"
-#include "content/browser/gamepad/gamepad_data_fetcher.h"
-#include "content/browser/gamepad/gamepad_provider.h"
-#include "content/browser/gamepad/gamepad_standard_mappings.h"
-#include "third_party/WebKit/public/platform/WebGamepads.h"
-
-namespace content {
-
-class GamepadPlatformDataFetcherAndroid : public GamepadDataFetcher {
- public:
- GamepadPlatformDataFetcherAndroid();
- ~GamepadPlatformDataFetcherAndroid() override;
-
- void PauseHint(bool paused) override;
-
- void GetGamepadData(blink::WebGamepads* pads,
- bool devices_changed_hint) override;
-
- // Registers the JNI methods for GamepadsReader.
- static bool RegisterGamepadPlatformDataFetcherAndroid(JNIEnv* env);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherAndroid);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698