| 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" | 5 #include "ash/common/shelf/wm_shelf.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
| 8 #include "ash/common/shelf/shelf_controller.h" | 8 #include "ash/common/shelf/shelf_controller.h" |
| 9 #include "ash/common/shelf/shelf_delegate.h" | 9 #include "ash/common/shelf/shelf_delegate.h" |
| 10 #include "ash/common/shelf/shelf_item_delegate.h" | 10 #include "ash/common/shelf/shelf_item_delegate.h" |
| 11 #include "ash/common/shelf/shelf_layout_manager.h" | 11 #include "ash/common/shelf/shelf_layout_manager.h" |
| 12 #include "ash/common/shelf/shelf_locking_manager.h" | 12 #include "ash/common/shelf/shelf_locking_manager.h" |
| 13 #include "ash/common/shelf/shelf_model.h" | 13 #include "ash/common/shelf/shelf_model.h" |
| 14 #include "ash/common/shelf/shelf_widget.h" | 14 #include "ash/common/shelf/shelf_widget.h" |
| 15 #include "ash/common/shelf/wm_shelf_observer.h" | 15 #include "ash/common/shelf/wm_shelf_observer.h" |
| 16 #include "ash/common/system/tray/system_tray_delegate.h" | 16 #include "ash/common/system/tray/system_tray_delegate.h" |
| 17 #include "ash/common/wm_lookup.h" | 17 #include "ash/common/wm_lookup.h" |
| 18 #include "ash/common/wm_root_window_controller.h" | |
| 19 #include "ash/common/wm_shell.h" | 18 #include "ash/common/wm_shell.h" |
| 20 #include "ash/common/wm_window.h" | 19 #include "ash/common/wm_window.h" |
| 21 #include "ash/public/cpp/shell_window_ids.h" | 20 #include "ash/public/cpp/shell_window_ids.h" |
| 21 #include "ash/root_window_controller.h" |
| 22 #include "ash/shelf/shelf_bezel_event_handler.h" | 22 #include "ash/shelf/shelf_bezel_event_handler.h" |
| 23 #include "ash/shell.h" | 23 #include "ash/shell.h" |
| 24 #include "base/logging.h" | 24 #include "base/logging.h" |
| 25 #include "base/memory/ptr_util.h" | 25 #include "base/memory/ptr_util.h" |
| 26 #include "ui/aura/env.h" | 26 #include "ui/aura/env.h" |
| 27 #include "ui/gfx/geometry/rect.h" | 27 #include "ui/gfx/geometry/rect.h" |
| 28 | 28 |
| 29 namespace ash { | 29 namespace ash { |
| 30 | 30 |
| 31 // WmShelf::AutoHideEventHandler ----------------------------------------------- | 31 // WmShelf::AutoHideEventHandler ----------------------------------------------- |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 388 |
| 389 void WmShelf::OnBackgroundUpdated(ShelfBackgroundType background_type, | 389 void WmShelf::OnBackgroundUpdated(ShelfBackgroundType background_type, |
| 390 BackgroundAnimatorChangeType change_type) { | 390 BackgroundAnimatorChangeType change_type) { |
| 391 if (background_type == GetBackgroundType()) | 391 if (background_type == GetBackgroundType()) |
| 392 return; | 392 return; |
| 393 for (auto& observer : observers_) | 393 for (auto& observer : observers_) |
| 394 observer.OnBackgroundTypeChanged(background_type, change_type); | 394 observer.OnBackgroundTypeChanged(background_type, change_type); |
| 395 } | 395 } |
| 396 | 396 |
| 397 } // namespace ash | 397 } // namespace ash |
| OLD | NEW |