Chromium Code Reviews| Index: chrome/browser/translate/translate_infobar_delegate.h |
| diff --git a/chrome/browser/translate/translate_infobar_delegate.h b/chrome/browser/translate/translate_infobar_delegate.h |
| index 16bfcd7f98b0cf0e91daa9276dcdbc2b6f689746..a3e5fca61e568ebd73b33482bf5f74b341b8a741 100644 |
| --- a/chrome/browser/translate/translate_infobar_delegate.h |
| +++ b/chrome/browser/translate/translate_infobar_delegate.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright 2011 The Chromium Authors. All rights reserved. |
|
tfarina
2014/05/15 17:43:38
I'd not touch old copyright headers.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -11,15 +11,19 @@ |
| #include "base/logging.h" |
| #include "base/memory/scoped_ptr.h" |
| -#include "chrome/browser/translate/translate_tab_helper.h" |
| #include "components/infobars/core/infobar_delegate.h" |
| #include "components/translate/core/browser/translate_prefs.h" |
| +#include "components/translate/core/browser/translate_step.h" |
| #include "components/translate/core/browser/translate_ui_delegate.h" |
| #include "components/translate/core/common/translate_constants.h" |
| #include "components/translate/core/common/translate_errors.h" |
| class PrefService; |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| class TranslateInfoBarDelegate : public infobars::InfoBarDelegate { |
| public: |
| // The types of background color animations. |
| @@ -147,11 +151,6 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate { |
| // Returns the WebContents associated with the TranslateInfoBarDelegate. |
| content::WebContents* GetWebContents(); |
| - // Convenience method that returns the displayable language name for |
| - // |language_code| in the current application locale. |
| - static base::string16 GetLanguageDisplayableName( |
| - const std::string& language_code); |
| - |
| // Adds the strings that should be displayed in the after translate infobar to |
| // |strings|. If |autodetermined_source_language| is false, the text in that |
| // infobar is: |