-
tonikitoo@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97917 PR #212920 Reviewed by Yong Li. Patch by Antonio Gomes <agomes@rim.com> Internally reviewed by Jacky Jiang. Restore the zoom level and scroll position at the time when know the fullscreen exit routine has ended (i.e. in ::setViewportSize instead of ::exitFullScreenForElement). Also patch caches now the scroll position instead of only the "x scroll position. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): (BlackBerry::WebKit::WebPagePrivate::setViewportSize): (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement): (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement): * Api/WebPage_p.h: (WebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ad541503