Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: ash/aura/wm_shelf_aura.cc

Issue 2093283002: mash: Convert all of //ash/system to use WmShelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698