#ifndef CHROME_BROWSER_UI_VIEWS_NETWORK_PROFILE_BUBBLE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_NETWORK_PROFILE_BUBBLE_VIEW_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/link_listener.h"
class Profile;
namespace content {
class PageNavigator;
}
class NetworkProfileBubbleView : public views::BubbleDelegateView,
public views::ButtonListener,
public views::LinkListener {
public:
NetworkProfileBubbleView(views::View* anchor,
content::PageNavigator* navigator,
Profile* profile);
private:
virtual ~NetworkProfileBubbleView();
virtual void Init() OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
content::PageNavigator* navigator_;
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(NetworkProfileBubbleView);
};
#endif