summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/simulate_input.h
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 22:07:03 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 22:07:03 +0000
commit6448b3abcfa035eaf65b7c0c15bb728513f228fe (patch)
tree3d8ee0bf2f528e93616a1d7721bc721ef6726189 /chrome_frame/test/simulate_input.h
parentbb2eb35a70fcbc47be253bf50c8648c65271a19e (diff)
downloadchromium_src-6448b3abcfa035eaf65b7c0c15bb728513f228fe.zip
chromium_src-6448b3abcfa035eaf65b7c0c15bb728513f228fe.tar.gz
chromium_src-6448b3abcfa035eaf65b7c0c15bb728513f228fe.tar.bz2
[chrome_frame] Refactor/merge IE no interference tests with other mock event sink tests. Have the test mock contain, not inherit the IE event sink. Use the new test server to verify the right requests are being sent.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2822016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/simulate_input.h')
-rw-r--r--chrome_frame/test/simulate_input.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/test/simulate_input.h b/chrome_frame/test/simulate_input.h
index fab22a8..112848b 100644
--- a/chrome_frame/test/simulate_input.h
+++ b/chrome_frame/test/simulate_input.h
@@ -6,6 +6,7 @@
#define CHROME_FRAME_TEST_SIMULATE_INPUT_H_
#include <windows.h>
+#include <string>
#include "base/basictypes.h"
#include "base/process_util.h"
@@ -55,8 +56,8 @@ void SendExtendedKey(WORD key, Modifier modifiers);
// Iterates through all the characters in the string and simulates
// keyboard input. The input goes to the currently active application.
-void SendStringW(const wchar_t* s);
-void SendStringA(const char* s);
+void SendStringW(const std::wstring& s);
+void SendStringA(const std::string& s);
} // end namespace simulate_input