Home
last modified time | relevance | path

Searched refs:anchor_rect (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/ui/views/bubble/
Dbubble_frame_view.cc243 gfx::Rect BubbleFrameView::GetUpdatedWindowBounds(const gfx::Rect& anchor_rect, in GetUpdatedWindowBounds() argument
253 MirrorArrowIfOffScreen(true, anchor_rect, client_size); in GetUpdatedWindowBounds()
254 MirrorArrowIfOffScreen(false, anchor_rect, client_size); in GetUpdatedWindowBounds()
259 anchor_rect, in GetUpdatedWindowBounds()
261 OffsetArrowIfOffScreen(anchor_rect, client_size); in GetUpdatedWindowBounds()
266 return bubble_border_->GetBounds(anchor_rect, client_size); in GetUpdatedWindowBounds()
278 const gfx::Rect& anchor_rect, in MirrorArrowIfOffScreen() argument
281 gfx::Rect available_bounds(GetAvailableScreenBounds(anchor_rect)); in MirrorArrowIfOffScreen()
282 gfx::Rect window_bounds(bubble_border_->GetBounds(anchor_rect, client_size)); in MirrorArrowIfOffScreen()
290 bubble_border_->GetBounds(anchor_rect, client_size); in MirrorArrowIfOffScreen()
[all …]
Dbubble_frame_view.h69 gfx::Rect GetUpdatedWindowBounds(const gfx::Rect& anchor_rect,
83 const gfx::Rect& anchor_rect,
88 void OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect,
Dbubble_border.cc166 gfx::Rect BubbleBorder::GetBounds(const gfx::Rect& anchor_rect, in GetBounds() argument
168 int x = anchor_rect.x(); in GetBounds()
169 int y = anchor_rect.y(); in GetBounds()
170 int w = anchor_rect.width(); in GetBounds()
171 int h = anchor_rect.height(); in GetBounds()
Dbubble_border.h151 virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect,
Dbubble_delegate.h65 const gfx::Rect& anchor_rect() const { return anchor_rect_; } in anchor_rect() function
/external/chromium_org/ui/views/touchui/
Dtouch_editing_menu.cc41 gfx::Rect anchor_rect, in TouchEditingMenuView() argument
45 SetAnchorRect(anchor_rect); in TouchEditingMenuView()
65 gfx::Rect anchor_rect, in Create() argument
70 return new TouchEditingMenuView(controller, anchor_rect, context); in Create()
Dtouch_editing_menu.h48 gfx::Rect anchor_rect,
55 gfx::Rect anchor_rect,
/external/chromium_org/ash/shelf/
Doverflow_bubble_view.cc196 const gfx::Rect anchor_rect = GetAnchorRect(); in GetBubbleBounds() local
198 anchor_rect, in GetBubbleBounds()
203 anchor_rect.CenterPoint()).work_area(); in GetBubbleBounds()
213 border->set_arrow_offset(anchor_rect.CenterPoint().x() - bubble_rect.x()); in GetBubbleBounds()
221 border->set_arrow_offset(anchor_rect.CenterPoint().y() - bubble_rect.y()); in GetBubbleBounds()
/external/chromium_org/chrome/browser/ui/views/
Davatar_menu_bubble_view.h54 const gfx::Rect& anchor_rect,
92 const gfx::Rect& anchor_rect,
Dprofile_chooser_view.h55 const gfx::Rect& anchor_rect,
85 const gfx::Rect& anchor_rect,
Dpassword_generation_bubble_view.cc123 const gfx::Rect& anchor_rect, in PasswordGenerationBubbleView() argument
137 anchor_rect_(anchor_rect), in PasswordGenerationBubbleView()
Dpassword_generation_bubble_view.h43 const gfx::Rect& anchor_rect,
Davatar_menu_bubble_view.cc488 const gfx::Rect& anchor_rect, in ShowBubble() argument
495 anchor_view, arrow, anchor_rect, browser); in ShowBubble()
517 const gfx::Rect& anchor_rect, in AvatarMenuBubbleView() argument
520 anchor_rect_(anchor_rect), in AvatarMenuBubbleView()
Dprofile_chooser_view.cc316 const gfx::Rect& anchor_rect, in ShowBubble() argument
323 anchor_view, arrow, anchor_rect, browser); in ShowBubble()
344 const gfx::Rect& anchor_rect, in ProfileChooserView() argument
/external/chromium_org/chrome/browser/ui/gtk/
Dpassword_generation_bubble_gtk.cc42 const gfx::Rect& anchor_rect, in PasswordGenerationBubbleGtk() argument
93 &anchor_rect, in PasswordGenerationBubbleGtk()
Dpassword_generation_bubble_gtk.h31 PasswordGenerationBubbleGtk(const gfx::Rect& anchor_rect,
/external/chromium_org/ash/wm/caption_buttons/
Dmaximize_bubble_controller_bubble.cc382 gfx::Rect anchor_rect = in GetAnchorRect() local
384 return anchor_rect; in GetAnchorRect()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_guest.cc365 guest_params.anchor_rect = guest_->ToGuestRect(params.anchor_rect); in SelectionBoundsChanged()
Drender_widget_host_view_mac_unittest.mm337 params.anchor_rect = params.focus_rect = caret_rect;
363 params.anchor_rect = params.focus_rect = caret_rect;
389 params.anchor_rect = caret_rect;
Drender_widget_host_view_gtk.cc977 gfx::UnionRects(params.anchor_rect, params.focus_rect)); in SelectionBoundsChanged()
Drender_widget_host_view_aura.cc1045 if (selection_anchor_rect_ == params.anchor_rect && in SelectionBoundsChanged()
1049 selection_anchor_rect_ = params.anchor_rect; in SelectionBoundsChanged()
/external/chromium_org/content/renderer/
Drender_widget.cc2558 GetSelectionBounds(&params.anchor_rect, &params.focus_rect); in UpdateSelectionBounds()
2559 if (selection_anchor_rect_ != params.anchor_rect || in UpdateSelectionBounds()
2561 selection_anchor_rect_ = params.anchor_rect; in UpdateSelectionBounds()
/external/chromium_org/content/renderer/npapi/
Dwebplugin_delegate_proxy.cc933 bounds_params.anchor_rect = bounds_params.focus_rect = caret_rect; in OnNotifyIMEStatus()
/external/chromium_org/content/common/
Dview_messages.h496 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect)
/external/chromium_org/content/browser/android/
Dcontent_view_core_impl.cc555 CreateJavaRect(env, params.anchor_rect)); in OnSelectionBoundsChanged()

12