Searched refs:widget_bounds (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/
H A Dfind_bar_host.cc264 gfx::Rect widget_bounds; local
265 GetWidgetBounds(&widget_bounds);
266 if (widget_bounds.IsEmpty())
273 if (widget_bounds.width() < prefsize.width())
274 prefsize.set_width(widget_bounds.width());
276 // Don't show the find bar if |widget_bounds| is not tall enough.
277 if (widget_bounds.height() < prefsize.height())
283 int x = widget_bounds.x();
285 x += widget_bounds.width() - prefsize.width();
286 int y = widget_bounds
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_widget_unittest.cc200 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); local
201 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds));
228 widget_bounds = widget->GetWindowBoundsInScreen();
229 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds));
/external/chromium_org/ui/views/controls/button/
H A Dcustom_button_unittest.cc66 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); local
67 widget_bounds.set_origin(cursor);
68 widget->SetBounds(widget_bounds);
/external/chromium_org/ui/views/controls/scrollbar/
H A Dbase_scroll_bar.cc290 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); local
291 gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y());
/external/chromium_org/ui/views/touchui/
H A Dtouch_selection_controller_impl.cc260 gfx::Rect widget_bounds(
265 widget_->SetBounds(widget_bounds);

Completed in 206 milliseconds