blob: 3e46456e55a1f187ccb683429c72dd43048ef18a [file] [log] [blame]
// 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.
#ifndef CHROME_BROWSER_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_
#define CHROME_BROWSER_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_
#include "base/compiler_specific.h"
#include "chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h"
class TranslateInfoBarDelegate;
class BeforeTranslateInfoBar : public TranslateInfoBarBase {
public:
BeforeTranslateInfoBar(InfoBarService* owner,
TranslateInfoBarDelegate* delegate);
private:
virtual ~BeforeTranslateInfoBar();
// TranslateInfoBarBase:
virtual void InitWidgets() OVERRIDE;
virtual bool ShowOptionsMenuButton() const OVERRIDE;
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_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_