Implement ScrollableArea::scrollOffset()
[WebKit-https.git] / Source / WebKit / ChangeLog
index 56bb488..4e2369d 100644 (file)
@@ -1,3 +1,22 @@
+2019-06-16  Simon Fraser  <simon.fraser@apple.com>
+
+        Implement ScrollableArea::scrollOffset()
+        https://bugs.webkit.org/show_bug.cgi?id=198895
+
+        Reviewed by Antti Koivisto.
+
+        * UIProcess/win/WebPopupMenuProxyWin.cpp:
+        (WebKit::PopupMenuWin::scrollPosition const):
+        (WebKit::WebPopupMenuProxyWin::onKeyDown): Just use m_scrollOffset.
+        (WebKit::WebPopupMenuProxyWin::scrollSize const): Deleted.
+        * UIProcess/win/WebPopupMenuProxyWin.h: Remove the one-axis scrollOffset()
+        * WebProcess/Plugins/PDF/PDFPlugin.h:
+        * WebProcess/Plugins/PDF/PDFPlugin.mm:
+        (WebKit::PDFPlugin::scrollSize const): Deleted.
+        (WebKit::PDFPlugin::scrollOffset const): Deleted.
+        * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:
+        (WebKit::RemoteLayerTreeDrawingArea::updateScrolledExposedRect):
+
 2019-06-15  Youenn Fablet  <youenn@apple.com>
 
         WebProcessPool::clearWebProcessHasUploads cannot assume its given processIdentifier is valid