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

Unified Diff: services/ui/ws/cursor_unittest.cc

Issue 2863913004: chromeos: makes mus send keyevents to display root when nothing has focus (Closed)
Patch Set: GetClientVisibleRoot Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/accelerators/accelerator_controller_registrar.h ('k') | services/ui/ws/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/cursor_unittest.cc
diff --git a/services/ui/ws/cursor_unittest.cc b/services/ui/ws/cursor_unittest.cc
index 1b75b86f70b83fb345822aa897f141bf854581b9..3b4d522b608a631e2b9b1750a4d1e7cdb49198af 100644
--- a/services/ui/ws/cursor_unittest.cc
+++ b/services/ui/ws/cursor_unittest.cc
@@ -63,7 +63,8 @@ class CursorTest : public testing::Test {
DisplayManager* display_manager = window_server()->display_manager();
// ASSERT_EQ(1u, display_manager->displays().size());
Display* display = *display_manager->displays().begin();
- return display->GetWindowManagerDisplayRootForUser(kTestId1)->root();
+ return display->GetWindowManagerDisplayRootForUser(kTestId1)
+ ->GetClientVisibileRoot();
}
// Create a 30x30 window where the outer 10 pixels is non-client.
« no previous file with comments | « ash/mus/accelerators/accelerator_controller_registrar.h ('k') | services/ui/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698