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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win_browsertest.cc

Issue 11734018: Revert 174880 due to compilation error in pdf_browsertest.cc (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1374/src/
Patch Set: Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « content/browser/renderer_host/render_view_host_manager_browsertest.cc ('k') | content/browser/session_history_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698