OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tooltip_rect
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/ash/shelf/
shelf_tooltip_manager_unittest.cc
229
gfx::Rect
tooltip_rect
= GetTooltipWidget()->GetNativeWindow()->bounds();
local
230
ASSERT_FALSE(
tooltip_rect
.IsEmpty());
233
ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED,
tooltip_rect
.CenterPoint(),
234
tooltip_rect
.CenterPoint(), ui::EF_NONE,
244
test_api.set_location(
tooltip_rect
.origin() + gfx::Vector2d(-1, -1));
259
gfx::Rect
tooltip_rect
= GetTooltipWidget()->GetNativeWindow()->bounds();
local
260
ASSERT_FALSE(
tooltip_rect
.IsEmpty());
263
ui::MouseEvent mouse_event(ui::ET_MOUSE_PRESSED,
tooltip_rect
.CenterPoint(),
264
tooltip_rect
.CenterPoint(), ui::EF_NONE,
278
test_api.set_location(
tooltip_rect
.origin() + gfx::Vector2d(-1, -1))
[
all
...]
/external/chromium_org/ui/views/corewm/
tooltip_aura.cc
154
gfx::Rect
tooltip_rect
(mouse_pos, tooltip_size);
155
tooltip_rect
.Offset(kCursorOffsetX, kCursorOffsetY);
161
if (
tooltip_rect
.right() > display_bounds.right()) {
162
int h_offset =
tooltip_rect
.right() - display_bounds.right();
163
tooltip_rect
.Offset(-h_offset, 0);
168
if (
tooltip_rect
.bottom() > display_bounds.bottom())
169
tooltip_rect
.set_y(mouse_pos.y() - tooltip_size.height());
171
tooltip_rect
.AdjustToFit(display_bounds);
172
widget_->SetBounds(
tooltip_rect
);
Completed in 75 milliseconds