| Index: ash/wm/ash_native_cursor_manager_unittest.cc
|
| diff --git a/ash/wm/ash_native_cursor_manager_unittest.cc b/ash/wm/ash_native_cursor_manager_unittest.cc
|
| index 01def5ef6136c494b6a2712ee967ed1407a4e1ed..695a965872b9c7c03940a27aa3884987ba0d0fd1 100644
|
| --- a/ash/wm/ash_native_cursor_manager_unittest.cc
|
| +++ b/ash/wm/ash_native_cursor_manager_unittest.cc
|
| @@ -146,6 +146,17 @@ TEST_F(AshNativeCursorManagerTest, SetDeviceScaleFactorAndRotation) {
|
| EXPECT_EQ(gfx::Display::ROTATE_270, test_api.GetCurrentCursorRotation());
|
| }
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +// TODO(oshima): crbug.com/143619
|
| +TEST_F(AshNativeCursorManagerTest, FractionalScale) {
|
| + ::wm::CursorManager* cursor_manager = Shell::GetInstance()->cursor_manager();
|
| + CursorManagerTestApi test_api(cursor_manager);
|
| + // Cursor should use the resource scale factor.
|
| + UpdateDisplay("800x100*1.25");
|
| + EXPECT_EQ(1.0f, test_api.GetCurrentCursor().device_scale_factor());
|
| +}
|
| +#endif
|
| +
|
| TEST_F(AshNativeCursorManagerTest, UIScaleShouldNotChangeCursor) {
|
| int64 display_id = Shell::GetScreen()->GetPrimaryDisplay().id();
|
| gfx::Display::SetInternalDisplayId(display_id);
|
|
|