Home
last modified time | relevance | path

Searched refs:view_location (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc151 gfx::Rect view_location, in GetLocationForFindbarView() argument
155 int boundary = dialog_bounds.width() - view_location.width(); in GetLocationForFindbarView()
156 view_location.set_x(std::min(view_location.x(), boundary)); in GetLocationForFindbarView()
158 view_location.set_x(std::max(view_location.x(), dialog_bounds.x())); in GetLocationForFindbarView()
161 gfx::Rect new_pos = view_location; in GetLocationForFindbarView()
175 new_pos = view_location; // Reset. in GetLocationForFindbarView()
182 new_pos = view_location; // Reset. in GetLocationForFindbarView()
Dfind_bar_controller.h58 gfx::Rect view_location,
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc180 gfx::Rect view_location, in GetLocationForFindbarView() argument
184 int boundary = dialog_bounds.width() - view_location.width(); in GetLocationForFindbarView()
185 view_location.set_x(std::min(view_location.x(), boundary)); in GetLocationForFindbarView()
187 view_location.set_x(std::max(view_location.x(), dialog_bounds.x())); in GetLocationForFindbarView()
190 gfx::Rect new_pos = view_location; in GetLocationForFindbarView()
204 new_pos = view_location; // Reset. in GetLocationForFindbarView()
211 new_pos = view_location; // Reset. in GetLocationForFindbarView()
Dfind_bar_controller.h73 gfx::Rect view_location,
/external/chromium_org/ui/views/widget/
Ddrop_helper.cc63 gfx::Point view_location(root_view_location); in OnDrop() local
65 View::ConvertPointToTarget(root_view, drop_view, &view_location); in OnDrop()
66 ui::DropTargetEvent drop_event(data, view_location, view_location, in OnDrop()
/external/chromium/chrome/browser/ui/views/
Dfind_bar_host.cc244 gfx::Rect view_location; local
249 view_location.SetRect(x, y, prefsize.width(), prefsize.height());
262 view_location, widget_bounds, avoid_overlapping_rect);
/external/chromium_org/chrome/browser/ui/views/
Dfind_bar_host.cc283 gfx::Rect view_location; local
288 view_location.SetRect(x, y, prefsize.width(), prefsize.height());
301 view_location, widget_bounds, avoid_overlapping_rect);
/external/chromium/chrome/browser/ui/gtk/
Dfind_bar_gtk.cc433 gfx::Rect view_location( in GetDialogPosition() local
437 view_location, dialog_bounds, avoid_overlapping_rect); in GetDialogPosition()
/external/chromium_org/chrome/browser/ui/gtk/
Dfind_bar_gtk.cc458 gfx::Rect view_location( in GetDialogPosition() local
462 view_location, dialog_bounds, avoid_overlapping_rect); in GetDialogPosition()