PDFPlugin should take advantage of threaded scrolling
[WebKit-https.git] / Source / WebCore / ChangeLog
index ea59b9e..044ac18 100644 (file)
@@ -1,3 +1,25 @@
+2015-11-02  Tim Horton  <timothy_horton@apple.com>
+
+        PDFPlugin should take advantage of threaded scrolling
+        https://bugs.webkit.org/show_bug.cgi?id=150037
+
+        Reviewed by Anders Carlsson.
+
+        * page/PageOverlay.cpp:
+        (WebCore::PageOverlay::PageOverlay):
+        (WebCore::PageOverlay::setNeedsDisplay):
+        Don't reset the overlay layer's opacity if we're not animating,
+        because it's possible the client wants to manage it.
+
+        * page/PageOverlayController.cpp:
+        (WebCore::PageOverlayController::updateForceSynchronousScrollLayerPositionUpdates):
+        Let the overlay itself determine whether it needes synchronous scrolling,
+        and let PageOverlay clients override the default.
+
+        * platform/Widget.h:
+        (WebCore::Widget::boundsRect):
+        Export a few useful things.
+
 2015-11-02  Chris Dumez  <cdumez@apple.com>
 
         Regression(r191673): Crash in RunLoopTimer::schedule()