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

Unified Diff: chrome/browser/translate/translate_infobars_delegates.cc

Issue 594056: Translate Infobars for OS X. (Closed)
Patch Set: Fix review comments 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
Index: 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 ad0b8d59527cdee056f2e1eb1361f1cbfc0537a9..d4db04772aa7c8229e9cf57c58cfcf059d2c9615 100644
--- a/chrome/browser/translate/translate_infobars_delegates.cc
+++ b/chrome/browser/translate/translate_infobars_delegates.cc
@@ -146,7 +146,7 @@ void TranslateInfoBarDelegate::ToggleLanguageBlacklist() {
else
prefs_.RemoveLanguageFromBlacklist(original_lang_code());
} else {
- NOTREACHED() << "Invalid mehod called for translate state";
+ NOTREACHED() << "Invalid method called for translate state";
}
}
@@ -210,12 +210,3 @@ string16 TranslateInfoBarDelegate::GetDisplayNameForLocale(
return l10n_util::GetDisplayNameForLocale(
language_code, g_browser_process->GetApplicationLocale(), true);
}
-
-#if !defined(TOOLKIT_VIEWS)
-// TranslateInfoBarDelegate: InfoBarDelegate overrides: ------------------------
-
-InfoBar* TranslateInfoBarDelegate::CreateInfoBar() {
- NOTIMPLEMENTED();
- return NULL;
-}
-#endif // !TOOLKIT_VIEWS
« no previous file with comments | « chrome/browser/renderer_host/translation_service.cc ('k') | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698