diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 23:25:41 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 23:25:41 +0000 |
commit | ab70f7e6997119226ca3a99ce599a4782c996fbb (patch) | |
tree | 7e2537ef2008266371123ef29b01363dd2973e05 /chrome/browser/tab_contents/web_contents_unittest.cc | |
parent | 00b3e3e336a505367aa7d4d552a823300f07ac88 (diff) | |
download | chromium_src-ab70f7e6997119226ca3a99ce599a4782c996fbb.zip chromium_src-ab70f7e6997119226ca3a99ce599a4782c996fbb.tar.gz chromium_src-ab70f7e6997119226ca3a99ce599a4782c996fbb.tar.bz2 |
Plumb direction of document title through IPC layer.
It's ignored at the other end of the IPC, but I have tagged all
the places it needs to be obeyed with a link to the bug.
While I'm at it, switch UpdateTitle to using string16.
BUG=27094
Review URL: http://codereview.chromium.org/6880073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_unittest.cc')
-rw-r--r-- | chrome/browser/tab_contents/web_contents_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc index 6057195..f026b0c 100644 --- a/chrome/browser/tab_contents/web_contents_unittest.cc +++ b/chrome/browser/tab_contents/web_contents_unittest.cc @@ -237,7 +237,8 @@ TEST_F(TabContentsTest, UpdateTitle) { NavigationController::LoadCommittedDetails details; controller().RendererDidNavigate(params, 0, &details); - contents()->UpdateTitle(rvh(), 0, L" Lots O' Whitespace\n"); + contents()->UpdateTitle(rvh(), 0, ASCIIToUTF16(" Lots O' Whitespace\n"), + WebKit::WebTextDirectionLeftToRight); EXPECT_EQ(ASCIIToUTF16("Lots O' Whitespace"), contents()->GetTitle()); } |