#ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_
#define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_HOST_H_
#include "chrome/browser/notifications/balloon_host.h"
#include "ui/views/controls/native/native_view_host.h"
class BalloonViewHost : public BalloonHost {
public:
explicit BalloonViewHost(Balloon* balloon);
virtual ~BalloonViewHost();
void SetPreferredSize(const gfx::Size& size) {
native_host_->SetPreferredSize(size);
}
views::View* view() {
return native_host_;
}
gfx::NativeView native_view() const {
return native_host_->native_view();
}
void Init(gfx::NativeView parent);
private:
views::NativeViewHost* native_host_;
gfx::NativeView parent_native_view_;
DISALLOW_COPY_AND_ASSIGN(BalloonViewHost);
};
#endif