Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/aura/wm_shelf_aura.h" | 5 #include "ash/aura/wm_shelf_aura.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
| 8 #include "ash/common/shelf/wm_shelf_observer.h" | 8 #include "ash/common/shelf/wm_shelf_observer.h" |
| 9 #include "ash/common/wm_window.h" | 9 #include "ash/common/wm_window.h" |
| 10 #include "ash/shelf/shelf.h" | 10 #include "ash/shelf/shelf.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 161 | 161 |
| 162 void WmShelfAura::OnAutoHideStateChanged(ShelfAutoHideState new_state) { | 162 void WmShelfAura::OnAutoHideStateChanged(ShelfAutoHideState new_state) { |
| 163 FOR_EACH_OBSERVER(WmShelfObserver, observers_, | 163 FOR_EACH_OBSERVER(WmShelfObserver, observers_, |
| 164 OnAutoHideStateChanged(new_state)); | 164 OnAutoHideStateChanged(new_state)); |
| 165 } | 165 } |
| 166 | 166 |
| 167 void WmShelfAura::OnShelfIconPositionsChanged() { | 167 void WmShelfAura::OnShelfIconPositionsChanged() { |
| 168 FOR_EACH_OBSERVER(WmShelfObserver, observers_, OnShelfIconPositionsChanged()); | 168 FOR_EACH_OBSERVER(WmShelfObserver, observers_, OnShelfIconPositionsChanged()); |
| 169 } | 169 } |
| 170 | 170 |
| 171 void WmShelfAura::SetKeyboardBoundsForTesting(const gfx::Rect& bounds) { | |
|
msw
2016/06/25 00:18:29
nit: reorder to match decl
James Cook
2016/06/25 01:20:58
Done.
| |
| 172 shelf_layout_manager_->OnKeyboardBoundsChanging(bounds); | |
| 173 } | |
| 174 | |
| 171 } // namespace ash | 175 } // namespace ash |
| OLD | NEW |