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_TEST_MOCK_KEYBOARD_H_ | 5 #ifndef CONTENT_TEST_MOCK_KEYBOARD_H_ |
6 #define CONTENT_TEST_MOCK_KEYBOARD_H_ | 6 #define CONTENT_TEST_MOCK_KEYBOARD_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 | 11 |
13 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
14 #include "content/test/mock_keyboard_driver_win.h" | 13 #include "content/test/mock_keyboard_driver_win.h" |
15 #endif | 14 #endif |
16 | 15 |
17 // A mock keyboard interface. | 16 // A mock keyboard interface. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 Modifiers keyboard_modifiers_; | 97 Modifiers keyboard_modifiers_; |
99 | 98 |
100 #if defined(OS_WIN) | 99 #if defined(OS_WIN) |
101 MockKeyboardDriverWin driver_; | 100 MockKeyboardDriverWin driver_; |
102 #endif | 101 #endif |
103 | 102 |
104 DISALLOW_COPY_AND_ASSIGN(MockKeyboard); | 103 DISALLOW_COPY_AND_ASSIGN(MockKeyboard); |
105 }; | 104 }; |
106 | 105 |
107 #endif // CONTENT_TEST_MOCK_KEYBOARD_H_ | 106 #endif // CONTENT_TEST_MOCK_KEYBOARD_H_ |
OLD | NEW |