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

Side by Side Diff: content/browser/gamepad/gamepad_provider.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GAMEPAD_PROVIDER_H_ 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PROVIDER_H_
6 #define CONTENT_BROWSER_GAMEPAD_PROVIDER_H_ 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PROVIDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop_proxy.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
13 #include "base/system_monitor/system_monitor.h" 13 #include "base/system_monitor/system_monitor.h"
14 #include "content/browser/gamepad/data_fetcher.h" 14 #include "content/browser/gamepad/data_fetcher.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/common/gamepad_hardware_buffer.h" 16 #include "content/common/gamepad_hardware_buffer.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 scoped_ptr<base::Thread> polling_thread_; 81 scoped_ptr<base::Thread> polling_thread_;
82 82
83 static GamepadProvider* instance_; 83 static GamepadProvider* instance_;
84 base::WeakPtrFactory<GamepadProvider> weak_factory_; 84 base::WeakPtrFactory<GamepadProvider> weak_factory_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(GamepadProvider); 86 DISALLOW_COPY_AND_ASSIGN(GamepadProvider);
87 }; 87 };
88 88
89 } // namespace content 89 } // namespace content
90 90
91 #endif // CONTENT_BROWSER_GAMEPAD_PROVIDER_H_ 91 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/gamepad/data_fetcher_win.cc ('k') | content/browser/gamepad/gamepad_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698