Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / browser / ui / gtk / infobars / before_translate_infobar_gtk.h
blob25753be0b43b9215b2c6198e0ddbbf46a4f6a554
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h"
11 class TranslateInfoBarDelegate;
13 class BeforeTranslateInfoBar : public TranslateInfoBarBase {
14 public:
15 explicit BeforeTranslateInfoBar(
16 scoped_ptr<TranslateInfoBarDelegate> delegate);
18 private:
19 virtual ~BeforeTranslateInfoBar();
21 // TranslateInfoBarBase:
22 virtual void PlatformSpecificSetOwner() OVERRIDE;
23 virtual bool ShowOptionsMenuButton() const OVERRIDE;
25 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnLanguageModified);
26 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAcceptPressed);
27 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnDenyPressed);
28 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnNeverTranslatePressed);
29 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAlwaysTranslatePressed);
31 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar);
34 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_BEFORE_TRANSLATE_INFOBAR_GTK_H_