| 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 <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "ash/ash_switches.h" | 12 #include "ash/ash_switches.h" |
| 13 #include "ash/display/display_info.h" | 13 #include "ash/display/display_info.h" |
| 14 #include "ash/display/display_layout_store.h" | 14 #include "ash/display/display_layout_store.h" |
| 15 #include "ash/display/display_manager.h" | 15 #include "ash/display/display_manager.h" |
| 16 #include "ash/shell.h" | 16 #include "ash/shell.h" |
| 17 #include "ash/touch/touchscreen_util.h" | 17 #include "ash/touch/touchscreen_util.h" |
| 18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
| 19 #include "base/logging.h" | 19 #include "base/logging.h" |
| 20 #include "grit/ash_strings.h" | 20 #include "grit/ash_strings.h" |
| 21 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
| 22 #include "ui/compositor/dip_util.h" | 22 #include "ui/compositor/dip_util.h" |
| 23 #include "ui/display/types/chromeos/display_mode.h" | 23 #include "ui/display/types/display_mode.h" |
| 24 #include "ui/display/types/chromeos/display_snapshot.h" | 24 #include "ui/display/types/display_snapshot.h" |
| 25 #include "ui/display/util/display_util.h" | 25 #include "ui/display/util/display_util.h" |
| 26 #include "ui/events/device_data_manager.h" | 26 #include "ui/events/device_data_manager.h" |
| 27 #include "ui/events/touchscreen_device.h" | 27 #include "ui/events/touchscreen_device.h" |
| 28 #include "ui/gfx/display.h" | 28 #include "ui/gfx/display.h" |
| 29 | 29 |
| 30 namespace ash { | 30 namespace ash { |
| 31 | 31 |
| 32 using ui::DisplayConfigurator; | 32 using ui::DisplayConfigurator; |
| 33 | 33 |
| 34 namespace { | 34 namespace { |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 display_infos.push_back(display); | 282 display_infos.push_back(display); |
| 283 } | 283 } |
| 284 | 284 |
| 285 AssociateTouchscreens( | 285 AssociateTouchscreens( |
| 286 &display_infos, | 286 &display_infos, |
| 287 ui::DeviceDataManager::GetInstance()->touchscreen_devices()); | 287 ui::DeviceDataManager::GetInstance()->touchscreen_devices()); |
| 288 display_manager->OnNativeDisplaysChanged(display_infos); | 288 display_manager->OnNativeDisplaysChanged(display_infos); |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace ash | 291 } // namespace ash |
| OLD | NEW |