| OLD | NEW |
| 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/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| 10 #include "content/common/gamepad_messages.h" | 11 #include "content/common/gamepad_messages.h" |
| 11 #include "content/public/renderer/renderer_gamepad_provider.h" | 12 #include "content/public/renderer/renderer_gamepad_provider.h" |
| 12 #include "third_party/WebKit/public/platform/WebGamepads.h" | 13 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 | 16 |
| 16 struct GamepadHardwareBuffer; | 17 struct GamepadHardwareBuffer; |
| 17 | 18 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 GamepadHardwareBuffer* gamepad_hardware_buffer_; | 40 GamepadHardwareBuffer* gamepad_hardware_buffer_; |
| 40 | 41 |
| 41 bool ever_interacted_with_; | 42 bool ever_interacted_with_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(GamepadSharedMemoryReader); | 44 DISALLOW_COPY_AND_ASSIGN(GamepadSharedMemoryReader); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace content | 47 } // namespace content |
| 47 | 48 |
| 48 #endif // CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_ | 49 #endif // CONTENT_RENDERER_GAMEPAD_SHARED_MEMORY_READER_H_ |
| OLD | NEW |