This source file includes following definitions.
- Show
- Update
- RepositionToBalloon
- Close
- GetSize
- GetHost
#include "chrome/browser/notifications/fake_balloon_view.h"
FakeBalloonView::FakeBalloonView(Balloon* balloon)
: balloon_(balloon) {
}
FakeBalloonView::~FakeBalloonView() {
}
void FakeBalloonView::Show(Balloon* balloon) {
}
void FakeBalloonView::Update() {
}
void FakeBalloonView::RepositionToBalloon() {
}
void FakeBalloonView::Close(bool by_user) {
balloon_->OnClose(by_user);
}
gfx::Size FakeBalloonView::GetSize() const {
return balloon_->content_size();
}
BalloonHost* FakeBalloonView::GetHost() const {
return NULL;
}