HomeSort by relevance Sort by last modified time
    Searched refs:HitTestRect (Results 1 - 21 of 21) sorted by null

  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_strip_unittest.cc 332 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 2, 2)));
333 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 1, 1)));
334 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 1, 1)));
335 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 25, 35)));
336 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(-10, -5, 20, 30)));
339 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, 15, 2, 2)));
340 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, -15, 30, 40)));
341 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(87, 20, 5, 3)));
344 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 1, 1)));
345 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 3, 19)))
    [all...]
tab_strip.cc 299 // TODO(tdanderson): Move the implementation into View::HitTestRect() and
917 !newtab_button_->HitTestRect(rect_in_newtab_coords))
    [all...]
  /external/chromium_org/chrome/browser/ui/views/profiles/
avatar_menu_button.cc 80 bool AvatarMenuButton::HitTestRect(const gfx::Rect& rect) const {
81 return !disabled_ && views::MenuButton::HitTestRect(rect);
avatar_menu_button.h 41 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
  /external/chromium_org/ash/frame/
custom_frame_view_ash.h 61 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
custom_frame_view_ash.cc 359 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
393 bool CustomFrameViewAsh::OverlayView::HitTestRect(const gfx::Rect& rect) const {
396 return header_view_->HitTestRect(rect);
516 bool CustomFrameViewAsh::HitTestRect(const gfx::Rect& rect) const {
  /external/chromium_org/chrome/browser/ui/views/frame/
browser_non_client_frame_view_ash.h 59 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
glass_browser_frame_view.h 47 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
browser_non_client_frame_view_ash.cc 299 bool BrowserNonClientFrameViewAsh::HitTestRect(const gfx::Rect& rect) const {
300 if (!views::View::HitTestRect(rect)) {
317 return !tabstrip->HitTestRect(rect_in_tabstrip_coords) ||
opaque_browser_frame_view.h 62 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
opaque_browser_frame_view.cc 292 bool OpaqueBrowserFrameView::HitTestRect(const gfx::Rect& rect) const {
293 if (!views::View::HitTestRect(rect)) {
304 if (!frame()->client_view()->HitTestRect(rect_in_client_view_coords))
322 if (tabstrip->HitTestRect(rect_in_tabstrip_coords)) {
    [all...]
glass_browser_frame_view.cc 276 bool GlassBrowserFrameView::HitTestRect(const gfx::Rect& rect) const {
  /external/chromium_org/ui/views/
view_targeter.cc 68 // TODO(tdanderson): Don't call into HitTestRect() directly here.
70 return view->HitTestRect(rect_in_view_coords);
view.h 593 // TODO(tdanderson): HitTestPoint() and HitTestRect() will be removed once
597 // A convenience function which calls HitTestRect() with a rect of size
602 virtual bool HitTestRect(const gfx::Rect& rect) const;
    [all...]
view_unittest.cc 881 // Test HitTestRect
882 EXPECT_TRUE(v1->HitTestRect(ConvertRectToView(v1, r1)));
883 EXPECT_FALSE(v2->HitTestRect(ConvertRectToView(v2, r1)));
885 EXPECT_FALSE(v1->HitTestRect(ConvertRectToView(v1, r2)));
886 EXPECT_TRUE(v2->HitTestRect(ConvertRectToView(v2, r2)));
888 EXPECT_TRUE(v1->HitTestRect(ConvertRectToView(v1, r3)));
889 EXPECT_TRUE(v2->HitTestRect(ConvertRectToView(v2, r3)));
891 EXPECT_FALSE(v1->HitTestRect(ConvertRectToView(v1, r4)));
892 EXPECT_FALSE(v2->HitTestRect(ConvertRectToView(v2, r4)));
    [all...]
view.cc 863 if (!child->HitTestRect(rect_in_child_coords))
947 return HitTestRect(gfx::Rect(point, gfx::Size(1, 1)));
950 bool View::HitTestRect(const gfx::Rect& rect) const {
    [all...]
  /external/chromium_org/ui/views/window/
non_client_view.h 82 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
non_client_view.cc 208 if (frame_view_->HitTestRect(rect_in_child_coords))
306 bool NonClientFrameView::HitTestRect(const gfx::Rect& rect) const {
  /external/chromium_org/chrome/browser/ui/views/toolbar/
toolbar_view.h 155 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
toolbar_view.cc 633 bool ToolbarView::HitTestRect(const gfx::Rect& rect) const {
640 return AccessiblePaneView::HitTestRect(rect);
  /external/chromium_org/ui/views/controls/
label.cc 273 // Label::HitTestRect() to determine if the point hits the label; and
274 // Label::HitTestRect() always fails. Instead, default HitTestRect()
276 if (!View::HitTestRect(gfx::Rect(point, gfx::Size(1, 1))))

Completed in 729 milliseconds