Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: ash/display/extended_mouse_warp_controller_unittest.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/display/extended_mouse_warp_controller.cc ('k') | ash/display/json_converter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/display/extended_mouse_warp_controller.cc ('k') | ash/display/json_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698