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 "extensions/browser/api/system_display/display_info_provider.h" | 5 #include "extensions/browser/api/system_display/display_info_provider.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | |
10 #include "ash/common/wm_shell.h" | |
11 #include "ash/display/screen_orientation_controller_chromeos.h" | 9 #include "ash/display/screen_orientation_controller_chromeos.h" |
12 #include "ash/shell.h" | 10 #include "ash/shell.h" |
13 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
| 12 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 13 #include "ash/wm_shell.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "chrome/browser/extensions/display_info_provider_chromeos.h" | 18 #include "chrome/browser/extensions/display_info_provider_chromeos.h" |
19 #include "extensions/common/api/system_display.h" | 19 #include "extensions/common/api/system_display.h" |
20 #include "ui/display/display.h" | 20 #include "ui/display/display.h" |
21 #include "ui/display/display_layout.h" | 21 #include "ui/display/display_layout.h" |
22 #include "ui/display/display_switches.h" | 22 #include "ui/display/display_switches.h" |
23 #include "ui/display/manager/display_manager.h" | 23 #include "ui/display/manager/display_manager.h" |
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 EXPECT_EQ(pairs.pair1.touch_point.y, data.point_pairs[0].second.y()); | 1441 EXPECT_EQ(pairs.pair1.touch_point.y, data.point_pairs[0].second.y()); |
1442 EXPECT_EQ(pairs.pair2.touch_point.y, data.point_pairs[1].second.y()); | 1442 EXPECT_EQ(pairs.pair2.touch_point.y, data.point_pairs[1].second.y()); |
1443 EXPECT_EQ(pairs.pair3.touch_point.y, data.point_pairs[2].second.y()); | 1443 EXPECT_EQ(pairs.pair3.touch_point.y, data.point_pairs[2].second.y()); |
1444 EXPECT_EQ(pairs.pair4.touch_point.y, data.point_pairs[3].second.y()); | 1444 EXPECT_EQ(pairs.pair4.touch_point.y, data.point_pairs[3].second.y()); |
1445 | 1445 |
1446 EXPECT_EQ(bounds.width, data.bounds.width()); | 1446 EXPECT_EQ(bounds.width, data.bounds.width()); |
1447 EXPECT_EQ(bounds.height, data.bounds.height()); | 1447 EXPECT_EQ(bounds.height, data.bounds.height()); |
1448 } | 1448 } |
1449 } // namespace | 1449 } // namespace |
1450 } // namespace extensions | 1450 } // namespace extensions |
OLD | NEW |