| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/display/display_change_observer_chromeos.h" | 5 #include "ash/display/display_change_observer_chromeos.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "ash/common/ash_switches.h" | 14 #include "ash/common/ash_switches.h" |
| 15 #include "ash/common/wm_shell.h" | 15 #include "ash/common/wm_shell.h" |
| 16 #include "ash/display/display_layout_store.h" | |
| 17 #include "ash/display/display_manager.h" | 16 #include "ash/display/display_manager.h" |
| 18 #include "ash/display/display_util.h" | 17 #include "ash/display/display_util.h" |
| 19 #include "ash/shell.h" | 18 #include "ash/shell.h" |
| 20 #include "ash/touch/touchscreen_util.h" | 19 #include "ash/touch/touchscreen_util.h" |
| 21 #include "base/command_line.h" | 20 #include "base/command_line.h" |
| 22 #include "base/logging.h" | 21 #include "base/logging.h" |
| 23 #include "grit/ash_strings.h" | 22 #include "grit/ash_strings.h" |
| 24 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
| 25 #include "ui/base/user_activity/user_activity_detector.h" | 24 #include "ui/base/user_activity/user_activity_detector.h" |
| 26 #include "ui/compositor/dip_util.h" | 25 #include "ui/compositor/dip_util.h" |
| 27 #include "ui/display/display.h" | 26 #include "ui/display/display.h" |
| 28 #include "ui/display/manager/display_layout.h" | 27 #include "ui/display/manager/display_layout.h" |
| 28 #include "ui/display/manager/display_layout_store.h" |
| 29 #include "ui/display/types/display_mode.h" | 29 #include "ui/display/types/display_mode.h" |
| 30 #include "ui/display/types/display_snapshot.h" | 30 #include "ui/display/types/display_snapshot.h" |
| 31 #include "ui/display/util/display_util.h" | 31 #include "ui/display/util/display_util.h" |
| 32 #include "ui/events/devices/input_device_manager.h" | 32 #include "ui/events/devices/input_device_manager.h" |
| 33 #include "ui/events/devices/touchscreen_device.h" | 33 #include "ui/events/devices/touchscreen_device.h" |
| 34 | 34 |
| 35 namespace ash { | 35 namespace ash { |
| 36 | 36 |
| 37 using ui::DisplayConfigurator; | 37 using ui::DisplayConfigurator; |
| 38 | 38 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 } | 309 } |
| 310 return 1.0f; | 310 return 1.0f; |
| 311 } | 311 } |
| 312 | 312 |
| 313 void DisplayChangeObserver::OnTouchscreenDeviceConfigurationChanged() { | 313 void DisplayChangeObserver::OnTouchscreenDeviceConfigurationChanged() { |
| 314 OnDisplayModeChanged( | 314 OnDisplayModeChanged( |
| 315 Shell::GetInstance()->display_configurator()->cached_displays()); | 315 Shell::GetInstance()->display_configurator()->cached_displays()); |
| 316 } | 316 } |
| 317 | 317 |
| 318 } // namespace ash | 318 } // namespace ash |
| OLD | NEW |