Searched defs:screen_loc (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium/chrome/browser/ui/tabs/
H A Ddock_info_unittest.cc21 gfx::Point screen_loc[] = { local
46 screen_loc[i], hotspot[i].x(), hotspot[i].y(), &in_enable_area);
54 gfx::Point screen_loc[] = { local
96 screen_loc[i], hotspot.x(), hotspot.y(), type[i], &in_enable_area);
134 gfx::Point screen_loc[] = { local
151 bool result = d.CheckMonitorPoint(screen_loc[i], 0, 0, type[i]);
H A Ddock_info.cc30 bool DockInfo::IsCloseToPoint(const gfx::Point& screen_loc, argument
34 int delta_x = abs(x - screen_loc.x());
35 int delta_y = abs(y - screen_loc.y());
42 bool DockInfo::IsCloseToMonitorPoint(const gfx::Point& screen_loc, argument
49 int delta_x = abs(x - screen_loc.x());
50 int delta_y = abs(y - screen_loc.y());
93 int max_delta_y = abs(screen_loc.y() - y);
259 bool DockInfo::CheckMonitorPoint(const gfx::Point& screen_loc, argument
263 if (IsCloseToMonitorPoint(screen_loc, x, y, type, &in_enable_area_)) {
H A Ddock_info_gtk.cc60 // location |screen_loc|, not including the windows in |ignore|.
62 const gfx::Point& screen_loc,
64 TopMostFinder finder(window, screen_loc, ignore);
98 const gfx::Point& screen_loc,
102 screen_loc_(screen_loc),
127 // Returns the XID from our process at screen_loc that is not obscured by
129 static XID GetProcessWindowAtPoint(const gfx::Point& screen_loc, argument
131 LocalProcessWindowFinder finder(screen_loc, ignore);
133 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, screen_loc,
162 LocalProcessWindowFinder(const gfx::Point& screen_loc, argument
61 IsTopMostWindowAtPoint(XID window, const gfx::Point& screen_loc, const std::set<GtkWidget*>& ignore) argument
97 TopMostFinder(XID window, const gfx::Point& screen_loc, const std::set<GtkWidget*>& ignore) argument
[all...]
H A Ddock_info_win.cc54 // |screen_loc|, not including the windows in |ignore|.
56 const gfx::Point& screen_loc,
58 TopMostFinder finder(window, screen_loc, ignore);
113 const gfx::Point& screen_loc,
117 screen_loc_(screen_loc),
144 // Returns the hwnd from our process at screen_loc that is not obscured by
146 static HWND GetProcessWindowAtPoint(const gfx::Point& screen_loc, argument
148 LocalProcessWindowFinder finder(screen_loc, ignore);
150 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, screen_loc,
169 LocalProcessWindowFinder(const gfx::Point& screen_loc, argument
55 IsTopMostWindowAtPoint(HWND window, const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
112 TopMostFinder(HWND window, const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
195 GetDockInfoAtPoint(const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
230 DockToWindowFinder(const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
[all...]
/external/chromium_org/chrome/browser/ui/tabs/
H A Ddock_info_unittest.cc21 gfx::Point screen_loc[] = { local
46 screen_loc[i], hotspot[i].x(), hotspot[i].y(), &in_enable_area);
54 gfx::Point screen_loc[] = { local
96 screen_loc[i], hotspot.x(), hotspot.y(), type[i], &in_enable_area);
134 gfx::Point screen_loc[] = { local
151 bool result = d.CheckMonitorPoint(screen_loc[i], 0, 0, type[i]);
H A Ddock_info.cc24 bool DockInfo::IsCloseToPoint(const gfx::Point& screen_loc, argument
28 int delta_x = abs(x - screen_loc.x());
29 int delta_y = abs(y - screen_loc.y());
36 bool DockInfo::IsCloseToMonitorPoint(const gfx::Point& screen_loc, argument
43 int delta_x = abs(x - screen_loc.x());
44 int delta_y = abs(y - screen_loc.y());
83 int max_delta_y = abs(screen_loc.y() - y);
249 bool DockInfo::CheckMonitorPoint(const gfx::Point& screen_loc, argument
253 if (IsCloseToMonitorPoint(screen_loc, x, y, type, &in_enable_area_)) {
/external/chromium_org/chrome/browser/ui/aura/tabs/
H A Ddock_info_aurax11.cc62 // location |screen_loc|, not including the windows in |ignore|.
64 const gfx::Point& screen_loc,
66 TopMostFinder finder(window, screen_loc, ignore);
95 const gfx::Point& screen_loc,
99 screen_loc_(screen_loc),
124 // Returns the XID from our process at screen_loc that is not obscured by
126 static XID GetProcessWindowAtPoint(const gfx::Point& screen_loc, argument
128 LocalProcessWindowFinder finder(screen_loc, ignore);
130 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, screen_loc,
158 LocalProcessWindowFinder(const gfx::Point& screen_loc, argument
63 IsTopMostWindowAtPoint(XID window, const gfx::Point& screen_loc, const std::set<aura::Window*>& ignore) argument
94 TopMostFinder(XID window, const gfx::Point& screen_loc, const std::set<aura::Window*>& ignore) argument
[all...]
/external/chromium/chrome/browser/ui/views/frame/
H A Dcontents_container.cc93 gfx::Point screen_loc; local
94 ConvertPointToScreen(this, &screen_loc);
95 return gfx::Rect(screen_loc, size());
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Ddock_info_gtk.cc61 // location |screen_loc|, not including the windows in |ignore|.
63 const gfx::Point& screen_loc,
65 TopMostFinder finder(window, screen_loc, ignore);
93 const gfx::Point& screen_loc,
97 screen_loc_(screen_loc),
122 // Returns the XID from our process at screen_loc that is not obscured by
124 static XID GetProcessWindowAtPoint(const gfx::Point& screen_loc, argument
126 LocalProcessWindowFinder finder(screen_loc, ignore);
128 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, screen_loc,
156 LocalProcessWindowFinder(const gfx::Point& screen_loc, argument
62 IsTopMostWindowAtPoint(XID window, const gfx::Point& screen_loc, const std::set<GtkWidget*>& ignore) argument
92 TopMostFinder(XID window, const gfx::Point& screen_loc, const std::set<GtkWidget*>& ignore) argument
[all...]
/external/chromium/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.cc62 gfx::Point screen_loc; local
63 views::View::ConvertPointToScreen(menu_button_, &screen_loc);
64 bounds.set_x(screen_loc.x());
65 bounds.set_y(screen_loc.y());
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_menu_controller_views.cc57 gfx::Point screen_loc; local
58 views::View::ConvertPointToScreen(menu_button, &screen_loc);
60 gfx::Rect bounds(screen_loc.x(), screen_loc.y(), menu_button->width(),
H A Dbookmark_bar_view.cc602 const gfx::Point& screen_loc,
607 int max_width = views::TooltipManager::GetMaxWidth(screen_loc.x(),
608 screen_loc.y(),
601 CreateToolTipForURLAndTitle( const gfx::Point& screen_loc, const GURL& url, const string16& title, Profile* profile, gfx::NativeView context) argument
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.cc71 gfx::Point screen_loc; local
72 views::View::ConvertPointToScreen(menu_button_, &screen_loc);
73 bounds.set_x(screen_loc.x());
74 bounds.set_y(screen_loc.y());
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dpage_action_image_view.cc191 gfx::Point screen_loc; local
192 views::View::ConvertPointToScreen(this, &screen_loc);
193 if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(screen_loc, size()),
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Ddock_info_win.cc69 // |screen_loc|, not including the windows in |ignore|.
71 const gfx::Point& screen_loc,
73 TopMostFinder finder(window, screen_loc, ignore);
128 const gfx::Point& screen_loc,
132 screen_loc_(screen_loc),
159 // Returns the hwnd from our process at screen_loc that is not obscured by
162 const gfx::Point& screen_loc,
164 LocalProcessWindowFinder finder(screen_loc, ignore);
171 TopMostFinder::IsTopMostWindowAtPoint(finder.result_, screen_loc,
195 LocalProcessWindowFinder(const gfx::Point& screen_loc, argument
70 IsTopMostWindowAtPoint(HWND window, const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
127 TopMostFinder(HWND window, const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
161 GetProcessWindowAtPoint( const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
220 GetDockInfoAtPoint(const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
261 DockToWindowFinder(const gfx::Point& screen_loc, const std::set<HWND>& ignore) argument
[all...]
/external/chromium_org/ui/views/widget/
H A Dtooltip_manager_win.cc179 gfx::Point screen_loc = last_mouse_pos_; local
180 View::ConvertPointToScreen(widget_->GetRootView(), &screen_loc);
182 screen_loc.x(), screen_loc.y(),
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_menu_controller_views.cc69 gfx::Point screen_loc; local
70 views::View::ConvertPointToScreen(button, &screen_loc);
72 gfx::Rect bounds(screen_loc.x(), screen_loc.y(), button->width(),
92 int id, const gfx::Point& screen_loc) {
98 screen_loc, node->GetURL(), UTF16ToWide(node->GetTitle()), profile_);
91 GetTooltipText( int id, const gfx::Point& screen_loc) argument
H A Dbookmark_bar_view.cc1572 const gfx::Point& screen_loc,
1576 int max_width = views::TooltipManager::GetMaxWidth(screen_loc.x(),
1577 screen_loc.y());
1571 CreateToolTipForURLAndTitle( const gfx::Point& screen_loc, const GURL& url, const std::wstring& title, Profile* profile) argument
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller.cc466 gfx::Point screen_loc = Shell::GetScreen()->GetCursorScreenPoint(); local
467 if (!resize_widget_->GetWindowBoundsInScreen().Contains(screen_loc)) {
/external/chromium_org/chrome/browser/ui/views/
H A Dbrowser_action_view.cc203 gfx::Point screen_loc; local
204 views::View::ConvertPointToScreen(this, &screen_loc);
205 if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(screen_loc, size()),
H A Dwrench_menu.cc828 gfx::Point screen_loc; local
829 views::View::ConvertPointToScreen(host, &screen_loc);
830 gfx::Rect bounds(screen_loc, host->size());
/external/chromium/chrome/browser/ui/views/
H A Dwrench_menu.cc585 gfx::Point screen_loc; local
586 views::View::ConvertPointToScreen(host, &screen_loc);
587 gfx::Rect bounds(screen_loc, host->size());
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_drag_drop_client_aurax11.cc66 gfx::Point screen_loc)
69 screen_loc_(screen_loc) {
65 DragTargetWindowFinder(XID ignored_icon_window, gfx::Point screen_loc) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.cc197 gfx::Point screen_loc = ConvertViewPointToDIP(rvh->GetView(), variable
199 gfx::Point client_loc = screen_loc;
204 screen_loc.x(), screen_loc.y());
834 gfx::Point screen_loc = local
836 gfx::Point client_loc = screen_loc;
843 screen_loc.x(), screen_loc.y(), ops);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_controller.cc620 gfx::Point screen_loc(event.location());
621 View::ConvertPointToScreen(source, &screen_loc);
622 if (valid_drop_coordinates_ && screen_loc == drop_pt_)
624 drop_pt_ = screen_loc;
868 gfx::Point screen_loc(event.location());
869 View::ConvertPointToScreen(source->GetScrollViewContainer(), &screen_loc);
871 menu_stack_.back().item, screen_loc);
960 gfx::Point screen_loc(0, item->height());
961 View::ConvertPointToScreen(item, &screen_loc);
966 screen_loc, source_typ
1362 GetMenuPartByScreenCoordinateUsingMenu( MenuItemView* item, const gfx::Point& screen_loc) argument
1376 GetMenuPartByScreenCoordinateImpl( SubmenuView* menu, const gfx::Point& screen_loc, MenuPart* part) argument
1415 DoesSubmenuContainLocation(SubmenuView* submenu, const gfx::Point& screen_loc) argument
[all...]

Completed in 551 milliseconds

12