diff options
Diffstat (limited to 'ash/wm/overview/window_selector.cc')
-rw-r--r-- | ash/wm/overview/window_selector.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc index 3e9a478..04fbccb 100644 --- a/ash/wm/overview/window_selector.cc +++ b/ash/wm/overview/window_selector.cc @@ -325,16 +325,17 @@ void WindowSelector::OnTouchEvent(ui::TouchEvent* event) { SelectWindow(target); } -void WindowSelector::OnDisplayBoundsChanged(const gfx::Display& display) { - PositionWindows(/* animate */ false); -} - void WindowSelector::OnDisplayAdded(const gfx::Display& display) { } void WindowSelector::OnDisplayRemoved(const gfx::Display& display) { } +void WindowSelector::OnDisplayMetricsChanged(const gfx::Display& display, + uint32_t metrics) { + PositionWindows(/* animate */ false); +} + void WindowSelector::OnWindowAdded(aura::Window* new_window) { if (new_window->type() != ui::wm::WINDOW_TYPE_NORMAL && new_window->type() != ui::wm::WINDOW_TYPE_PANEL) { |