| Index: content/browser/renderer_host/render_widget_host_view_win_browsertest.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_widget_host_view_win_browsertest.cc (revision 174946)
|
| +++ content/browser/renderer_host/render_widget_host_view_win_browsertest.cc (working copy)
|
| @@ -41,9 +41,8 @@
|
| // Focus to the text field, the IME should be enabled.
|
| bool success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(text01_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(text01_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
| @@ -53,9 +52,8 @@
|
| // Focus to the password field, the IME should be disabled.
|
| success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(password02_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(password02_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
| @@ -81,9 +79,8 @@
|
| // Focus to the text field, the IME should be enabled.
|
| bool success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(text01_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(text01_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
| @@ -93,9 +90,8 @@
|
| // Focus to another text field, the IME should be enabled.
|
| success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(text02_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(text02_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
| @@ -121,9 +117,8 @@
|
| // Focus to the password field, the IME should be disabled.
|
| bool success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(password01_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(password01_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
| @@ -133,9 +128,8 @@
|
| // Focus to the another password field, the IME should be disabled.
|
| success = false;
|
| EXPECT_TRUE(ExecuteJavaScriptAndExtractBool(
|
| - shell()->web_contents()->GetRenderViewHost(),
|
| - "",
|
| - "window.domAutomationController.send(password02_focus());",
|
| + shell()->web_contents()->GetRenderViewHost(), L"",
|
| + L"window.domAutomationController.send(password02_focus());",
|
| &success));
|
| EXPECT_TRUE(success);
|
| WaitForLoadStop(shell()->web_contents());
|
|
|