summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/infobars/link_infobar_gtk.h
blob: cb1afa36f920e5e24fa6be5305294afc3a3ace31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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_LINK_INFOBAR_GTK_H_
#define CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_
#pragma once

#include "base/basictypes.h"
#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
#include "ui/base/gtk/gtk_signal.h"

class LinkInfoBarDelegate;

// An infobar that shows a string with an embedded link.
class LinkInfoBarGtk : public InfoBarGtk {
 public:
  LinkInfoBarGtk(InfoBarTabHelper* owner, LinkInfoBarDelegate* delegate);

 private:
  virtual ~LinkInfoBarGtk();

  CHROMEGTK_CALLBACK_0(LinkInfoBarGtk, void, OnLinkClicked);

  LinkInfoBarDelegate* GetDelegate();

  DISALLOW_COPY_AND_ASSIGN(LinkInfoBarGtk);
};

#endif  // CHROME_BROWSER_UI_GTK_INFOBARS_LINK_INFOBAR_GTK_H_