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

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

Issue 10831292: Use non-exclusive access to gamepad on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gamepad/platform_data_fetcher_mac.mm
diff --git a/content/browser/gamepad/platform_data_fetcher_mac.mm b/content/browser/gamepad/platform_data_fetcher_mac.mm
index d664e3bd8e25a17c5e6aae7ba65f8b24cccaeaeb..1d1bd7226fa0ed1f9c9a52b3194c932842cca415 100644
--- a/content/browser/gamepad/platform_data_fetcher_mac.mm
+++ b/content/browser/gamepad/platform_data_fetcher_mac.mm
@@ -86,7 +86,7 @@ void GamepadPlatformDataFetcherMac::RegisterForNotifications() {
kCFRunLoopDefaultMode);
enabled_ = IOHIDManagerOpen(hid_manager_ref_,
- kIOHIDOptionsTypeSeizeDevice) == kIOReturnSuccess;
+ kIOHIDOptionsTypeNone) == kIOReturnSuccess;
}
void GamepadPlatformDataFetcherMac::UnregisterFromNotifications() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698