In chromium, this method used to be implemented
in render_widget_host_view_base.h (base class)
under a OS_ANDROID build guard, but was removed
by r273628 [1].
Commit message (of the removal):
"
Revert of Chromium plumbing to use the selection root bounds. (https://codereview.chromium.org/
186753002/)
Reason for revert:
The Android plumbing to use the root selection bounds has been removed, and the
visibility calculation will soon be performed by the compositor
(see crbug.com/135959).
(...)
https://codereview.chromium.org/
306803002
"
NOTIMPLEMENTED();
}
-void RenderWidgetHostViewEfl::SelectionRootBoundsChanged(const gfx::Rect& rect) {
- if (GetSelectionController())
- GetSelectionController()->SetVisibilityBounds(
- ConvertRectToPixel(device_scale_factor_, rect));
-}
-
void RenderWidgetHostViewEfl::DidStopFlinging() {
#ifdef TIZEN_EDGE_EFFECT
web_view_->edgeEffect()->hide();
virtual void SetTooltipText(const base::string16&) OVERRIDE;
virtual void SelectionChanged(const base::string16&, size_t, const gfx::Range&) OVERRIDE;
virtual void SelectionBoundsChanged(const ViewHostMsg_SelectionBounds_Params&) OVERRIDE;
- virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE;
virtual void ScrollOffsetChanged() OVERRIDE;
virtual void CopyFromCompositingSurface(
const gfx::Rect&,