Searched refs:focus_changes (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/ui/views/focus/ |
D | focus_manager_unittest.cc | 112 ASSERT_EQ(1, static_cast<int>(listener.focus_changes().size())); in TEST_F() 113 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(null_view, view1)); in TEST_F() 117 ASSERT_EQ(1, static_cast<int>(listener.focus_changes().size())); in TEST_F() 118 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view1, view2)); in TEST_F() 122 ASSERT_EQ(1, static_cast<int>(listener.focus_changes().size())); in TEST_F() 123 EXPECT_TRUE(listener.focus_changes()[0] == ViewPair(view2, null_view)); in TEST_F() 146 ASSERT_EQ(2, static_cast<int>(widget_listener.focus_changes().size())); in TEST_F() 147 EXPECT_EQ(native_view1, widget_listener.focus_changes()[0].second); in TEST_F() 148 EXPECT_EQ(native_view1, widget_listener.focus_changes()[1].second); in TEST_F() 153 ASSERT_EQ(2, static_cast<int>(widget_listener.focus_changes().size())); in TEST_F() [all …]
|
/external/chromium_org/ui/views/test/ |
D | focus_manager_test.h | 63 const std::vector<ViewPair>& focus_changes() const { return focus_changes_; } in focus_changes() function 87 const std::vector<NativeViewPair>& focus_changes() const { in focus_changes() function
|
/external/chromium_org/ui/views/widget/ |
D | widget_interactive_uitest.cc | 658 const std::vector<NativeViewPair>& focus_changes = in TEST_F() local 659 focus_listener.focus_changes(); in TEST_F() 675 EXPECT_EQ(1u, focus_changes.size()); in TEST_F() 676 EXPECT_EQ(NativeViewPair(NULL, top_level_native_view), focus_changes[0]); in TEST_F() 689 EXPECT_EQ(3u, focus_changes.size()); in TEST_F() 691 focus_changes[1]); in TEST_F() 693 focus_changes[2]); in TEST_F() 697 EXPECT_EQ(5u, focus_changes.size()); in TEST_F() 699 focus_changes[3]); in TEST_F() 701 focus_changes[4]); in TEST_F() [all …]
|