Home
last modified time | relevance | path

Searched refs:tabstrip_bounds (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_controller_gtk.cc322 gfx::Rect tabstrip_bounds = in GetTabStripIfItContains() local
324 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() local
517 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 …]
/external/chromium/chrome/browser/chromeos/frame/
Dbrowser_view.cc97 gfx::Rect tabstrip_bounds( in LayoutTabStrip() local
99 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()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc297 gfx::Rect tabstrip_bounds( in LayoutTabStrip() local
299 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()
Dbrowser_frame_win.cc264 gfx::Rect tabstrip_bounds( in UpdateDWMFrame() local
267 tabstrip_bounds.y() : tabstrip_bounds.bottom()) + kDWMFrameTopOffset; in UpdateDWMFrame()
Dopaque_browser_frame_view.cc414 gfx::Rect tabstrip_bounds(browser_view_->tabstrip()->bounds()); in HitTest() local
415 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()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc831 gfx::Rect tabstrip_bounds = GetViewScreenBounds(tabstrip); in GetTabStripIfItContains() local
833 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()