HomeSort by relevance Sort by last modified time
    Searched full:screen_point (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/ui/ash/tabs/
dock_info_ash.cc 15 const gfx::Point& screen_point,
29 return window->GetBoundsInScreen().Contains(screen_point) ? window : NULL;
34 GetLocalProcessWindowAtPointImpl(screen_point, ignore, *i);
47 const gfx::Point& screen_point, const std::set<gfx::NativeView>& ignore) {
54 const gfx::Point& screen_point,
57 screen_point, ignore, ::ash::wm::GetRootWindowAt(screen_point));
dock_info_ash.h 18 const gfx::Point& screen_point, const std::set<gfx::NativeView>& ignore);
21 const gfx::Point& screen_point,
dock_info_chromeos.cc 13 const gfx::Point& screen_point,
15 return chrome::ash::GetDockInfoAtPointAsh(screen_point, ignore);
21 const gfx::Point& screen_point,
23 return chrome::ash::GetLocalProcessWindowAtPointAsh(screen_point, ignore);
  /external/chromium_org/ui/views/
mouse_watcher_view_host.cc 23 const gfx::Point& screen_point,
25 bool in_view = IsCursorInViewZone(screen_point);
33 bool MouseWatcherViewHost::IsCursorInViewZone(const gfx::Point& screen_point) {
43 return bounds.Contains(screen_point.x(), screen_point.y());
mouse_watcher_view_host.h 25 virtual bool Contains(const gfx::Point& screen_point,
29 bool IsCursorInViewZone(const gfx::Point& screen_point);
  /external/chromium_org/content/child/npapi/
plugin_instance_mac.mm 27 NSPoint screen_point = NSMakePoint(
31 screen_point.y = main_display_bounds.size.height - screen_point.y;
36 [nsmenu popUpMenuPositioningItem:nil atLocation:screen_point inView:nil];
  /external/chromium/chrome/browser/ui/gtk/tabs/
dragged_tab_controller_gtk.cc 233 gfx::Point screen_point = GetCursorScreenPoint(); local
242 TabStripGtk* target_tabstrip = GetTabStripForPoint(screen_point);
251 Attach(target_tabstrip, screen_point);
260 MoveTab(screen_point);
263 void DraggedTabControllerGtk::MoveTab(const gfx::Point& screen_point) {
264 gfx::Point dragged_tab_point = GetDraggedTabPoint(screen_point);
281 if (abs(screen_point.x() - last_move_screen_x_) > threshold) {
286 last_move_screen_x_ = screen_point.x();
297 const gfx::Point& screen_point) {
301 DockInfo::GetLocalProcessWindowAtPoint(screen_point, dock_windows_)
    [all...]
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);
  /external/chromium_org/chrome/browser/ui/tabs/
dock_info.h 69 // Returns the DockInfo for the specified point |screen_point|. |ignore|
76 const gfx::Point& screen_point,
79 // Returns the top most window from the current process at |screen_point|.
81 // there is no window from the current process at |screen_point|, or another
82 // window obscures the topmost window from our process at |screen_point|.
85 const gfx::Point& screen_point,
92 bool IsValidForPoint(const gfx::Point& screen_point);
dock_info.cc 98 bool DockInfo::IsValidForPoint(const gfx::Point& screen_point) {
103 return IsCloseToPoint(screen_point, hot_spot_.x(), hot_spot_.y(),
107 return monitor_bounds_.Contains(screen_point) &&
108 IsCloseToMonitorPoint(screen_point, hot_spot_.x(),
  /external/chromium/chrome/browser/ui/tabs/
dock_info.h 30 const gfx::Point& screen_point,
34 const gfx::Point& screen_point,
86 // Returns the DockInfo for the specified point |screen_point|. |ignore|
95 static DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point,
98 // Returns the top most window from the current process at |screen_point|.
100 // there is no window from the current process at |screen_point|, or another
101 // window obscures the topmost window from our process at |screen_point|.
106 const gfx::Point& screen_point,
111 bool IsValidForPoint(const gfx::Point& screen_point);
dock_info_win.cc 272 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point,
275 return factory_->GetDockInfoAtPoint(screen_point, ignore);
278 DockInfo info = DockToWindowFinder::GetDockInfoAtPoint(screen_point, ignore);
288 info.CheckMonitorPoint(screen_point, mid_x, m_bounds.y(),
290 info.CheckMonitorPoint(screen_point, mid_x, m_bounds.bottom(),
292 info.CheckMonitorPoint(screen_point, m_bounds.x(), mid_y,
294 info.CheckMonitorPoint(screen_point, m_bounds.right(), mid_y,
300 HWND DockInfo::GetLocalProcessWindowAtPoint(const gfx::Point& screen_point,
303 return factory_->GetLocalProcessWindowAtPoint(screen_point, ignore);
305 LocalProcessWindowFinder::GetProcessWindowAtPoint(screen_point, ignore)
    [all...]
dock_info_gtk.cc 181 DockInfo DockInfo::GetDockInfoAtPoint(const gfx::Point& screen_point,
184 return factory_->GetDockInfoAtPoint(screen_point, ignore);
192 const gfx::Point& screen_point,
195 return factory_->GetLocalProcessWindowAtPoint(screen_point, ignore);
201 LocalProcessWindowFinder::GetProcessWindowAtPoint(screen_point, ignore);
dock_info.cc 108 bool DockInfo::IsValidForPoint(const gfx::Point& screen_point) {
113 return IsCloseToPoint(screen_point, hot_spot_.x(), hot_spot_.y(),
117 return monitor_bounds_.Contains(screen_point) &&
118 IsCloseToMonitorPoint(screen_point, hot_spot_.x(),
  /external/chromium_org/chrome/browser/ui/gtk/tabs/
dragged_tab_controller_gtk.cc 274 gfx::Point screen_point = local
280 TabStripGtk* target_tabstrip = GetTabStripForPoint(screen_point);
288 Attach(target_tabstrip, screen_point);
298 MoveAttached(screen_point);
300 MoveDetached(screen_point);
316 void DraggedTabControllerGtk::MoveAttached(const gfx::Point& screen_point) {
319 gfx::Point dragged_view_point = GetDraggedViewPoint(screen_point);
336 if (abs(screen_point.x() - last_move_screen_x_) > threshold ||
348 last_move_screen_x_ = screen_point.x();
356 void DraggedTabControllerGtk::MoveDetached(const gfx::Point& screen_point) {
    [all...]
dragged_tab_controller_gtk.h 119 void MoveAttached(const gfx::Point& screen_point);
122 void MoveDetached(const gfx::Point& screen_point);
129 TabStripGtk* GetTabStripForPoint(const gfx::Point& screen_point);
134 const gfx::Point& screen_point) const;
137 void Attach(TabStripGtk* attached_tabstrip, const gfx::Point& screen_point);
144 const gfx::Point& screen_point);
148 gfx::Rect GetDraggedViewTabStripBounds(const gfx::Point& screen_point);
156 // the screen. |screen_point| is the current position of mouse cursor.
157 gfx::Point GetDraggedViewPoint(const gfx::Point& screen_point);
  /external/chromium_org/ash/system/tray/
tray_event_filter.cc 81 gfx::Point screen_point(event->root_location());
82 screen_position_client->ConvertPointToScreen(root, &screen_point);
84 if (bounds.Contains(screen_point))
90 if (bounds.Contains(screen_point))
  /external/chromium_org/ui/aura/client/
screen_position_client.h 26 // Converts the |screen_point| from a given |window|'s coordinate space
32 // Converts the |screen_point| from root window host's coordinate of
  /external/chromium_org/chrome/browser/ui/aura/tabs/
dock_info_auralinux.cc 181 const gfx::Point& screen_point,
184 "screen_point", screen_point.ToString());
189 LocalProcessWindowFinder::GetProcessWindowAtPoint(screen_point, ignore);
196 const gfx::Point& screen_point,
207 const gfx::Point& screen_point,
  /external/chromium_org/chrome/browser/ui/views/tabs/
dragged_tab_view.cc 70 void DraggedTabView::MoveTo(const gfx::Point& screen_point) {
77 x = screen_point.x() + ScaleValue(mouse_tab_offset_.x() - ps.width());
79 x = screen_point.x() - ScaleValue(mouse_tab_offset_.x());
81 int y = screen_point.y() - ScaleValue(mouse_tab_offset_.y());
85 x = static_cast<int>(scale * screen_point.x());
86 y = static_cast<int>(scale * screen_point.y());
dragged_tab_view.h 30 // pointer at |screen_point|.
31 void MoveTo(const gfx::Point& screen_point);
  /external/chromium/chrome/browser/ui/views/tabs/
dragged_tab_controller.cc 595 void DraggedTabController::UpdateDockInfo(const gfx::Point& screen_point) {
597 DockInfo dock_info = GetDockInfoAtPoint(screen_point);
649 gfx::Point screen_point = GetCursorScreenPoint(); local
650 int x_offset = abs(screen_point.x() - start_screen_point_.x());
651 int y_offset = abs(screen_point.y() - start_screen_point_.y());
667 gfx::Point screen_point = GetCursorScreenPoint(); local
676 BaseTabStrip* target_tabstrip = GetTabStripForPoint(screen_point);
684 Attach(target_tabstrip, screen_point);
692 UpdateDockInfo(screen_point);
695 MoveAttached(screen_point);
    [all...]
dragged_tab_view.h 31 // pointer at |screen_point|.
32 void MoveTo(const gfx::Point& screen_point);
dragged_tab_view.cc 70 void DraggedTabView::MoveTo(const gfx::Point& screen_point) {
77 x = screen_point.x() + ScaleValue(mouse_tab_offset_.x() - ps.width());
79 x = screen_point.x() - ScaleValue(mouse_tab_offset_.x());
81 int y = screen_point.y() - ScaleValue(mouse_tab_offset_.y());
  /external/chromium_org/chrome/browser/ui/views/tab_contents/
chrome_web_contents_view_delegate_views.cc 146 gfx::Point screen_point(params.x, params.y);
157 &screen_point);
160 POINT temp = screen_point.ToPOINT();
162 screen_point = temp;
169 context_menu_->RunMenuAt(top_level_widget, screen_point, params.source_type);

Completed in 611 milliseconds

1 2 3