root/chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// 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_ALTERNATE_NAV_INFOBAR_GTK_H_
#define CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_

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

class AlternateNavInfoBarDelegate;

// An infobar that shows a string with an embedded link.
class AlternateNavInfoBarGtk : public InfoBarGtk {
 public:
  explicit AlternateNavInfoBarGtk(
      scoped_ptr<AlternateNavInfoBarDelegate> delegate);

 private:
  virtual ~AlternateNavInfoBarGtk();

  // InfoBarGtk:
  virtual void PlatformSpecificSetOwner() OVERRIDE;

  AlternateNavInfoBarDelegate* GetDelegate();

  CHROMEGTK_CALLBACK_0(AlternateNavInfoBarGtk, void, OnLinkClicked);

  DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarGtk);
};

#endif  // CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_

/* [<][>][^][v][top][bottom][index][help] */