| 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 "chrome/browser/chromeos/policy/display_rotation_default_handler.h" | 5 #include "chrome/browser/chromeos/policy/display_rotation_default_handler.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chromeos/chromeos_switches.h" | 26 #include "chromeos/chromeos_switches.h" |
| 27 #include "chromeos/dbus/cryptohome_client.h" | 27 #include "chromeos/dbus/cryptohome_client.h" |
| 28 #include "chromeos/dbus/dbus_thread_manager.h" | 28 #include "chromeos/dbus/dbus_thread_manager.h" |
| 29 #include "chromeos/dbus/fake_cryptohome_client.h" | 29 #include "chromeos/dbus/fake_cryptohome_client.h" |
| 30 #include "chromeos/dbus/fake_session_manager_client.h" | 30 #include "chromeos/dbus/fake_session_manager_client.h" |
| 31 #include "chromeos/dbus/session_manager_client.h" | 31 #include "chromeos/dbus/session_manager_client.h" |
| 32 #include "chromeos/settings/cros_settings_names.h" | 32 #include "chromeos/settings/cros_settings_names.h" |
| 33 #include "content/public/test/test_utils.h" | 33 #include "content/public/test/test_utils.h" |
| 34 #include "testing/gtest/include/gtest/gtest.h" | 34 #include "testing/gtest/include/gtest/gtest.h" |
| 35 #include "ui/display/display.h" | 35 #include "ui/display/display.h" |
| 36 #include "ui/display/manager/display_layout.h" | 36 #include "ui/display/display_layout.h" |
| 37 #include "ui/display/manager/display_manager.h" | 37 #include "ui/display/manager/display_manager.h" |
| 38 | 38 |
| 39 namespace em = enterprise_management; | 39 namespace em = enterprise_management; |
| 40 | 40 |
| 41 namespace { | 41 namespace { |
| 42 | 42 |
| 43 display::DisplayManager* GetDisplayManager() { | 43 display::DisplayManager* GetDisplayManager() { |
| 44 return ash::Shell::GetInstance()->display_manager(); | 44 return ash::Shell::GetInstance()->display_manager(); |
| 45 } | 45 } |
| 46 | 46 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 } | 325 } |
| 326 | 326 |
| 327 INSTANTIATE_TEST_CASE_P(PolicyDisplayRotationDefault, | 327 INSTANTIATE_TEST_CASE_P(PolicyDisplayRotationDefault, |
| 328 DisplayRotationBootTest, | 328 DisplayRotationBootTest, |
| 329 testing::Values(display::Display::ROTATE_0, | 329 testing::Values(display::Display::ROTATE_0, |
| 330 display::Display::ROTATE_90, | 330 display::Display::ROTATE_90, |
| 331 display::Display::ROTATE_180, | 331 display::Display::ROTATE_180, |
| 332 display::Display::ROTATE_270)); | 332 display::Display::ROTATE_270)); |
| 333 | 333 |
| 334 } // namespace policy | 334 } // namespace policy |
| OLD | NEW |