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

Unified Diff: chrome/renderer/translate/page_translator_unittest.cc

Issue 577032: The translate feature was only translating the main frame of the page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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/renderer/translate/page_translator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/translate/page_translator_unittest.cc
===================================================================
--- chrome/renderer/translate/page_translator_unittest.cc (revision 38414)
+++ chrome/renderer/translate/page_translator_unittest.cc (working copy)
@@ -169,7 +169,7 @@
// Translate it.
ReverseTextTranslator text_translator;
PageTranslator translator(&text_translator, NULL);
- translator.Translate(0, web_frame, "en", "fr");
+ translator.TranslatePage(0, web_frame, "en", "fr");
// Translation is asynchronous, so we need to process the pending messages
// to make it happen.
« no previous file with comments | « chrome/renderer/translate/page_translator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698