summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/notifications/balloon_view.cc4
-rw-r--r--chrome/browser/views/notifications/balloon_view.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/notifications/balloon_view.cc b/chrome/browser/views/notifications/balloon_view.cc
index 64d1544..bbbba43 100644
--- a/chrome/browser/views/notifications/balloon_view.cc
+++ b/chrome/browser/views/notifications/balloon_view.cc
@@ -137,6 +137,10 @@ void BalloonViewImpl::DisplayChanged() {
collection_->DisplayChanged();
}
+void BalloonViewImpl::WorkAreaChanged() {
+ collection_->DisplayChanged();
+}
+
void BalloonViewImpl::ButtonPressed(views::Button* sender,
const views::Event&) {
// The only button currently is the close button.
diff --git a/chrome/browser/views/notifications/balloon_view.h b/chrome/browser/views/notifications/balloon_view.h
index 6478922..23bb691 100644
--- a/chrome/browser/views/notifications/balloon_view.h
+++ b/chrome/browser/views/notifications/balloon_view.h
@@ -75,6 +75,7 @@ class BalloonViewImpl : public BalloonView,
// views::WidgetDelegate interface.
void DisplayChanged();
+ void WorkAreaChanged();
// views::ButtonListener interface.
virtual void ButtonPressed(views::Button* sender, const views::Event&);