summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/notifications/balloon_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/notifications/balloon_view.cc')
-rw-r--r--chrome/browser/views/notifications/balloon_view.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/views/notifications/balloon_view.cc b/chrome/browser/views/notifications/balloon_view.cc
index ec9aa95..c89280b 100644
--- a/chrome/browser/views/notifications/balloon_view.cc
+++ b/chrome/browser/views/notifications/balloon_view.cc
@@ -205,6 +205,13 @@ void BalloonViewImpl::RepositionToBalloon() {
animation_->Show();
}
+void BalloonViewImpl::Update() {
+ DCHECK(html_contents_.get()) << "BalloonView::Update called before Show";
+ if (html_contents_->render_view_host())
+ html_contents_->render_view_host()->NavigateToURL(
+ balloon_->notification().content_url());
+}
+
void BalloonViewImpl::AnimationProgressed(const Animation* animation) {
DCHECK(animation == animation_.get());