OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "athena/home/home_card_impl.h" | 5 #include "athena/home/home_card_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "athena/common/container_priorities.h" | |
11 #include "athena/env/public/athena_env.h" | 10 #include "athena/env/public/athena_env.h" |
12 #include "athena/home/app_list_view_delegate.h" | 11 #include "athena/home/app_list_view_delegate.h" |
13 #include "athena/home/athena_start_page_view.h" | 12 #include "athena/home/athena_start_page_view.h" |
14 #include "athena/home/home_card_constants.h" | 13 #include "athena/home/home_card_constants.h" |
15 #include "athena/home/minimized_home.h" | 14 #include "athena/home/minimized_home.h" |
16 #include "athena/home/public/app_model_builder.h" | 15 #include "athena/home/public/app_model_builder.h" |
17 #include "athena/screen/public/screen_manager.h" | 16 #include "athena/screen/public/screen_manager.h" |
| 17 #include "athena/util/container_priorities.h" |
18 #include "athena/wm/public/window_manager.h" | 18 #include "athena/wm/public/window_manager.h" |
19 #include "ui/app_list/search_provider.h" | 19 #include "ui/app_list/search_provider.h" |
20 #include "ui/app_list/views/app_list_main_view.h" | 20 #include "ui/app_list/views/app_list_main_view.h" |
21 #include "ui/app_list/views/contents_view.h" | 21 #include "ui/app_list/views/contents_view.h" |
22 #include "ui/aura/layout_manager.h" | 22 #include "ui/aura/layout_manager.h" |
23 #include "ui/aura/window.h" | 23 #include "ui/aura/window.h" |
24 #include "ui/compositor/layer.h" | 24 #include "ui/compositor/layer.h" |
25 #include "ui/compositor/scoped_layer_animation_settings.h" | 25 #include "ui/compositor/scoped_layer_animation_settings.h" |
26 #include "ui/views/layout/fill_layout.h" | 26 #include "ui/views/layout/fill_layout.h" |
27 #include "ui/views/widget/widget.h" | 27 #include "ui/views/widget/widget.h" |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 instance = NULL; | 446 instance = NULL; |
447 } | 447 } |
448 | 448 |
449 // static | 449 // static |
450 HomeCard* HomeCard::Get() { | 450 HomeCard* HomeCard::Get() { |
451 DCHECK(instance); | 451 DCHECK(instance); |
452 return instance; | 452 return instance; |
453 } | 453 } |
454 | 454 |
455 } // namespace athena | 455 } // namespace athena |
OLD | NEW |