Home
last modified time | relevance | path

Searched refs:canceling_keys (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ash/keyboard_overlay/
Dkeyboard_overlay_view_unittest.cc59 std::vector<KeyboardOverlayView::KeyEventData> canceling_keys; in TEST_F() local
60 KeyboardOverlayView::GetCancelingKeysForTesting(&canceling_keys); in TEST_F()
66 std::find(canceling_keys.begin(), canceling_keys.end(), escape); in TEST_F()
67 canceling_keys.erase(escape_itr); in TEST_F()
70 EXPECT_EQ(open_keys.size(), canceling_keys.size()); in TEST_F()
71 for (size_t i = 0; i < canceling_keys.size(); ++i) { in TEST_F()
72 EXPECT_NE(std::find(open_keys.begin(), open_keys.end(), canceling_keys[i]), in TEST_F()
Dkeyboard_overlay_view.cc92 std::vector<KeyboardOverlayView::KeyEventData>* canceling_keys) { in GetCancelingKeysForTesting() argument
93 CHECK(canceling_keys); in GetCancelingKeysForTesting()
94 canceling_keys->clear(); in GetCancelingKeysForTesting()
96 canceling_keys->push_back(kCancelKeys[i]); in GetCancelingKeysForTesting()
Dkeyboard_overlay_view.h61 std::vector<KeyEventData>* canceling_keys);