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/common/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "ash/common/shelf/shelf_types.h" | 8 #include "ash/common/shelf/shelf_types.h" |
9 #include "ash/common/shell_window_ids.h" | 9 #include "ash/common/shell_window_ids.h" |
10 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | 10 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
11 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
12 #include "ash/display/window_tree_host_manager.h" | 12 #include "ash/display/window_tree_host_manager.h" |
13 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
14 #include "ash/screen_util.h" | 14 #include "ash/screen_util.h" |
15 #include "ash/shelf/app_list_button.h" | 15 #include "ash/shelf/app_list_button.h" |
16 #include "ash/shelf/shelf.h" | 16 #include "ash/shelf/shelf.h" |
17 #include "ash/shelf/shelf_layout_manager.h" | 17 #include "ash/shelf/shelf_layout_manager.h" |
18 #include "ash/shell.h" | 18 #include "ash/shell.h" |
19 #include "ash/shell_delegate.h" | |
20 #include "base/command_line.h" | 19 #include "base/command_line.h" |
21 #include "ui/app_list/app_list_constants.h" | 20 #include "ui/app_list/app_list_constants.h" |
22 #include "ui/app_list/app_list_switches.h" | 21 #include "ui/app_list/app_list_switches.h" |
23 #include "ui/app_list/presenter/app_list_presenter.h" | 22 #include "ui/app_list/presenter/app_list_presenter.h" |
24 #include "ui/app_list/presenter/app_list_view_delegate_factory.h" | 23 #include "ui/app_list/presenter/app_list_view_delegate_factory.h" |
25 #include "ui/app_list/views/app_list_view.h" | 24 #include "ui/app_list/views/app_list_view.h" |
26 #include "ui/aura/window.h" | 25 #include "ui/aura/window.h" |
27 #include "ui/events/event.h" | 26 #include "ui/events/event.h" |
28 #include "ui/keyboard/keyboard_controller.h" | 27 #include "ui/keyboard/keyboard_controller.h" |
29 #include "ui/views/widget/widget.h" | 28 #include "ui/views/widget/widget.h" |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 } | 336 } |
338 | 337 |
339 //////////////////////////////////////////////////////////////////////////////// | 338 //////////////////////////////////////////////////////////////////////////////// |
340 // AppListPresenterDelegate, ShelfIconObserver implementation: | 339 // AppListPresenterDelegate, ShelfIconObserver implementation: |
341 | 340 |
342 void AppListPresenterDelegate::OnShelfIconPositionsChanged() { | 341 void AppListPresenterDelegate::OnShelfIconPositionsChanged() { |
343 UpdateBounds(); | 342 UpdateBounds(); |
344 } | 343 } |
345 | 344 |
346 } // namespace ash | 345 } // namespace ash |
OLD | NEW |