| Index: chrome_frame/test/chrome_frame_test_utils.h
|
| ===================================================================
|
| --- chrome_frame/test/chrome_frame_test_utils.h (revision 48510)
|
| +++ chrome_frame/test/chrome_frame_test_utils.h (working copy)
|
| @@ -25,6 +25,7 @@
|
| #include "chrome_frame/test/simulate_input.h"
|
| #include "chrome_frame/test/window_watchdog.h"
|
| #include "chrome_frame/utils.h"
|
| +#include "gmock/gmock.h"
|
|
|
| // Include without path to make GYP build see it.
|
| #include "chrome_tab.h" // NOLINT
|
| @@ -345,6 +346,18 @@
|
| // Returns the version of Internet Explorer on the machine.
|
| IEVersion GetInstalledIEVersion();
|
|
|
| +// Posts a delayed task to send an extended keystroke |repeat| times with an
|
| +// optional modifier via SendInput. Following this, the enter key is sent.
|
| +void DelaySendExtendedKeysEnter(TimedMsgLoop* loop, int delay, char c,
|
| + int repeat, simulate_input::Modifier mod);
|
| +
|
| +// Returns an action which posts a delayed task that sends the given
|
| +// scan code via SendInput.
|
| +ACTION_P4(DelaySendScanCode, loop, delay, c, mod) {
|
| + loop->PostDelayedTask(FROM_HERE, NewRunnableFunction(
|
| + simulate_input::SendScanCode, c, mod), delay);
|
| +}
|
| +
|
| // A convenience class to close all open IE windows at the end
|
| // of a scope. It's more convenient to do it this way than to
|
| // explicitly call chrome_frame_test::CloseAllIEWindows at the
|
|
|