Searched refs:IsPointInTab (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_strip_unittest.cc | 155 bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords) { in IsPointInTab() function in TabStripTest 543 ASSERT_TRUE(IsPointInTab(active_tab, left_overlap)); in TEST_F() 544 ASSERT_TRUE(IsPointInTab(left_tab, left_overlap)); in TEST_F() 555 ASSERT_TRUE(IsPointInTab(active_tab, right_overlap)); in TEST_F() 556 ASSERT_TRUE(IsPointInTab(right_tab, right_overlap)); in TEST_F() 567 ASSERT_TRUE(IsPointInTab(right_tab, unactive_overlap)); in TEST_F() 568 ASSERT_TRUE(IsPointInTab(most_right_tab, unactive_overlap)); in TEST_F() 606 ASSERT_TRUE(IsPointInTab(active_tab, left_overlap)); in TEST_F() 607 ASSERT_TRUE(IsPointInTab(left_tab, left_overlap)); in TEST_F() 618 ASSERT_TRUE(IsPointInTab(active_tab, right_overlap)); in TEST_F() [all …]
|
D | tab_strip.cc | 2457 bool TabStrip::IsPointInTab(Tab* tab, in IsPointInTab() function in TabStrip 2485 if (IsPointInTab(tab_at(i), point)) in FindTabForEvent() 2499 if (IsPointInTab(tab_at(i), point)) in FindTabForEventFrom() 2512 if (next_tab && next_tab->IsActive() && IsPointInTab(next_tab, point)) in FindTabHitByPoint() 2514 if (IsPointInTab(tab_at(i), point)) in FindTabHitByPoint()
|
D | tab_strip.h | 534 bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords);
|