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

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

Issue 6880073: Plumb direction of document title through IPC layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 5f1158480c13b64ec7903a2c620bca13583f0715..4d9b7fd3bdc432281ca5873c40ad3896c57c0079 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1000,13 +1000,16 @@ void RenderViewHost::OnMsgUpdateState(int32 page_id,
delegate_->UpdateState(this, page_id, state);
}
-void RenderViewHost::OnMsgUpdateTitle(int32 page_id,
- const std::wstring& title) {
+void RenderViewHost::OnMsgUpdateTitle(
+ int32 page_id,
+ const string16& title,
+ WebKit::WebTextDirection title_direction) {
if (title.length() > content::kMaxTitleChars) {
NOTREACHED() << "Renderer sent too many characters in title.";
return;
}
- delegate_->UpdateTitle(this, page_id, title);
+
+ delegate_->UpdateTitle(this, page_id, title, title_direction);
}
void RenderViewHost::OnMsgUpdateEncoding(const std::string& encoding_name) {
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698