summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_infobars_delegates.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-01 08:45:15 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-01 08:45:15 +0000
commit7e0831b90c618af96931fcbd0908c4fd05ae0ec5 (patch)
tree6ae2ee1358ecb452ed7c06335ddd643ee47bc109 /chrome/browser/translate/translate_infobars_delegates.cc
parent6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d (diff)
downloadchromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.zip
chromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.tar.gz
chromium_src-7e0831b90c618af96931fcbd0908c4fd05ae0ec5.tar.bz2
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
Diffstat (limited to 'chrome/browser/translate/translate_infobars_delegates.cc')
-rw-r--r--chrome/browser/translate/translate_infobars_delegates.cc5
1 files changed, 1 insertions, 4 deletions
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() {