| 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 "ash/display/extended_mouse_warp_controller.h" |    5 #include "ash/display/extended_mouse_warp_controller.h" | 
|    6  |    6  | 
|    7 #include "ash/display/mouse_cursor_event_filter.h" |    7 #include "ash/display/mouse_cursor_event_filter.h" | 
|    8 #include "ash/shell.h" |    8 #include "ash/shell.h" | 
|    9 #include "ash/test/ash_test_base.h" |    9 #include "ash/test/ash_test_base.h" | 
|   10 #include "ui/display/display.h" |   10 #include "ui/display/display.h" | 
|   11 #include "ui/display/manager/display_layout.h" |   11 #include "ui/display/display_layout.h" | 
|   12 #include "ui/display/manager/display_layout_builder.h" |   12 #include "ui/display/display_layout_builder.h" | 
|   13 #include "ui/display/manager/display_manager.h" |   13 #include "ui/display/manager/display_manager.h" | 
|   14 #include "ui/display/screen.h" |   14 #include "ui/display/screen.h" | 
|   15 #include "ui/display/test/display_manager_test_api.h" |   15 #include "ui/display/test/display_manager_test_api.h" | 
|   16 #include "ui/events/test/event_generator.h" |   16 #include "ui/events/test/event_generator.h" | 
|   17  |   17  | 
|   18 namespace ash { |   18 namespace ash { | 
|   19  |   19  | 
|   20 class ExtendedMouseWarpControllerTest : public test::AshTestBase { |   20 class ExtendedMouseWarpControllerTest : public test::AshTestBase { | 
|   21  public: |   21  public: | 
|   22   ExtendedMouseWarpControllerTest() {} |   22   ExtendedMouseWarpControllerTest() {} | 
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  366             region_0->GetIndicatorBoundsForTest(display_2_id)); |  366             region_0->GetIndicatorBoundsForTest(display_2_id)); | 
|  367   // between 2 and 1 |  367   // between 2 and 1 | 
|  368   EXPECT_EQ(gfx::Rect(900, 499, 200, 1), |  368   EXPECT_EQ(gfx::Rect(900, 499, 200, 1), | 
|  369             region_1->GetIndicatorBoundsForTest(display_1_id)); |  369             region_1->GetIndicatorBoundsForTest(display_1_id)); | 
|  370   EXPECT_EQ(gfx::Rect(900, 500, 200, 1), |  370   EXPECT_EQ(gfx::Rect(900, 500, 200, 1), | 
|  371             region_1->GetIndicatorBoundsForTest(display_2_id)); |  371             region_1->GetIndicatorBoundsForTest(display_2_id)); | 
|  372   event_filter()->HideSharedEdgeIndicator(); |  372   event_filter()->HideSharedEdgeIndicator(); | 
|  373 } |  373 } | 
|  374  |  374  | 
|  375 }  // namespace ash |  375 }  // namespace ash | 
| OLD | NEW |