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/system/screen_layout_observer.h" | 5 #include "ash/system/screen_layout_observer.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/common/metrics/user_metrics_action.h" | |
12 #include "ash/common/wm_shell.h" | |
13 #include "ash/display/screen_orientation_controller_chromeos.h" | 11 #include "ash/display/screen_orientation_controller_chromeos.h" |
| 12 #include "ash/metrics/user_metrics_action.h" |
14 #include "ash/resources/grit/ash_resources.h" | 13 #include "ash/resources/grit/ash_resources.h" |
15 #include "ash/shell.h" | 14 #include "ash/shell.h" |
16 #include "ash/strings/grit/ash_strings.h" | 15 #include "ash/strings/grit/ash_strings.h" |
17 #include "ash/system/devicetype_utils.h" | 16 #include "ash/system/devicetype_utils.h" |
18 #include "ash/system/system_notifier.h" | 17 #include "ash/system/system_notifier.h" |
19 #include "ash/system/tray/fixed_sized_image_view.h" | 18 #include "ash/system/tray/fixed_sized_image_view.h" |
20 #include "ash/system/tray/system_tray_controller.h" | 19 #include "ash/system/tray/system_tray_controller.h" |
21 #include "ash/system/tray/system_tray_delegate.h" | 20 #include "ash/system/tray/system_tray_delegate.h" |
22 #include "ash/system/tray/tray_constants.h" | 21 #include "ash/system/tray/tray_constants.h" |
| 22 #include "ash/wm_shell.h" |
23 #include "base/bind.h" | 23 #include "base/bind.h" |
24 #include "base/strings/string_util.h" | 24 #include "base/strings/string_util.h" |
25 #include "base/strings/utf_string_conversions.h" | 25 #include "base/strings/utf_string_conversions.h" |
26 #include "ui/base/l10n/l10n_util.h" | 26 #include "ui/base/l10n/l10n_util.h" |
27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
28 #include "ui/display/display.h" | 28 #include "ui/display/display.h" |
29 #include "ui/display/manager/display_manager.h" | 29 #include "ui/display/manager/display_manager.h" |
30 #include "ui/display/types/display_constants.h" | 30 #include "ui/display/types/display_constants.h" |
31 #include "ui/message_center/message_center.h" | 31 #include "ui/message_center/message_center.h" |
32 #include "ui/message_center/notification.h" | 32 #include "ui/message_center/notification.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 return true; | 415 return true; |
416 | 416 |
417 default: | 417 default: |
418 // Mirror mode was turned off; other messages should be shown e.g. | 418 // Mirror mode was turned off; other messages should be shown e.g. |
419 // extended mode is on, ... etc. | 419 // extended mode is on, ... etc. |
420 return false; | 420 return false; |
421 } | 421 } |
422 } | 422 } |
423 | 423 |
424 } // namespace ash | 424 } // namespace ash |
OLD | NEW |