HomeSort by relevance Sort by last modified time
    Searched refs:tooltip_rect (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/ui/views/corewm/
tooltip_controller.cc 161 gfx::Rect tooltip_rect(mouse_pos.x(), mouse_pos.y(), tooltip_width,
164 tooltip_rect.Offset(kCursorOffsetX, kCursorOffsetY);
169 if (tooltip_rect.right() > display_bounds.right()) {
170 int h_offset = tooltip_rect.right() - display_bounds.right();
171 tooltip_rect.Offset(-h_offset, 0);
176 if (tooltip_rect.bottom() > display_bounds.bottom())
177 tooltip_rect.set_y(mouse_pos.y() - tooltip_height);
179 tooltip_rect.AdjustToFit(display_bounds);
180 widget_->SetBounds(tooltip_rect);
  /external/chromium_org/ash/launcher/
launcher_tooltip_manager_unittest.cc 227 gfx::Rect tooltip_rect = GetTooltipWidget()->GetNativeWindow()->bounds(); local
228 ASSERT_FALSE(tooltip_rect.IsEmpty());
231 ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(),
232 tooltip_rect.CenterPoint(), ui::EF_NONE);
241 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));

Completed in 103 milliseconds