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

Side by Side Diff: ash/utility/screenshot_controller_unittest.cc

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: fix windows build Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/utility/screenshot_controller.h" 5 #include "ash/utility/screenshot_controller.h"
6 6
7 #include "ash/display/cursor_window_controller.h" 7 #include "ash/display/cursor_window_controller.h"
8 #include "ash/display/mouse_cursor_event_filter.h" 8 #include "ash/display/mouse_cursor_event_filter.h"
9 #include "ash/display/window_tree_host_manager.h" 9 #include "ash/display/window_tree_host_manager.h"
10 #include "ash/screenshot_delegate.h" 10 #include "ash/screenshot_delegate.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ash/test/display_manager_test_api.h"
14 #include "ash/test/mirror_window_test_api.h" 13 #include "ash/test/mirror_window_test_api.h"
15 #include "ash/test/test_screenshot_delegate.h" 14 #include "ash/test/test_screenshot_delegate.h"
16 #include "ash/wm/window_util.h" 15 #include "ash/wm/window_util.h"
17 #include "ui/aura/env.h" 16 #include "ui/aura/env.h"
18 #include "ui/aura/window_event_dispatcher.h" 17 #include "ui/aura/window_event_dispatcher.h"
19 #include "ui/base/cursor/cursor.h" 18 #include "ui/base/cursor/cursor.h"
20 #include "ui/events/test/event_generator.h" 19 #include "ui/events/test/event_generator.h"
21 #include "ui/wm/core/cursor_manager.h" 20 #include "ui/wm/core/cursor_manager.h"
22 21
23 namespace ash { 22 namespace ash {
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 CreateSelectableWindow(gfx::Rect(100, 100, 100, 100))); 487 CreateSelectableWindow(gfx::Rect(100, 100, 100, 100)));
489 window->SetCapture(); 488 window->SetCapture();
490 EXPECT_TRUE(window->HasCapture()); 489 EXPECT_TRUE(window->HasCapture());
491 StartWindowScreenshotSession(); 490 StartWindowScreenshotSession();
492 EXPECT_TRUE(window->HasCapture()); 491 EXPECT_TRUE(window->HasCapture());
493 Cancel(); 492 Cancel();
494 EXPECT_FALSE(window->HasCapture()); 493 EXPECT_FALSE(window->HasCapture());
495 } 494 }
496 495
497 } // namespace ash 496 } // namespace ash
OLDNEW
« no previous file with comments | « ash/touch/touchscreen_util_unittest.cc ('k') | ash/wm/ash_native_cursor_manager_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698