Searched refs:keyev (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/ui/events/ |
D | event_unittest.cc | 21 KeyEvent keyev(ET_KEY_PRESSED, VKEY_SPACE, 0, false); in TEST() local 22 EXPECT_FALSE(keyev.HasNativeEvent()); in TEST() 28 KeyEvent keyev(native_event, false); in TEST() local 29 EXPECT_TRUE(keyev.HasNativeEvent()); in TEST() 33 KeyEvent keyev(event, false); in TEST() 34 EXPECT_TRUE(keyev.HasNativeEvent()); in TEST() 201 KeyEvent keyev(event, false); in TEST() local 202 EXPECT_EQ(EF_SHIFT_DOWN, keyev.flags()); in TEST() 206 KeyEvent keyev(event, false); in TEST() local 207 EXPECT_EQ(EF_NONE, keyev.flags()); in TEST() [all …]
|
/external/chromium_org/ui/aura/ |
D | root_window_host_ozone.cc | 43 ui::KeyEvent* keyev = static_cast<ui::KeyEvent*>(ne); in Dispatch() local 44 delegate_->OnHostKeyEvent(keyev); in Dispatch()
|
D | root_window_host_win.cc | 243 ui::KeyEvent keyev(msg, message == WM_CHAR); in OnKeyEvent() local 244 SetMsgHandled(delegate_->OnHostKeyEvent(&keyev)); in OnKeyEvent()
|
/external/chromium_org/ui/aura/test/ |
D | event_generator.cc | 488 TestKeyEvent keyev(native_event, flags, false); in DispatchKeyEvent() local 489 Dispatch(&keyev); in DispatchKeyEvent() 497 TestKeyEvent keyev(native_event, flags, key_press == WM_CHAR); in DispatchKeyEvent() local 500 ui::KeyEvent keyev(type, key_code, flags, false); in DispatchKeyEvent() 502 Dispatch(&keyev); in DispatchKeyEvent()
|
/external/chromium_org/ash/wm/ |
D | window_manager_unittest.cc | 189 ui::KeyEvent keyev(ui::ET_KEY_PRESSED, ui::VKEY_E, 0, false); in TEST_F() local 190 dispatcher->AsRootWindowHostDelegate()->OnHostKeyEvent(&keyev); in TEST_F() 202 dispatcher->AsRootWindowHostDelegate()->OnHostKeyEvent(&keyev); in TEST_F() 239 EXPECT_FALSE(dispatcher->AsRootWindowHostDelegate()->OnHostKeyEvent(&keyev)); in TEST_F() 253 EXPECT_FALSE(dispatcher->AsRootWindowHostDelegate()->OnHostKeyEvent(&keyev)); in TEST_F()
|