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

Unified Diff: chrome/browser/ui/find_bar/find_bar_host_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
« no previous file with comments | « chrome/browser/ui/browser_focus_uitest.cc ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
===================================================================
--- chrome/browser/ui/find_bar/find_bar_host_browsertest.cc (revision 174946)
+++ chrome/browser/ui/find_bar/find_bar_host_browsertest.cc (working copy)
@@ -471,8 +471,8 @@
bool FocusedOnPage(WebContents* web_contents, std::string* result) {
return content::ExecuteJavaScriptAndExtractString(
web_contents->GetRenderViewHost(),
- "",
- "window.domAutomationController.send(getFocusedElement());",
+ L"",
+ L"window.domAutomationController.send(getFocusedElement());",
result);
}
@@ -516,8 +516,8 @@
// Move the selection to link 1, after searching.
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString(
web_contents->GetRenderViewHost(),
- "",
- "window.domAutomationController.send(selectLink1());",
+ L"",
+ L"window.domAutomationController.send(selectLink1());",
&result));
// End the find session.
@@ -590,8 +590,8 @@
std::string result;
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString(
web_contents->GetRenderViewHost(),
- "",
- "window.domAutomationController.send(selectLink1());",
+ L"",
+ L"window.domAutomationController.send(selectLink1());",
&result));
// Do a find-next after the selection. This should move forward
@@ -620,8 +620,8 @@
std::string result;
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString(
web_contents->GetRenderViewHost(),
- "",
- "window.domAutomationController.send(selectSpan());",
+ std::wstring(),
+ L"window.domAutomationController.send(selectSpan());",
&result));
// Do a find-next after the selection. This should select the 2nd occurrence
Property changes on: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/browser_focus_uitest.cc ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698