diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 23:29:23 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 23:29:23 +0000 |
commit | 3fd22d99af8d466699b3078a72e15446b5bcbfe6 (patch) | |
tree | c70bed7386854214c622767dfc55e349ac3a9df8 /content/browser/tab_contents/tab_contents.h | |
parent | 63c06a2b6ad7c90e0ff5b5d7496109c11c560e3b (diff) | |
download | chromium_src-3fd22d99af8d466699b3078a72e15446b5bcbfe6.zip chromium_src-3fd22d99af8d466699b3078a72e15446b5bcbfe6.tar.gz chromium_src-3fd22d99af8d466699b3078a72e15446b5bcbfe6.tar.bz2 |
Add and use a base::i18n::StringWithDirection for carrying titles.
This is a refactoring of r82400. We're going to need the title
direction in a bunch of different places; it's better to package
it up as one object.
BUG=27094
Review URL: http://codereview.chromium.org/6878089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r-- | content/browser/tab_contents/tab_contents.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h index 7ac7ea8..fe70195 100644 --- a/content/browser/tab_contents/tab_contents.h +++ b/content/browser/tab_contents/tab_contents.h @@ -815,10 +815,10 @@ class TabContents : public PageNavigator, virtual void UpdateState(RenderViewHost* render_view_host, int32 page_id, const std::string& state); - virtual void UpdateTitle(RenderViewHost* render_view_host, - int32 page_id, - const string16& title, - WebKit::WebTextDirection title_direction) OVERRIDE; + virtual void UpdateTitle( + RenderViewHost* render_view_host, + int32 page_id, + const base::i18n::String16WithDirection& title) OVERRIDE; virtual void UpdateEncoding(RenderViewHost* render_view_host, const std::string& encoding); virtual void UpdateTargetURL(int32 page_id, const GURL& url); |