Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: base/event_recorder.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/command_line.h ('k') | base/file_path.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 BASE_EVENT_RECORDER_H_ 5 #ifndef BASE_EVENT_RECORDER_H_
6 #define BASE_EVENT_RECORDER_H_ 6 #define BASE_EVENT_RECORDER_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <string.h> 14 #include <string.h>
15 #include <windows.h> 15 #include <windows.h>
16 #endif 16 #endif
17 17
18 namespace base {
19
18 class FilePath; 20 class FilePath;
19 21
20 namespace base {
21
22 // A class for recording and playing back keyboard and mouse input events. 22 // A class for recording and playing back keyboard and mouse input events.
23 // 23 //
24 // Note - if you record events, and the playback with the windows in 24 // Note - if you record events, and the playback with the windows in
25 // different sizes or positions, the playback will fail. When 25 // different sizes or positions, the playback will fail. When
26 // recording and playing, you should move the relevant windows 26 // recording and playing, you should move the relevant windows
27 // to constant sizes and locations. 27 // to constant sizes and locations.
28 // TODO(mbelshe) For now this is a singleton. I believe that this class 28 // TODO(mbelshe) For now this is a singleton. I believe that this class
29 // could be easily modified to: 29 // could be easily modified to:
30 // support two simultaneous recorders 30 // support two simultaneous recorders
31 // be playing back events while already recording events. 31 // be playing back events while already recording events.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #endif 100 #endif
101 int playback_first_msg_time_; 101 int playback_first_msg_time_;
102 int playback_start_time_; 102 int playback_start_time_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(EventRecorder); 104 DISALLOW_COPY_AND_ASSIGN(EventRecorder);
105 }; 105 };
106 106
107 } // namespace base 107 } // namespace base
108 108
109 #endif // BASE_EVENT_RECORDER_H_ 109 #endif // BASE_EVENT_RECORDER_H_
OLDNEW
« no previous file with comments | « base/command_line.h ('k') | base/file_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698