OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/aura_shell/shell.h" | 5 #include "ui/aura_shell/shell.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "ui/aura/aura_switches.h" | 9 #include "ui/aura/aura_switches.h" |
10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "ui/aura_shell/shelf_layout_controller.h" | 22 #include "ui/aura_shell/shelf_layout_controller.h" |
23 #include "ui/aura_shell/shell_delegate.h" | 23 #include "ui/aura_shell/shell_delegate.h" |
24 #include "ui/aura_shell/shell_factory.h" | 24 #include "ui/aura_shell/shell_factory.h" |
25 #include "ui/aura_shell/shell_window_ids.h" | 25 #include "ui/aura_shell/shell_window_ids.h" |
26 #include "ui/aura_shell/stacking_controller.h" | 26 #include "ui/aura_shell/stacking_controller.h" |
27 #include "ui/aura_shell/toplevel_layout_manager.h" | 27 #include "ui/aura_shell/toplevel_layout_manager.h" |
28 #include "ui/aura_shell/toplevel_window_event_filter.h" | 28 #include "ui/aura_shell/toplevel_window_event_filter.h" |
29 #include "ui/aura_shell/workspace_controller.h" | 29 #include "ui/aura_shell/workspace_controller.h" |
30 #include "ui/gfx/compositor/layer.h" | 30 #include "ui/gfx/compositor/layer.h" |
31 #include "ui/gfx/compositor/layer_animator.h" | 31 #include "ui/gfx/compositor/layer_animator.h" |
32 #include "ui/views/widget/native_widget_aura.h" | 32 #include "views/widget/native_widget_aura.h" |
33 #include "ui/views/widget/widget.h" | 33 #include "views/widget/widget.h" |
34 | 34 |
35 namespace aura_shell { | 35 namespace aura_shell { |
36 | 36 |
37 namespace { | 37 namespace { |
38 | 38 |
39 using views::Widget; | 39 using views::Widget; |
40 | 40 |
41 // Creates each of the special window containers that holds windows of various | 41 // Creates each of the special window containers that holds windows of various |
42 // types in the shell UI. They are added to |containers| from back to front in | 42 // types in the shell UI. They are added to |containers| from back to front in |
43 // the z-index. | 43 // the z-index. |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 new internal::WorkspaceController(default_container)); | 228 new internal::WorkspaceController(default_container)); |
229 workspace_controller_->SetLauncherModel(launcher_->model()); | 229 workspace_controller_->SetLauncherModel(launcher_->model()); |
230 default_container->SetEventFilter( | 230 default_container->SetEventFilter( |
231 new internal::DefaultContainerEventFilter(default_container)); | 231 new internal::DefaultContainerEventFilter(default_container)); |
232 default_container->SetLayoutManager( | 232 default_container->SetLayoutManager( |
233 new internal::DefaultContainerLayoutManager( | 233 new internal::DefaultContainerLayoutManager( |
234 workspace_controller_->workspace_manager())); | 234 workspace_controller_->workspace_manager())); |
235 } | 235 } |
236 | 236 |
237 } // namespace aura_shell | 237 } // namespace aura_shell |
OLD | NEW |