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

Unified Diff: chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm

Issue 15297006: Translate (Linux): add after infobar UI for server side language detection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renaming Created 7 years, 7 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: chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
diff --git a/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
index 3bcfda035379892d56b008e1f4b92d9b2376ca70..b5f7ec447c9857b2376594d5e66ca2f57b12e153 100644
--- a/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
+++ b/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
@@ -15,7 +15,7 @@ using InfoBarUtilities::VerifyControlOrderAndSpacing;
- (void)loadLabelText {
std::vector<string16> strings;
TranslateInfoBarDelegate::GetAfterTranslateStrings(
- &strings, &swappedLanugageButtons_);
+ &strings, &swappedLanugageButtons_, false);
DCHECK(strings.size() == 3U);
NSString* string1 = base::SysUTF16ToNSString(strings[0]);
NSString* string2 = base::SysUTF16ToNSString(strings[1]);

Powered by Google App Engine
This is Rietveld 408576698