/external/chromium/chrome/browser/ui/gtk/tabs/ |
D | dragged_tab_controller_gtk.cc | 233 gfx::Point screen_point = GetCursorScreenPoint(); in ContinueDragging() local 242 TabStripGtk* target_tabstrip = GetTabStripForPoint(screen_point); in ContinueDragging() 251 Attach(target_tabstrip, screen_point); in ContinueDragging() 260 MoveTab(screen_point); in ContinueDragging() 263 void DraggedTabControllerGtk::MoveTab(const gfx::Point& screen_point) { in MoveTab() argument 264 gfx::Point dragged_tab_point = GetDraggedTabPoint(screen_point); in MoveTab() 281 if (abs(screen_point.x() - last_move_screen_x_) > threshold) { in MoveTab() 286 last_move_screen_x_ = screen_point.x(); in MoveTab() 297 const gfx::Point& screen_point) { in GetTabStripForPoint() argument 301 DockInfo::GetLocalProcessWindowAtPoint(screen_point, dock_windows_); in GetTabStripForPoint() [all …]
|
D | dragged_tab_controller_gtk.h | 114 void MoveTab(const gfx::Point& screen_point); 118 TabStripGtk* GetTabStripForPoint(const gfx::Point& screen_point); 123 const gfx::Point& screen_point) const; 126 void Attach(TabStripGtk* attached_tabstrip, const gfx::Point& screen_point); 133 const gfx::Point& screen_point); 137 gfx::Rect GetDraggedTabTabStripBounds(const gfx::Point& screen_point); 147 gfx::Point GetDraggedTabPoint(const gfx::Point& screen_point);
|
D | dragged_tab_gtk.cc | 88 void DraggedTabGtk::MoveTo(const gfx::Point& screen_point) { in MoveTo() argument 89 int x = screen_point.x() + mouse_tab_offset_.x() - in MoveTo() 91 int y = screen_point.y() + mouse_tab_offset_.y() - in MoveTo()
|
D | dragged_tab_gtk.h | 34 void MoveTo(const gfx::Point& screen_point);
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | dragged_tab_controller.cc | 595 void DraggedTabController::UpdateDockInfo(const gfx::Point& screen_point) { in UpdateDockInfo() argument 597 DockInfo dock_info = GetDockInfoAtPoint(screen_point); in UpdateDockInfo() 649 gfx::Point screen_point = GetCursorScreenPoint(); in CanStartDrag() local 650 int x_offset = abs(screen_point.x() - start_screen_point_.x()); in CanStartDrag() 651 int y_offset = abs(screen_point.y() - start_screen_point_.y()); in CanStartDrag() 667 gfx::Point screen_point = GetCursorScreenPoint(); in ContinueDragging() local 676 BaseTabStrip* target_tabstrip = GetTabStripForPoint(screen_point); in ContinueDragging() 684 Attach(target_tabstrip, screen_point); in ContinueDragging() 692 UpdateDockInfo(screen_point); in ContinueDragging() 695 MoveAttached(screen_point); in ContinueDragging() [all …]
|
D | dragged_tab_controller.h | 174 void UpdateDockInfo(const gfx::Point& screen_point); 193 void MoveAttached(const gfx::Point& screen_point); 196 void MoveDetached(const gfx::Point& screen_point); 200 BaseTabStrip* GetTabStripForPoint(const gfx::Point& screen_point); 202 DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point); 207 const gfx::Point& screen_point) const; 210 void Attach(BaseTabStrip* attached_tabstrip, const gfx::Point& screen_point); 229 gfx::Point GetAttachedDragPoint(const gfx::Point& screen_point);
|
D | dragged_tab_view.cc | 70 void DraggedTabView::MoveTo(const gfx::Point& screen_point) { in MoveTo() argument 77 x = screen_point.x() + ScaleValue(mouse_tab_offset_.x() - ps.width()); in MoveTo() 79 x = screen_point.x() - ScaleValue(mouse_tab_offset_.x()); in MoveTo() 81 int y = screen_point.y() - ScaleValue(mouse_tab_offset_.y()); in MoveTo()
|
D | dragged_tab_view.h | 32 void MoveTo(const gfx::Point& screen_point);
|
/external/chromium/chrome/browser/ui/tabs/ |
D | dock_info_win.cc | 272 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point, in GetDockInfoAtPoint() argument 275 return factory_->GetDockInfoAtPoint(screen_point, ignore); in GetDockInfoAtPoint() 278 DockInfo info = DockToWindowFinder::GetDockInfoAtPoint(screen_point, ignore); in GetDockInfoAtPoint() 288 info.CheckMonitorPoint(screen_point, mid_x, m_bounds.y(), in GetDockInfoAtPoint() 290 info.CheckMonitorPoint(screen_point, mid_x, m_bounds.bottom(), in GetDockInfoAtPoint() 292 info.CheckMonitorPoint(screen_point, m_bounds.x(), mid_y, in GetDockInfoAtPoint() 294 info.CheckMonitorPoint(screen_point, m_bounds.right(), mid_y, in GetDockInfoAtPoint() 300 HWND DockInfo::GetLocalProcessWindowAtPoint(const gfx::Point& screen_point, in GetLocalProcessWindowAtPoint() argument 303 return factory_->GetLocalProcessWindowAtPoint(screen_point, ignore); in GetLocalProcessWindowAtPoint() 305 LocalProcessWindowFinder::GetProcessWindowAtPoint(screen_point, ignore); in GetLocalProcessWindowAtPoint()
|
D | dock_info.h | 30 const gfx::Point& screen_point, 34 const gfx::Point& screen_point, 95 static DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point, 106 const gfx::Point& screen_point, 111 bool IsValidForPoint(const gfx::Point& screen_point);
|
D | dock_info_gtk.cc | 181 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point, in GetDockInfoAtPoint() argument 184 return factory_->GetDockInfoAtPoint(screen_point, ignore); in GetDockInfoAtPoint() 192 const gfx::Point& screen_point, in GetLocalProcessWindowAtPoint() argument 195 return factory_->GetLocalProcessWindowAtPoint(screen_point, ignore); in GetLocalProcessWindowAtPoint() 201 LocalProcessWindowFinder::GetProcessWindowAtPoint(screen_point, ignore); in GetLocalProcessWindowAtPoint()
|
D | dock_info.cc | 108 bool DockInfo::IsValidForPoint(const gfx::Point& screen_point) { in IsValidForPoint() argument 113 return IsCloseToPoint(screen_point, hot_spot_.x(), hot_spot_.y(), in IsValidForPoint() 117 return monitor_bounds_.Contains(screen_point) && in IsValidForPoint() 118 IsCloseToMonitorPoint(screen_point, hot_spot_.x(), in IsValidForPoint()
|
D | dock_info_unittest.cc | 109 gfx::Point screen_point[] = { in TEST() local 120 EXPECT_EQ(expected_result[i], d.IsValidForPoint(screen_point[i])); in TEST()
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
D | tab_contents_view_touch.cc | 278 gfx::Point screen_point(params.x, params.y); in ShowContextMenu() local 282 views::View::ConvertPointToScreen(rwhv, &screen_point); in ShowContextMenu() 289 context_menu_->RunMenuAt(screen_point.x(), screen_point.y()); in ShowContextMenu()
|
D | tab_contents_view_gtk.cc | 376 gfx::Point screen_point(params.x, params.y); in ShowContextMenu() local 377 views::View::ConvertPointToScreen(GetRootView(), &screen_point); in ShowContextMenu() 383 context_menu_->RunMenuAt(screen_point.x(), screen_point.y()); in ShowContextMenu()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_controller_views.h | 114 const gfx::Point& screen_point,
|
D | bookmark_menu_controller_views.cc | 253 const gfx::Point& screen_point, in GetSiblingMenu() argument 259 gfx::Point bookmark_bar_loc(screen_point); in GetSiblingMenu()
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
D | location_bar_view.cc | 958 gfx::Point screen_point(event.location()); in OnMouseEvent() local 959 ConvertPointToScreen(this, &screen_point); in OnMouseEvent() 960 location_entry_->HandleExternalMsg(msg, flags, screen_point.ToPOINT()); in OnMouseEvent()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_win.h | 176 void HandleExternalMsg(UINT msg, UINT flags, const CPoint& screen_point);
|
D | autocomplete_edit_view_win.cc | 1057 const CPoint& screen_point) { in HandleExternalMsg() argument 1063 CPoint client_point(screen_point); in HandleExternalMsg()
|