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/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_info.h" | 16 #include "ash/display/display_info.h" |
17 #include "ash/display/display_layout_store.h" | 17 #include "ash/display/display_layout_store.h" |
18 #include "ash/display/display_manager.h" | 18 #include "ash/display/display_manager.h" |
19 #include "ash/display/display_util.h" | 19 #include "ash/display/display_util.h" |
20 #include "ash/shell.h" | 20 #include "ash/shell.h" |
21 #include "ash/touch/touchscreen_util.h" | 21 #include "ash/touch/touchscreen_util.h" |
22 #include "base/command_line.h" | 22 #include "base/command_line.h" |
23 #include "base/logging.h" | 23 #include "base/logging.h" |
24 #include "grit/ash_strings.h" | 24 #include "grit/ash_strings.h" |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 307 } |
308 return 1.0f; | 308 return 1.0f; |
309 } | 309 } |
310 | 310 |
311 void DisplayChangeObserver::OnTouchscreenDeviceConfigurationChanged() { | 311 void DisplayChangeObserver::OnTouchscreenDeviceConfigurationChanged() { |
312 OnDisplayModeChanged( | 312 OnDisplayModeChanged( |
313 Shell::GetInstance()->display_configurator()->cached_displays()); | 313 Shell::GetInstance()->display_configurator()->cached_displays()); |
314 } | 314 } |
315 | 315 |
316 } // namespace ash | 316 } // namespace ash |
OLD | NEW |