Home
last modified time | relevance | path

Searched refs:screen_point (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_controller_gtk.cc233 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 …]
Ddragged_tab_controller_gtk.h114 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);
Ddragged_tab_gtk.cc88 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()
Ddragged_tab_gtk.h34 void MoveTo(const gfx::Point& screen_point);
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc595 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 …]
Ddragged_tab_controller.h174 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);
Ddragged_tab_view.cc70 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()
Ddragged_tab_view.h32 void MoveTo(const gfx::Point& screen_point);
/external/chromium/chrome/browser/ui/tabs/
Ddock_info_win.cc272 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()
Ddock_info.h30 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);
Ddock_info_gtk.cc181 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()
Ddock_info.cc108 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()
Ddock_info_unittest.cc109 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/
Dtab_contents_view_touch.cc278 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()
Dtab_contents_view_gtk.cc376 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/
Dbookmark_menu_controller_views.h114 const gfx::Point& screen_point,
Dbookmark_menu_controller_views.cc253 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/
Dlocation_bar_view.cc958 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/
Dautocomplete_edit_view_win.h176 void HandleExternalMsg(UINT msg, UINT flags, const CPoint& screen_point);
Dautocomplete_edit_view_win.cc1057 const CPoint& screen_point) { in HandleExternalMsg() argument
1063 CPoint client_point(screen_point); in HandleExternalMsg()