OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include "ash/display/display_manager.h" | 7 #include "ash/display/display_manager.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 16 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
16 #include "chrome/browser/chromeos/policy/device_policy_builder.h" | 17 #include "chrome/browser/chromeos/policy/device_policy_builder.h" |
17 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" | 18 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" |
18 #include "chrome/browser/chromeos/policy/display_rotation_default_handler.h" | 19 #include "chrome/browser/chromeos/policy/display_rotation_default_handler.h" |
19 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" | 20 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
20 #include "chrome/browser/chromeos/settings/cros_settings.h" | 21 #include "chrome/browser/chromeos/settings/cros_settings.h" |
21 #include "chrome/browser/lifetime/application_lifetime.h" | 22 #include "chrome/browser/lifetime/application_lifetime.h" |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 321 } |
321 | 322 |
322 INSTANTIATE_TEST_CASE_P(PolicyDisplayRotationDefault, | 323 INSTANTIATE_TEST_CASE_P(PolicyDisplayRotationDefault, |
323 DisplayRotationBootTest, | 324 DisplayRotationBootTest, |
324 testing::Values(gfx::Display::ROTATE_0, | 325 testing::Values(gfx::Display::ROTATE_0, |
325 gfx::Display::ROTATE_90, | 326 gfx::Display::ROTATE_90, |
326 gfx::Display::ROTATE_180, | 327 gfx::Display::ROTATE_180, |
327 gfx::Display::ROTATE_270)); | 328 gfx::Display::ROTATE_270)); |
328 | 329 |
329 } // namespace policy | 330 } // namespace policy |
OLD | NEW |