This CL refactors link navigation code in PDFiumEngine::OnMouseUp() to
a new method PDFiumEngine::NavigateToLinkDestination(). This new method
is now also called for handling click on links for accessibility actions.
A test is also added to validate if default action on weblinks is
resulting in OutOfProcessInstance::NavigateTo() call with correct URL.
Bug: 981448
Change-Id: I1700f4bd3152ee32d4c4e7a47714f745af67cc16
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760830
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
Commit-Queue: Mansi Awasthi <maawas@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#694535}