Index: chrome/browser/gtk/translate/before_translate_infobar_gtk.h |
=================================================================== |
--- chrome/browser/gtk/translate/before_translate_infobar_gtk.h (revision 71352) |
+++ chrome/browser/gtk/translate/before_translate_infobar_gtk.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -6,29 +6,7 @@ |
#define CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ |
#pragma once |
-#include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" |
+#include "chrome/browser/ui/gtk/translate/before_translate_infobar_gtk.h" |
+// TODO(msw): remove this file once all includes have been updated. |
-class TranslateInfoBarDelegate; |
- |
-class BeforeTranslateInfoBar : public TranslateInfoBarBase { |
- public: |
- explicit BeforeTranslateInfoBar(TranslateInfoBarDelegate* delegate); |
- virtual ~BeforeTranslateInfoBar(); |
- |
- // Overridden from TranslateInfoBarBase: |
- virtual void Init(); |
- |
- protected: |
- virtual bool ShowOptionsMenuButton() const; |
- |
- private: |
- CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnLanguageModified); |
- CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAcceptPressed); |
- CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnDenyPressed); |
- CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnNeverTranslatePressed); |
- CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAlwaysTranslatePressed); |
- |
- DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); |
-}; |
- |
#endif // CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ |