OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/app_list/app_list_presenter_delegate.h" | 5 #include "ash/app_list/app_list_presenter_delegate.h" |
6 | 6 |
7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
8 #include "ash/common/ash_switches.h" | 8 #include "ash/common/ash_switches.h" |
9 #include "ash/common/shelf/app_list_button.h" | 9 #include "ash/common/shelf/app_list_button.h" |
10 #include "ash/common/shelf/shelf_layout_manager.h" | 10 #include "ash/common/shelf/shelf_layout_manager.h" |
11 #include "ash/common/shelf/wm_shelf.h" | 11 #include "ash/common/shelf/wm_shelf.h" |
12 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | 12 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
13 #include "ash/common/wm/wm_screen_util.h" | 13 #include "ash/common/wm/wm_screen_util.h" |
14 #include "ash/common/wm_lookup.h" | 14 #include "ash/common/wm_lookup.h" |
15 #include "ash/common/wm_root_window_controller.h" | |
16 #include "ash/common/wm_shell.h" | 15 #include "ash/common/wm_shell.h" |
17 #include "ash/common/wm_window.h" | 16 #include "ash/common/wm_window.h" |
18 #include "ash/display/window_tree_host_manager.h" | 17 #include "ash/display/window_tree_host_manager.h" |
19 #include "ash/public/cpp/shelf_types.h" | 18 #include "ash/public/cpp/shelf_types.h" |
20 #include "ash/public/cpp/shell_window_ids.h" | 19 #include "ash/public/cpp/shell_window_ids.h" |
21 #include "ash/root_window_controller.h" | 20 #include "ash/root_window_controller.h" |
22 #include "ash/screen_util.h" | 21 #include "ash/screen_util.h" |
23 #include "ash/shell.h" | 22 #include "ash/shell.h" |
24 #include "base/command_line.h" | 23 #include "base/command_line.h" |
25 #include "ui/app_list/app_list_constants.h" | 24 #include "ui/app_list/app_list_constants.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 } | 272 } |
274 | 273 |
275 //////////////////////////////////////////////////////////////////////////////// | 274 //////////////////////////////////////////////////////////////////////////////// |
276 // AppListPresenterDelegate, WmShelfObserver implementation: | 275 // AppListPresenterDelegate, WmShelfObserver implementation: |
277 | 276 |
278 void AppListPresenterDelegate::OnShelfIconPositionsChanged() { | 277 void AppListPresenterDelegate::OnShelfIconPositionsChanged() { |
279 UpdateBounds(); | 278 UpdateBounds(); |
280 } | 279 } |
281 | 280 |
282 } // namespace ash | 281 } // namespace ash |
OLD | NEW |