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/common/shelf/wm_shelf.h" |
| 6 |
5 #include "ash/common/shelf/shelf_delegate.h" | 7 #include "ash/common/shelf/shelf_delegate.h" |
6 #include "ash/common/shelf/shelf_item_delegate.h" | 8 #include "ash/common/shelf/shelf_item_delegate.h" |
7 #include "ash/common/shelf/shelf_layout_manager.h" | 9 #include "ash/common/shelf/shelf_layout_manager.h" |
8 #include "ash/common/shelf/shelf_locking_manager.h" | 10 #include "ash/common/shelf/shelf_locking_manager.h" |
9 #include "ash/common/shelf/shelf_model.h" | 11 #include "ash/common/shelf/shelf_model.h" |
10 #include "ash/common/shelf/shelf_widget.h" | 12 #include "ash/common/shelf/shelf_widget.h" |
11 #include "ash/common/shelf/wm_shelf.h" | |
12 #include "ash/common/shelf/wm_shelf_observer.h" | 13 #include "ash/common/shelf/wm_shelf_observer.h" |
13 #include "ash/common/shell_window_ids.h" | 14 #include "ash/common/shell_window_ids.h" |
14 #include "ash/common/wm_lookup.h" | 15 #include "ash/common/wm_lookup.h" |
15 #include "ash/common/wm_root_window_controller.h" | 16 #include "ash/common/wm_root_window_controller.h" |
16 #include "ash/common/wm_shell.h" | 17 #include "ash/common/wm_shell.h" |
17 #include "ash/common/wm_window.h" | 18 #include "ash/common/wm_window.h" |
18 #include "base/logging.h" | 19 #include "base/logging.h" |
19 #include "ui/gfx/geometry/rect.h" | 20 #include "ui/gfx/geometry/rect.h" |
20 | 21 |
21 namespace ash { | 22 namespace ash { |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 297 |
297 void WmShelf::OnBackgroundUpdated(ShelfBackgroundType background_type, | 298 void WmShelf::OnBackgroundUpdated(ShelfBackgroundType background_type, |
298 BackgroundAnimatorChangeType change_type) { | 299 BackgroundAnimatorChangeType change_type) { |
299 if (background_type == GetBackgroundType()) | 300 if (background_type == GetBackgroundType()) |
300 return; | 301 return; |
301 FOR_EACH_OBSERVER(WmShelfObserver, observers_, | 302 FOR_EACH_OBSERVER(WmShelfObserver, observers_, |
302 OnBackgroundTypeChanged(background_type, change_type)); | 303 OnBackgroundTypeChanged(background_type, change_type)); |
303 } | 304 } |
304 | 305 |
305 } // namespace ash | 306 } // namespace ash |
OLD | NEW |