[Title] Adjust scroll position immediately after hiding IME
[Issue#] SE-38425
[Problem] Scroll position is updated too late after hiding IME
[Cause] If there's delay between resize view and didChangeViewportProperties(),
scroll position is updated too late.
[Solution] Update drawing scroll position on UIProcess right after hiding IME
Change-Id: Ia3d56bf5340ea1e791cd860835f5f3740e6b0d23
{
// update viewport size of webkit
m_visibleContentRect.setSize(viewportSize);
+ m_visibleContentRect = adjustVisibleContentRect(m_visibleContentRect, m_scaleFactor);
+ m_viewImpl->setScrollPosition(m_visibleContentRect.location());
m_viewImpl->page()->setViewportSize(viewportSize);
}
#endif