diff options
Diffstat (limited to 'chrome_frame/test/net/fake_external_tab.cc')
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index c68a3c1..8db3b48 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -131,15 +131,15 @@ void SupplyProxyCredentials::OnWindowDetected(HWND hwnd, // keyboard input instead. simulate_input::ForceSetForegroundWindow(hwnd); CHECK(SetFocusToAccessibleWindow(props.username_)); - simulate_input::SendString(username_.c_str()); + simulate_input::SendStringA(username_.c_str()); Sleep(100); - simulate_input::SendChar(static_cast<char>(VK_TAB), false, false); + simulate_input::SendCharA(VK_TAB, simulate_input::NONE); Sleep(100); - simulate_input::SendString(password_.c_str()); + simulate_input::SendStringA(password_.c_str()); Sleep(100); - simulate_input::SendChar(static_cast<char>(VK_RETURN), false, false); + simulate_input::SendCharA(VK_RETURN, simulate_input::NONE); } // static |