| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 #include "build/build_config.h" | 5 #include <stddef.h> |
| 6 | |
| 7 #include <windows.h> | 6 #include <windows.h> |
| 8 #include <mmsystem.h> | 7 #include <mmsystem.h> |
| 9 | 8 |
| 10 #include "base/event_recorder.h" | 9 #include "base/event_recorder.h" |
| 11 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 | 12 |
| 14 // A note about time. | 13 // A note about time. |
| 15 // For perfect playback of events, you'd like a very accurate timer | 14 // For perfect playback of events, you'd like a very accurate timer |
| 16 // so that events are played back at exactly the same time that | 15 // so that events are played back at exactly the same time that |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // indicating that the message is not removed from the message queue after | 249 // indicating that the message is not removed from the message queue after |
| 251 // PeekMessage processing. | 250 // PeekMessage processing. |
| 252 case HC_NOREMOVE: | 251 case HC_NOREMOVE: |
| 253 break; | 252 break; |
| 254 } | 253 } |
| 255 | 254 |
| 256 return CallNextHookEx(journal_hook_, nCode, wParam, lParam); | 255 return CallNextHookEx(journal_hook_, nCode, wParam, lParam); |
| 257 } | 256 } |
| 258 | 257 |
| 259 } // namespace base | 258 } // namespace base |
| OLD | NEW |