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.
4
5#ifndef CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
6#define CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
7#pragma once
8
9#include "base/basictypes.h"
10#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
11#include "ui/base/gtk/gtk_signal.h"
12
13class LinkInfoBarDelegate;
14
15// An infobar that shows a string with an embedded link.
16class LinkInfoBarGtk : public InfoBar {
17 public:
18  explicit LinkInfoBarGtk(LinkInfoBarDelegate* delegate);
19
20 private:
21  virtual ~LinkInfoBarGtk();
22
23  CHROMEGTK_CALLBACK_0(LinkInfoBarGtk, void, OnLinkClicked);
24
25  LinkInfoBarDelegate* GetDelegate();
26
27  DISALLOW_COPY_AND_ASSIGN(LinkInfoBarGtk);
28};
29
30#endif  // CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
31