Home | History | Annotate | Download | only in core

Lines Matching refs:cursor_client

7 #include "ui/aura/client/cursor_client.h"
64 aura::test::TestCursorClient cursor_client(root_window());
69 EXPECT_FALSE(cursor_client.IsCursorVisible());
76 EXPECT_FALSE(cursor_client.IsCursorVisible());
82 EXPECT_FALSE(cursor_client.IsCursorVisible());
88 EXPECT_TRUE(cursor_client.IsCursorVisible());
91 cursor_client.set_should_hide_cursor_on_key_event(false);
94 EXPECT_TRUE(cursor_client.IsCursorVisible());
97 cursor_client.set_should_hide_cursor_on_key_event(true);
100 EXPECT_FALSE(cursor_client.IsCursorVisible());
107 EXPECT_FALSE(cursor_client.IsCursorVisible());
125 aura::test::TestCursorClient cursor_client(root_window());
130 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
137 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
141 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
146 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
152 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
160 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
203 aura::test::TestCursorClient cursor_client(root_window());
207 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
209 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
215 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
231 aura::test::TestCursorClient cursor_client(root_window());
232 cursor_client.DisableMouseEvents();
233 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
240 EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
244 EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());