Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / browser / ui / gtk / infobars / alternate_nav_infobar_gtk.h
blob45f3e00aa73ee5796f9ff3357257218a9e017c59
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_ALTERNATE_NAV_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
10 #include "ui/base/gtk/gtk_signal.h"
12 class AlternateNavInfoBarDelegate;
14 // An infobar that shows a string with an embedded link.
15 class AlternateNavInfoBarGtk : public InfoBarGtk {
16 public:
17 explicit AlternateNavInfoBarGtk(
18 scoped_ptr<AlternateNavInfoBarDelegate> delegate);
20 private:
21 virtual ~AlternateNavInfoBarGtk();
23 // InfoBarGtk:
24 virtual void PlatformSpecificSetOwner() OVERRIDE;
26 AlternateNavInfoBarDelegate* GetDelegate();
28 CHROMEGTK_CALLBACK_0(AlternateNavInfoBarGtk, void, OnLinkClicked);
30 DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarGtk);
33 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_