Searched refs:local_point (Results 1 - 6 of 6) sorted by path

/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc546 gfx::Point local_point = point; local
547 ConvertPointFromScreen(this, &local_point);
548 ShowContextMenuImpl(local_point, source_type);
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_strip.cc1130 gfx::Point local_point = tab_in_tab_coordinates; local
1131 ConvertPointToTarget(tab, this, &local_point);
1133 views::View* view = GetEventHandlerForPoint(local_point);
2676 gfx::Point local_point = event->location(); local
2677 Tab* tab = FindTabForEvent(local_point);
2679 ConvertPointToScreen(this, &local_point);
2680 ShowContextMenuForTab(tab, local_point, ui::MENU_SOURCE_TOUCH);
/external/chromium_org/ui/aura/
H A Dwindow.cc674 gfx::Point local_point(point_in_root);
675 ConvertPointToTarget(root_window, this, &local_point);
676 return gfx::Rect(GetTargetBounds().size()).Contains(local_point);
679 bool Window::ContainsPoint(const gfx::Point& local_point) const {
680 return gfx::Rect(bounds().size()).Contains(local_point);
683 Window* Window::GetEventHandlerForPoint(const gfx::Point& local_point) { argument
684 return GetWindowForPoint(local_point, true, true);
687 Window* Window::GetTopWindowContainingPoint(const gfx::Point& local_point) { argument
688 return GetWindowForPoint(local_point, false, false);
874 bool Window::HitTest(const gfx::Point& local_point) { argument
968 GetWindowForPoint(const gfx::Point& local_point, bool return_tightest, bool for_event_handling) argument
[all...]
H A Dwindow.h246 // Returns true if relative-to-this-Window's-origin |local_point| falls
248 bool ContainsPoint(const gfx::Point& local_point) const;
250 // Returns the Window that most closely encloses |local_point| for the
252 Window* GetEventHandlerForPoint(const gfx::Point& local_point);
254 // Returns the topmost Window with a delegate containing |local_point|.
255 Window* GetTopWindowContainingPoint(const gfx::Point& local_point);
345 // |local_point| can trigger an event for this Window.
349 bool HitTest(const gfx::Point& local_point);
368 // Gets a Window (either this one or a subwindow) containing |local_point|.
373 Window* GetWindowForPoint(const gfx::Point& local_point,
[all...]
/external/chromium_org/ui/views/controls/tree/
H A Dtree_view.cc392 gfx::Point local_point(p);
393 ConvertPointFromScreen(this, &local_point);
394 int row = (local_point.y() - kVerticalInset) / row_height_;
400 if (!bounds.Contains(local_point))
/external/chromium_org/ui/views/
H A Dview.cc1426 gfx::Point local_point(point);
1428 local_point.Offset(GetMirroredX(), y());
1431 SetLayerBounds(gfx::Rect(local_point.x(), local_point.y(),
1435 child_at(i)->MoveLayerToParent(parent_layer, local_point);

Completed in 365 milliseconds