| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 BASE_EVENT_RECORDER_H_ | 5 #ifndef BASE_EVENT_RECORDER_H_ |
| 6 #define BASE_EVENT_RECORDER_H_ | 6 #define BASE_EVENT_RECORDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 11 #include <windows.h> | 10 #include <windows.h> |
| 11 #include <stdio.h> |
| 12 #endif | 12 #endif |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 | 14 |
| 15 class FilePath; | 15 class FilePath; |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 | 18 |
| 19 // A class for recording and playing back keyboard and mouse input events. | 19 // A class for recording and playing back keyboard and mouse input events. |
| 20 // | 20 // |
| 21 // Note - if you record events, and the playback with the windows in | 21 // Note - if you record events, and the playback with the windows in |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 #endif | 94 #endif |
| 95 int playback_first_msg_time_; | 95 int playback_first_msg_time_; |
| 96 int playback_start_time_; | 96 int playback_start_time_; |
| 97 | 97 |
| 98 DISALLOW_COPY_AND_ASSIGN(EventRecorder); | 98 DISALLOW_COPY_AND_ASSIGN(EventRecorder); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace base | 101 } // namespace base |
| 102 | 102 |
| 103 #endif // BASE_EVENT_RECORDER_H_ | 103 #endif // BASE_EVENT_RECORDER_H_ |
| OLD | NEW |