Home
last modified time | relevance | path

Searched refs:HitTestRect (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip_unittest.cc366 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 2, 2))); in TEST_F()
367 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 1, 1))); in TEST_F()
368 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); in TEST_F()
369 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 25, 35))); in TEST_F()
370 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(-10, -5, 20, 30))); in TEST_F()
373 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, 15, 2, 2))); in TEST_F()
374 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, -15, 30, 40))); in TEST_F()
375 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(87, 20, 5, 3))); in TEST_F()
378 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 1, 1))); in TEST_F()
379 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 3, 19))); in TEST_F()
[all …]
Dtab_strip.cc919 !newtab_button_->HitTestRect(rect_in_newtab_coords)) in IsRectInWindowCaption()
/external/chromium_org/ui/views/
Dview_targeter_unittest.cc548 EXPECT_TRUE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r1))); in TEST_F()
549 EXPECT_FALSE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r1))); in TEST_F()
551 EXPECT_FALSE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r2))); in TEST_F()
552 EXPECT_TRUE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r2))); in TEST_F()
554 EXPECT_TRUE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r3))); in TEST_F()
555 EXPECT_TRUE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r3))); in TEST_F()
557 EXPECT_FALSE(v1->HitTestRect(ConvertRectFromWidgetToView(v1, r4))); in TEST_F()
558 EXPECT_FALSE(v2->HitTestRect(ConvertRectFromWidgetToView(v2, r4))); in TEST_F()
Dview_targeter_delegate.cc56 if (!child->HitTestRect(rect_in_child_coords)) in TargetForRect()
Dview.h585 bool HitTestRect(const gfx::Rect& rect) const;
Dview.cc894 return HitTestRect(gfx::Rect(point, gfx::Size(1, 1))); in HitTestPoint()
897 bool View::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::View
/external/chromium_org/ui/views/window/
Dnon_client_view.cc234 if (frame_view_->HitTestRect(rect_in_child_coords)) in TargetForRect()
/external/chromium_org/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view.cc500 if (!frame()->client_view()->HitTestRect(rect_in_client_view_coords)) in DoesIntersectRect()
518 if (tabstrip->HitTestRect(rect_in_tabstrip_coords)) { in DoesIntersectRect()
Dbrowser_non_client_frame_view_ash.cc465 return !tabstrip->HitTestRect(rect_in_tabstrip_coords) || in DoesIntersectRect()
/external/chromium_org/ash/frame/
Dcustom_frame_view_ash.cc425 return header_view_->HitTestRect(rect); in DoesIntersectRect()