Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip_unittest.cc281 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 2, 2))); in TEST_F()
282 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 1, 1))); in TEST_F()
283 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); in TEST_F()
284 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 25, 35))); in TEST_F()
285 EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(-10, -5, 20, 30))); in TEST_F()
288 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, 15, 2, 2))); in TEST_F()
289 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, -15, 30, 40))); in TEST_F()
290 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(87, 20, 5, 3))); in TEST_F()
293 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 1, 1))); in TEST_F()
294 EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 3, 19))); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/views/
Davatar_menu_button.cc79 bool AvatarMenuButton::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in AvatarMenuButton
82 return views::MenuButton::HitTestRect(rect); in HitTestRect()
Davatar_menu_button.h41 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
/external/chromium_org/ui/app_list/views/
Dspeech_view.cc75 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
85 bool MicButton::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in app_list::__anon430febb00111::MicButton
86 if (!views::ImageButton::HitTestRect(rect)) in HitTestRect()
/external/chromium_org/ash/wm/
Dcustom_frame_view_ash.cc351 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
378 bool CustomFrameViewAsh::OverlayView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in ash::CustomFrameViewAsh::OverlayView
381 return header_view_->HitTestRect(rect); in HitTestRect()
485 bool CustomFrameViewAsh::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in ash::CustomFrameViewAsh
Dcustom_frame_view_ash.h64 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
/external/chromium_org/ui/views/controls/
Dlink.cc85 bool Link::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::Link
88 return View::HitTestRect(rect); in HitTestRect()
Dimage_view.cc196 bool ImageView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::ImageView
197 return interactive_ ? View::HitTestRect(rect) : false; in HitTestRect()
Dlink.h43 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dimage_view.h90 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dlabel.h176 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dlabel.cc272 if (!View::HitTestRect(gfx::Rect(point, gfx::Size(1, 1)))) in GetTooltipHandlerForPoint()
281 bool Label::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::Label
/external/chromium_org/ui/views/window/
Dnon_client_view.cc208 if (frame_view_->HitTestRect(rect_in_child_coords)) in GetEventHandlerForRect()
295 bool NonClientFrameView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in views::NonClientFrameView
Dnon_client_view.h76 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
/external/chromium_org/ui/message_center/views/
Dbounded_label.h56 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dbounded_label.cc324 bool BoundedLabel::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in message_center::BoundedLabel
325 return label_->HitTestRect(rect); in HitTestRect()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_non_client_frame_view_ash.cc288 bool BrowserNonClientFrameViewAsh::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in BrowserNonClientFrameViewAsh
289 if (!views::View::HitTestRect(rect)) { in HitTestRect()
306 return !tabstrip->HitTestRect(rect_in_tabstrip_coords) || in HitTestRect()
Dopaque_browser_frame_view.cc290 bool OpaqueBrowserFrameView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in OpaqueBrowserFrameView
291 if (!views::View::HitTestRect(rect)) { in HitTestRect()
302 if (!frame()->client_view()->HitTestRect(rect_in_client_view_coords)) in HitTestRect()
320 if (tabstrip->HitTestRect(rect_in_tabstrip_coords)) { in HitTestRect()
336 if (window_switcher_button->HitTestRect(rect_in_window_switcher_coords)) in HitTestRect()
Dglass_browser_frame_view.h48 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dbrowser_non_client_frame_view_ash.h57 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dopaque_browser_frame_view.h60 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
/external/chromium_org/ash/shelf/
Dshelf_button.h88 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dshelf_button.cc138 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE { in HitTestRect() function in ash::internal::ShelfButton::BarView
215 bool ShelfButton::IconView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in ash::internal::ShelfButton::IconView
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.h139 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
Dtoolbar_view.cc628 bool ToolbarView::HitTestRect(const gfx::Rect& rect) const { in HitTestRect() function in ToolbarView
635 return AccessiblePaneView::HitTestRect(rect); in HitTestRect()

12