TouchSelection editing relies on DidStopFlinging() to properly terminate scrolls. Since PDFs still use BrowserPlugin, and since RenderWidgetHostViewChildFrame doesn't create a frame connector in this case, DidStopFlinging() is not handled for PDFs (this will eventually be fixed when PDFs transition to OOPIFs).
For now, RenderWidgetHostViewGuest should implement DidStopFLinging(), and pass this event along to the top-level RenderWidgetHostView.
Note: this only affects Windows/Linux/CrOS, as Mac doesn't have Touch, and Android doesn't use plugin-based PDF.
Comment 1 by bugdroid1@chromium.org
, Oct 10 2017