Use is<>() / downcast<>() for all remaining RenderObject subclasses
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index 7c36b60..2d10e27 100644 (file)
@@ -1,3 +1,97 @@
+2014-10-19  Chris Dumez  <cdumez@apple.com>
+
+        Use is<>() / downcast<>() for all remaining RenderObject subclasses
+        https://bugs.webkit.org/show_bug.cgi?id=137845
+
+        Reviewed by Darin Adler.
+
+        Use is<>() / downcast<>() for all remaining RenderObject subclasses and 
+        clean up the surrounding code.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::pluginProcessCrashed):
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::createPlugin):
+
+2014-10-19  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Move GtkDragAndDropHelper from Platform to WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=137422
+
+        Reviewed by Martin Robinson.
+
+        WebKitWebViewBase is currently the only user of
+        GtkDragAndDropHelper, that was added to share the code with
+        WebKit1. Move all the drag and drop logic to a new class
+        DragAndDropHandler.
+
+        * PlatformGTK.cmake: Add new files to compilation.
+        * UIProcess/API/gtk/PageClientImpl.cpp:
+        (WebKit::PageClientImpl::startDrag):
+        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+        (webkitWebViewBaseConstructed):
+        (webkitWebViewBaseDragDataGet):
+        (webkitWebViewBaseDragEnd):
+        (webkitWebViewBaseDragDataReceived):
+        (webkitWebViewBaseDragMotion):
+        (webkitWebViewBaseDragLeave):
+        (webkitWebViewBaseDragDrop):
+        (webkitWebViewBaseDragAndDropHandler):
+        (dragExitedCallback): Deleted.
+        (webkitWebViewBaseStartDrag): Deleted.
+        * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
+        * UIProcess/gtk/DragAndDropHandler.cpp: Added.
+        (WebKit::DragAndDropHandler::create):
+        (WebKit::DragAndDropHandler::DragAndDropHandler):
+        (WebKit::DragAndDropHandler::DroppingContext::DroppingContext):
+        (WebKit::dragOperationToGdkDragActions):
+        (WebKit::dragOperationToSingleGdkDragAction):
+        (WebKit::gdkDragActionToDragOperation):
+        (WebKit::DragAndDropHandler::startDrag):
+        (WebKit::DragAndDropHandler::fillDragData):
+        (WebKit::DragAndDropHandler::finishDrag):
+        (WebKit::DragAndDropHandler::dataObjectForDropData):
+        (WebKit::DragAndDropHandler::dragEntered):
+        (WebKit::DragAndDropHandler::requestDragData):
+        (WebKit::DragAndDropHandler::dragMotion):
+        (WebKit::DragAndDropHandler::dragLeave):
+        (WebKit::DragAndDropHandler::drop):
+        * UIProcess/gtk/DragAndDropHandler.h: Added.
+
+2014-10-18  Dan Bernstein  <mitz@apple.com>
+
+        WorkQueue dispatches functions but isn’t a FunctionDispatcher
+        https://bugs.webkit.org/show_bug.cgi?id=137853
+
+        Reviewed by Anders Carlsson.
+
+        * Platform/WorkQueue.h: Changed to inherit from FunctionDispatcher.
+
+2014-10-18  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [GTK] Improve documentation of webkit_web_view_get_tls_info()
+        https://bugs.webkit.org/show_bug.cgi?id=137852
+
+        Reviewed by Martin Robinson.
+
+        * UIProcess/API/gtk/WebKitWebView.cpp:
+
+2014-10-17  Chris Dumez  <cdumez@apple.com>
+
+        Use is<>() / downcast<>() for RenderBox
+        https://bugs.webkit.org/show_bug.cgi?id=137804
+
+        Reviewed by Andreas Kling.
+
+        Use is<>() / downcast<>() for RenderBox and clean up the surrounding
+        code.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::determinePrimarySnapshottedPlugIn):
+        (WebKit::WebPage::plugInIsPrimarySize):
+        * WebProcess/WebPage/ios/WebPageIOS.mm:
+        (WebKit::WebPage::sendTapHighlightForNodeIfNecessary):
+
 2014-10-16  Simon Fraser  <simon.fraser@apple.com>
 
         [iOS] Turn off font autosizing for iOS WebKitTestRunner