Searched refs:mouse_offset_ (Results 1 - 4 of 4) sorted by last modified time

/external/chromium_org/ui/views/controls/scrollbar/
H A Dbase_scroll_bar_thumb.cc22 mouse_offset_(-1),
77 mouse_offset_ = scroll_bar_->IsHorizontal() ? event.x() : event.y();
101 int thumb_x = event.x() - mouse_offset_;
106 int thumb_y = event.y() - mouse_offset_;
H A Dbase_scroll_bar_thumb.h73 int mouse_offset_; member in class:views::BaseScrollBarThumb
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc267 mouse_offset_ = mouse_offset;
365 mouse_offset_.x(), 0);
459 window_create_point_.Offset(mouse_offset_.x(), mouse_offset_.y());
902 tab_strip_point.Offset(0, -mouse_offset_.y());
933 // ratio of mouse_offset_ to original width is maintained.
941 mouse_offset_.set_x(new_x);
1295 attached_tabstrip_->GetMirroredXInView(tab_loc.x()) - mouse_offset_.x();
1650 new_bounds.Offset(-mouse_offset_.x(), 0);
1656 new_bounds.Offset(drag_bounds->back().right() - mouse_offset_
[all...]
H A Dtab_drag_controller.h485 gfx::Point mouse_offset_; member in class:TabDragController

Completed in 160 milliseconds