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

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

Issue 8899017: Add gamepad data fetcher for Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again, bots all updated Created 8 years, 11 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/platform_data_fetcher_mac.h
diff --git a/content/browser/gamepad/data_fetcher_mac.h b/content/browser/gamepad/platform_data_fetcher_mac.h
similarity index 89%
rename from content/browser/gamepad/data_fetcher_mac.h
rename to content/browser/gamepad/platform_data_fetcher_mac.h
index 34f7d4bcb475012099ba737329aca9974026ebf9..360a183386553f6ec5afa7bf3f4d1cc80558fb50 100644
--- a/content/browser/gamepad/data_fetcher_mac.h
+++ b/content/browser/gamepad/platform_data_fetcher_mac.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -23,10 +23,10 @@ class NSArray;
namespace content {
-class GamepadDataFetcherMac : public GamepadDataFetcher {
+class GamepadPlatformDataFetcherMac : public GamepadDataFetcher {
public:
- GamepadDataFetcherMac();
- virtual ~GamepadDataFetcherMac();
+ GamepadPlatformDataFetcherMac();
+ virtual ~GamepadPlatformDataFetcherMac();
virtual void GetGamepadData(WebKit::WebGamepads* pads,
bool devices_changed_hint) OVERRIDE;
virtual void PauseHint(bool paused) OVERRIDE;
@@ -34,7 +34,7 @@ class GamepadDataFetcherMac : public GamepadDataFetcher {
bool enabled_;
base::mac::ScopedCFTypeRef<IOHIDManagerRef> hid_manager_ref_;
- static GamepadDataFetcherMac* InstanceFromContext(void* context);
+ static GamepadPlatformDataFetcherMac* InstanceFromContext(void* context);
static void DeviceAddCallback(void* context,
IOReturn result,
void* sender,
« no previous file with comments | « content/browser/gamepad/platform_data_fetcher_linux.cc ('k') | content/browser/gamepad/platform_data_fetcher_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698