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

Unified Diff: content/renderer/render_view.cc

Issue 6883051: Update Chrome to accept WebKit API for RTL titles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comma 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
« no previous file with comments | « content/renderer/render_view.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
index 752161125475d67dbfcace6cfe2980dc46e3efd8..f54c1520b8e8ee5b81958ba44e7ad9f5dd1e4aad 100644
--- a/content/renderer/render_view.cc
+++ b/content/renderer/render_view.cc
@@ -2467,7 +2467,10 @@ void RenderView::didCreateDocumentElement(WebFrame* frame) {
DidCreateDocumentElement(frame));
}
-void RenderView::didReceiveTitle(WebFrame* frame, const WebString& title) {
+void RenderView::didReceiveTitle(WebFrame* frame, const WebString& title,
+ WebTextDirection direction) {
+ // TODO: pass direction through various APIs.
+ // http://code.google.com/p/chromium/issues/detail?id=79903
UpdateTitle(frame, title);
// Also check whether we have new encoding name.
« no previous file with comments | « content/renderer/render_view.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698