From 7e0831b90c618af96931fcbd0908c4fd05ae0ec5 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Mon, 1 Feb 2010 08:45:15 +0000 Subject: Relanding the hooking of the translate feature UI. See http://codereview.chromium.org/549217 Review URL: http://codereview.chromium.org/558065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37688 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/translate/translate_infobars_delegates.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'chrome/browser/translate/translate_infobars_delegates.cc') diff --git a/chrome/browser/translate/translate_infobars_delegates.cc b/chrome/browser/translate/translate_infobars_delegates.cc index ecf0a95..15d165b 100644 --- a/chrome/browser/translate/translate_infobars_delegates.cc +++ b/chrome/browser/translate/translate_infobars_delegates.cc @@ -93,10 +93,7 @@ void TranslateInfoBarDelegate::GetAvailableTargetLanguages( } void TranslateInfoBarDelegate::Translate() { - // TODO(kuan): Call actual Translate method. -/* - Translate(WideToUTF8(original_language()), WideToUTF8(target_language())); -*/ + tab_contents_->TranslatePage(original_language_, target_language_); } bool TranslateInfoBarDelegate::IsLanguageBlacklisted() { -- cgit v1.1