OLD | NEW |
1 // Copyright (c) 2012 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_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ | 5 #ifndef CONTENT_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ |
6 #define CONTENT_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ | 6 #define CONTENT_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 #include "base/basictypes.h" | 12 |
| 13 #include "base/macros.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 // Implements the platform-dependent part of a pseudo keyboard device for | 17 // Implements the platform-dependent part of a pseudo keyboard device for |
17 // Windows. | 18 // Windows. |
18 class MockKeyboardDriverWin { | 19 class MockKeyboardDriverWin { |
19 public: | 20 public: |
20 MockKeyboardDriverWin(); | 21 MockKeyboardDriverWin(); |
21 ~MockKeyboardDriverWin(); | 22 ~MockKeyboardDriverWin(); |
22 | 23 |
(...skipping 13 matching lines...) Expand all Loading... |
36 BYTE original_keyboard_states_[256]; | 37 BYTE original_keyboard_states_[256]; |
37 | 38 |
38 BYTE keyboard_states_[256]; | 39 BYTE keyboard_states_[256]; |
39 | 40 |
40 DISALLOW_COPY_AND_ASSIGN(MockKeyboardDriverWin); | 41 DISALLOW_COPY_AND_ASSIGN(MockKeyboardDriverWin); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace content | 44 } // namespace content |
44 | 45 |
45 #endif // CONTENT_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ | 46 #endif // CONTENT_TEST_MOCK_KEYBOARD_DRIVER_WIN_H_ |
OLD | NEW |