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

Side by Side Diff: content/renderer/gamepad_shared_memory_reader.h

Issue 11819044: Update some #includes in content/renderer for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « content/renderer/favicon_helper.cc ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_ 5 #ifndef CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_
6 #define CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_ 6 #define CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_
7 7
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 struct GamepadHardwareBuffer; 14 struct GamepadHardwareBuffer;
15 15
16 class GamepadSharedMemoryReader { 16 class GamepadSharedMemoryReader {
17 public: 17 public:
18 GamepadSharedMemoryReader(); 18 GamepadSharedMemoryReader();
19 virtual ~GamepadSharedMemoryReader(); 19 virtual ~GamepadSharedMemoryReader();
20 void SampleGamepads(WebKit::WebGamepads&); 20 void SampleGamepads(WebKit::WebGamepads&);
21 21
22 private: 22 private:
23 base::SharedMemoryHandle renderer_shared_memory_handle_; 23 base::SharedMemoryHandle renderer_shared_memory_handle_;
24 scoped_ptr<base::SharedMemory> renderer_shared_memory_; 24 scoped_ptr<base::SharedMemory> renderer_shared_memory_;
25 GamepadHardwareBuffer* gamepad_hardware_buffer_; 25 GamepadHardwareBuffer* gamepad_hardware_buffer_;
26 26
27 bool ever_interacted_with_; 27 bool ever_interacted_with_;
28 }; 28 };
29 29
30 } // namespace content 30 } // namespace content
31 31
32 #endif // CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_ 32 #endif // CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_
OLDNEW
« no previous file with comments | « content/renderer/favicon_helper.cc ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698