Index: ui/message_center/views/message_popup_collection.h |
diff --git a/ui/message_center/views/message_popup_collection.h b/ui/message_center/views/message_popup_collection.h |
index 955af32ddb5e2a25363f4de44b3829b2d7ce7592..907274e625149a1d32f4270501e28f63f330d6af 100644 |
--- a/ui/message_center/views/message_popup_collection.h |
+++ b/ui/message_center/views/message_popup_collection.h |
@@ -111,7 +111,7 @@ |
// Updates |work_area_| and re-calculates the alignment of notification toasts |
// rearranging them if necessary. |
- // This is separated from methods from OnDisplayMetricsChanged(), since |
+ // This is separated from methods from OnDisplayBoundsChanged(), since |
// sometimes the display info has to be specified directly. One example is |
// shelf's auto-hide change. When the shelf in ChromeOS is temporarily shown |
// from auto hide status, it doesn't change the display's work area but the |
@@ -120,10 +120,9 @@ |
const gfx::Rect& screen_bounds); |
// Overridden from gfx::DislayObserver: |
+ virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; |
virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; |
virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; |
- virtual void OnDisplayMetricsChanged(const gfx::Display& display, |
- uint32_t metrics) OVERRIDE; |
// Used by ToastContentsView to locate itself. |
gfx::NativeView parent() const { return parent_; } |