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/system/public/system_ui.h" | 5 #include "athena/system/public/system_ui.h" |
6 | 6 |
7 #include "athena/common/container_priorities.h" | |
8 #include "athena/common/fill_layout_manager.h" | |
9 #include "athena/screen/public/screen_manager.h" | 7 #include "athena/screen/public/screen_manager.h" |
10 #include "athena/system/background_controller.h" | 8 #include "athena/system/background_controller.h" |
11 #include "athena/system/device_socket_listener.h" | 9 #include "athena/system/device_socket_listener.h" |
12 #include "athena/system/orientation_controller.h" | 10 #include "athena/system/orientation_controller.h" |
13 #include "athena/system/power_button_controller.h" | 11 #include "athena/system/power_button_controller.h" |
14 #include "athena/system/status_icon_container_view.h" | 12 #include "athena/system/status_icon_container_view.h" |
15 #include "athena/system/time_view.h" | 13 #include "athena/system/time_view.h" |
| 14 #include "athena/util/container_priorities.h" |
| 15 #include "athena/util/fill_layout_manager.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
19 #include "ui/aura/window.h" | 19 #include "ui/aura/window.h" |
20 #include "ui/views/view.h" | 20 #include "ui/views/view.h" |
21 | 21 |
22 namespace athena { | 22 namespace athena { |
23 namespace { | 23 namespace { |
24 | 24 |
25 SystemUI* instance = NULL; | 25 SystemUI* instance = NULL; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // static | 146 // static |
147 void SystemUI::Shutdown() { | 147 void SystemUI::Shutdown() { |
148 CHECK(instance); | 148 CHECK(instance); |
149 delete instance; | 149 delete instance; |
150 instance = NULL; | 150 instance = NULL; |
151 DeviceSocketListener::ShutdownSocketManager(); | 151 DeviceSocketListener::ShutdownSocketManager(); |
152 } | 152 } |
153 | 153 |
154 } // namespace athena | 154 } // namespace athena |
OLD | NEW |