Searched refs:tabstrip_bounds (Results 1 – 6 of 6) sorted by relevance
322 gfx::Rect tabstrip_bounds = in GetTabStripIfItContains() local324 if (screen_point.x() < tabstrip_bounds.right() && in GetTabStripIfItContains()325 screen_point.x() >= tabstrip_bounds.x()) { in GetTabStripIfItContains()328 int upper_threshold = tabstrip_bounds.bottom() + kVerticalDetachMagnetism; in GetTabStripIfItContains()329 int lower_threshold = tabstrip_bounds.y() - kVerticalDetachMagnetism; in GetTabStripIfItContains()512 gfx::Rect tabstrip_bounds = in GetDraggedTabPoint() local517 if (x < tabstrip_bounds.x() && screen_point.x() >= tabstrip_bounds.x()) in GetDraggedTabPoint()518 x = tabstrip_bounds.x(); in GetDraggedTabPoint()522 int vertical_detach_point = tabstrip_bounds.y() - vertical_drag_magnetism; in GetDraggedTabPoint()523 if (y < tabstrip_bounds.y() && screen_point.y() >= vertical_detach_point) in GetDraggedTabPoint()[all …]
97 gfx::Rect tabstrip_bounds( in LayoutTabStrip() local99 gfx::Point tabstrip_origin = tabstrip_bounds.origin(); in LayoutTabStrip()102 tabstrip_bounds.set_origin(tabstrip_origin); in LayoutTabStrip()104 LayoutTitlebarComponentsWithVerticalTabs(tabstrip_bounds) : in LayoutTabStrip()105 LayoutTitlebarComponents(tabstrip_bounds); in LayoutTabStrip()
297 gfx::Rect tabstrip_bounds( in LayoutTabStrip() local299 gfx::Point tabstrip_origin(tabstrip_bounds.origin()); in LayoutTabStrip()302 tabstrip_bounds.set_origin(tabstrip_origin); in LayoutTabStrip()305 vertical_layout_rect_.Inset(tabstrip_bounds.width(), 0, 0, 0); in LayoutTabStrip()308 tabstrip_->SetBoundsRect(tabstrip_bounds); in LayoutTabStrip()310 tabstrip_bounds.y() : tabstrip_bounds.bottom(); in LayoutTabStrip()
264 gfx::Rect tabstrip_bounds( in UpdateDWMFrame() local267 tabstrip_bounds.y() : tabstrip_bounds.bottom()) + kDWMFrameTopOffset; in UpdateDWMFrame()
414 gfx::Rect tabstrip_bounds(browser_view_->tabstrip()->bounds()); in HitTest() local415 gfx::Point tabstrip_origin(tabstrip_bounds.origin()); in HitTest()418 tabstrip_bounds.set_origin(tabstrip_origin); in HitTest()420 (l.x() > tabstrip_bounds.right()) : (l.y() > tabstrip_bounds.bottom())) in HitTest()
831 gfx::Rect tabstrip_bounds = GetViewScreenBounds(tabstrip); in GetTabStripIfItContains() local833 if (screen_point.x() < tabstrip_bounds.right() && in GetTabStripIfItContains()834 screen_point.x() >= tabstrip_bounds.x()) { in GetTabStripIfItContains()837 int upper_threshold = tabstrip_bounds.bottom() + kVerticalDetachMagnetism; in GetTabStripIfItContains()838 int lower_threshold = tabstrip_bounds.y() - kVerticalDetachMagnetism; in GetTabStripIfItContains()845 if (screen_point.y() < tabstrip_bounds.bottom() && in GetTabStripIfItContains()846 screen_point.y() >= tabstrip_bounds.y()) { in GetTabStripIfItContains()847 int upper_threshold = tabstrip_bounds.right() + in GetTabStripIfItContains()849 int lower_threshold = tabstrip_bounds.x() - kHorizontalDetachMagnetism; in GetTabStripIfItContains()