Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: Source/WebKit2/ChangeLog

Issue 12475008: Merge 144236 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: Source/WebKit2/ChangeLog
===================================================================
--- Source/WebKit2/ChangeLog (revision 145274)
+++ Source/WebKit2/ChangeLog (working copy)
@@ -1,3 +1,16744 @@
+2013-02-27 John Bauman <jbauman@chromium.org>
+
+ Plugin in iframe may not display
+ https://bugs.webkit.org/show_bug.cgi?id=109879
+
+ Reviewed by Simon Fraser.
+
+ Update geometry when cliprect changes.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::clipRectChanged):
+ * WebProcess/Plugins/PluginView.h:
+
+2013-02-27 Jer Noble <jer.noble@apple.com>
+
+ REGRESSION (48533): Full-frame plugins stopped working (download instead of loading the plugin)
+ https://bugs.webkit.org/show_bug.cgi?id=111003
+
+ Reviewed by Anders Carlsson.
+
+ Also query the Page's pluginData when determining whether a given MIME type can be shown.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+ (WKBundlePageCanShowMIMEType):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::canShowMIMEType):
+ * WebProcess/WebPage/WebPage.h:
+
+2013-02-27 Manuel Rego Casasnovas <rego@igalia.com>
+
+ Add smartInsertDeleteEnabled setting to WebCore::Page
+ https://bugs.webkit.org/show_bug.cgi?id=107840
+
+ Reviewed by Ryosuke Niwa.
+
+ * Shared/WebPageCreationParameters.cpp:
+ (WebKit::WebPageCreationParameters::encode):
+ (WebKit::WebPageCreationParameters::decode): Remove code related to
+ isSmartInsertDeleteEnabled.
+ * Shared/WebPageCreationParameters.h:
+ (WebPageCreationParameters): Remove isSmartInsertDeleteEnabled.
+ * Shared/WebPreferencesStore.h:
+ (WebKit): Add macro for smartInsertDeleteEnabled setting.
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetSmartInsertDeleteEnabled):
+ (WKPreferencesGetSmartInsertDeleteEnabled): Implement methods using the
+ new setting.
+ * UIProcess/API/C/WKPreferencesPrivate.h: Add new methods headers.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::initializeWebPage): Set smartInsertDeleteEnabled
+ setting using m_isSmartInsertDeleteEnabled to keep initial value on Mac.
+ (WebKit::WebPageProxy::creationParameters): Remove usage of
+ parameters.isSmartInsertDeleteEnabled.
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+ (WebKit::WebEditorClient::smartInsertDeleteEnabled): Enable method for
+ all platforms.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage): Remove m_isSmartInsertDeleteEnabled
+ initialization.
+ (WebKit::WebPage::updatePreferences): Set smartInsertDeleteEnabled
+ setting.
+ (WebKit::WebPage::isSmartInsertDeleteEnabled): Implement method using
+ settings.
+ (WebKit):
+ (WebKit::WebPage::setSmartInsertDeleteEnabled): Implement method using
+ settings.
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage): Enable methods dealing with smartInsertDeleteEnabled for all
+ platforms and remove m_isSmartInsertDeleteEnabled as it will be a
+ setting.
+
+
+2013-02-27 Anders Carlsson <andersca@apple.com>
+
+ More storage scaffolding
+ https://bugs.webkit.org/show_bug.cgi?id=110997
+
+ Reviewed by Andreas Kling.
+
+ * DerivedSources.make:
+ Add StorageAreaProxy.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::setItem):
+ Send back a DidSetItem message.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add generated files.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::StorageAreaProxy):
+ Add the message receiver.
+
+ (WebKit::StorageAreaProxy::~StorageAreaProxy):
+ Remove the message receiver.
+
+ (WebKit::StorageAreaProxy::didSetItem):
+ add stub.
+
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (StorageAreaProxy):
+ * WebProcess/Storage/StorageAreaProxy.messages.in: Added.
+
+2013-02-27 Sam Weinig <sam@webkit.org>
+
+ REGRESSION: Loading flash switches to discrete graphics, 100 MB on membuster
+ <rdar://problem/13229828>
+
+ Reviewed by Dan Bernstein.
+
+ Due the change in CFBundleIdentifier, the WebProcess and PluginProcess were
+ unnecessarily muxing (they used to be whitelisted by OpenGL) to the discrete
+ GPU.
+
+ * PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
+ * WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info.plist:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info.plist:
+ Add NSSupportsAutomaticGraphicsSwitching YES.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Re-add the PluginService.32-64.Info.plist plist to the project file.
+
+2013-02-26 Alexey Proskuryakov <ap@apple.com>
+
+ Don't add a body to platform request until necessary
+ https://bugs.webkit.org/show_bug.cgi?id=110900
+
+ Reviewed by Brady Eidson.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::willSendRequest): Restore body after IPC. There
+ is no way for the client to change it.
+
+ * Shared/Downloads/mac/DownloadMac.mm:
+ (WebKit::Download::start):
+ (WebKit::Download::startWithHandle):
+ Pass UpdateHTTPBody when passing a request to NSURLConnection.
+
+ * Shared/mac/WebCoreArgumentCodersMac.mm: (CoreIPC::::encodePlatformData):
+ Never serialize the request body. It's slow, and sometimes impossible, so just
+ keeping things consistent.
+
+ * Shared/mac/WebURLRequestMac.mm: (WebKit::WebURLRequest::platformRequest):
+ Pass DoNotUpdateHTTPBody, as we can't update it outside NetworkProcess.
+
+ * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
+ (WebKit::CustomProtocolManagerProxy::startLoading): Ditto.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp:
+ (WebKit::InjectedBundlePageResourceLoadClient::willSendRequestForFrame):
+ Restore existing body after a client call..
+
+ * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::platformCanHandleRequest):
+ Pass DoNotUpdateHTTPBody, as we can't update it outside NetworkProcess.
+
+2013-02-27 Glenn Adams <glenn@skynav.com>
+
+ Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
+ https://bugs.webkit.org/show_bug.cgi?id=110944
+
+ Reviewed by Dean Jackson.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-27 Michael Brüning <michael.bruning@digia.com>
+
+ [Qt][WK2] Replace use of WebPreferences with use of WKPrefences C API
+ https://bugs.webkit.org/show_bug.cgi?id=108952
+
+ Reviewed by Simon Hausmann.
+
+ Signed off for WebKit2 by Benjamin Poulain.
+
+ This patch moves the view classes and preferences in the Qt API
+ to use the C API for accessing and manipulating preferences as
+ part of the cleanup and move towards using the C API as base for
+ the Qt WebKit2 API.
+
+ Adds the function WebKit::adoptToQString for convenience when
+ dealing with QString and copied String objects.
+
+ Removes the ScrollAnimatorEnabled options from QWebPreferences.
+
+ * UIProcess/API/cpp/qt/WKStringQt.cpp:
+ (WebKit::adoptToQString):
+ * UIProcess/API/cpp/qt/WKStringQt.h:
+ (WebKit):
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ * UIProcess/API/qt/qwebpreferences.cpp:
+ (QWebPreferencesPrivate::testAttribute):
+ (QWebPreferencesPrivate::setAttribute):
+ (QWebPreferencesPrivate::setFontFamily):
+ (QWebPreferencesPrivate::fontFamily):
+ (QWebPreferencesPrivate::setFontSize):
+ (QWebPreferencesPrivate::fontSize):
+ * UIProcess/API/qt/qwebpreferences_p.h:
+ * UIProcess/API/qt/qwebpreferences_p_p.h:
+
+2013-02-26 Anders Carlsson <andersca@apple.com>
+
+ Implement StorageAreaProxy::getItem and StorageAreaProxy::setItem
+ https://bugs.webkit.org/show_bug.cgi?id=110927
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::setItem):
+ * UIProcess/Storage/StorageManager.h:
+ Add empty stub.
+
+ * UIProcess/Storage/StorageManager.messages.in:
+ Add SetItem message.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::getItem):
+ Fill the storage map and get the item from it.
+
+ (WebKit::StorageAreaProxy::setItem):
+ Update the storage map and send a SetItem message to the UI process.
+
+2013-02-26 Anders Carlsson <andersca@apple.com>
+
+ StorageAreaProxy should hold on to a StorageMap and not a HashMap
+ https://bugs.webkit.org/show_bug.cgi?id=110919
+
+ Reviewed by Jessie Berlin.
+
+ Create a storage map instead of a hash map.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::length):
+ (WebKit::StorageAreaProxy::loadValuesIfNeeded):
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (WebCore):
+ (StorageAreaProxy):
+
+2013-02-26 Anders Carlsson <andersca@apple.com>
+
+ Fix a copy/paste error in WebLoaderClient::didBlockInsecurePluginVersion
+ https://bugs.webkit.org/show_bug.cgi?id=110914
+ <rdar://problem/13297581>
+
+ Reviewed by Beth Dakin.
+
+ Pass kWKErrorCodeInsecurePlugInVersion to the pluginDidFail callback.
+
+ * UIProcess/WebLoaderClient.cpp:
+ (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
+
+2013-02-26 Jer Noble <jer.noble@apple.com>
+
+ Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-26 Manuel Rego Casasnovas <rego@igalia.com>
+
+ [WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu
+ https://bugs.webkit.org/show_bug.cgi?id=110869
+
+ Reviewed by Martin Robinson.
+
+ Test was failing because of new media controls needs more space to be
+ painted than just 10x10 pixels.
+
+ * UIProcess/API/gtk/tests/TestContextMenu.cpp:
+ (testContextMenuDefaultMenu): Modified test in order to give more space
+ to the media controls.
+
+2013-02-26 Dean Jackson <dino@apple.com>
+
+ Draw intermediate snapshots if possible
+ https://bugs.webkit.org/show_bug.cgi?id=110811
+
+ Reviewed by Simon Fraser.
+
+ After http://webkit.org/b/110495 we delayed snapshotting until we've
+ received a nice image, but this made the page look like it is broken.
+ We should draw any intermediate snapshots that we find, which might
+ include content such as progress bars/spinners.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit): Reinstate 60 attempts at snapshots before giving up.
+ (WebKit::PluginView::isAcceleratedCompositingEnabled): We do not
+ want accelerated compositing enabled when we are trying to capture
+ snapshots.
+
+2013-02-26 Andras Becsi <andras.becsi@digia.com>
+
+ Remove nonexistent StringPairVector.h from Target.pri after r142839
+
+ Unreviewed gardening.
+
+ * Target.pri:
+
+2013-02-26 Simon Hausmann <simon.hausmann@digia.com>
+
+ Unreviewed trivial !ENABLE(NETSCAPE_PLUGIN_API) build fix
+
+ Add an intermediate pluginName string variable instead of
+ accessing plugin.info outside the feature #ifdef.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::unavailablePluginButtonClicked):
+
+2013-02-25 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: remove redundant update of non compositing layer.
+ https://bugs.webkit.org/show_bug.cgi?id=110444
+
+ Reviewed by Noam Rosenthal.
+
+ Currently, we update non compositing layer when the page scrolled. However, it
+ is not needed, because TiledBackingStore can scroll without tile update.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (CoordinatedLayerTreeHost):
+
+2013-02-25 Jer Noble <jer.noble@apple.com>
+
+ REGRESSION(r143981): Crash in WebFrameLoaderClient::dispatchDidStartProvisionalLoad()
+ https://bugs.webkit.org/show_bug.cgi?id=110848
+
+ Reviewed by Ryosuke Niwa.
+
+ NULL-check the result of document->documentElement().
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
+
+2013-02-25 Anders Carlsson <andersca@apple.com>
+
+ Add a new unavailablePluginButtonClicked callback that takes a WKDictionary of plug-in information
+ https://bugs.webkit.org/show_bug.cgi?id=110821
+
+ Reviewed by Beth Dakin.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageGetPluginInformationPluginspageAttributeURLKey):
+ (WKPageGetPluginInformationPluginURLKey):
+ Add two new API key getters.
+
+ * UIProcess/API/C/WKPage.h:
+ Add a new callback and deprecate the old callback.
+
+ * UIProcess/WebLoaderClient.cpp:
+ (WebKit::WebLoaderClient::didFailToInitializePlugin):
+ (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
+ (WebKit::WebLoaderClient::pluginLoadPolicy):
+ Make the pluginInformationDictionary a static member function of WebPageProxy so it
+ can be called from WebUIClient as well.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+ Pass the bundle version as well.
+
+ (WebKit::WebPageProxy::pluginInformationPluginspageAttributeURLKey):
+ (WebKit::WebPageProxy::pluginInformationPluginURLKey):
+ Add two new keys.
+
+ (WebKit::WebPageProxy::pluginInformationDictionary):
+ Handle more keys.
+
+ (WebKit::WebPageProxy::unavailablePluginButtonClicked):
+ Get the plug-in bundle identifier and version.
+
+ * UIProcess/WebPageProxy.messages.in:
+ Pass along more information; the frame and page URLs.
+
+ * UIProcess/WebUIClient.cpp:
+ (WebKit::WebUIClient::unavailablePluginButtonClicked):
+ Call the new callback if it's supported.
+
+ * UIProcess/WebUIClient.h:
+ (WebUIClient):
+ * UIProcess/mac/WebInspectorProxyMac.mm:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ Update for API changes.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::unavailablePluginButtonClicked):
+ Ensure that the pluginspage attribute is a valid URL.
+
+2013-02-21 Jeffrey Pfau <jpfau@apple.com>
+
+ Optionally partition cache to prevent using cache for tracking
+ https://bugs.webkit.org/show_bug.cgi?id=110269
+
+ Reviewed by Maciej Stachowiak.
+
+ Update WKSI bindings and add feature defines.
+
+ * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
+ * WebCoreSupport/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2013-02-25 Jer Noble <jer.noble@apple.com>
+
+ Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
+ https://bugs.webkit.org/show_bug.cgi?id=110806
+
+ Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
+
+ Reviewed by Alexey Proskuryakov.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-25 Jer Noble <jer.noble@apple.com>
+
+ Full screen mode should not exit when application resigns active state.
+ https://bugs.webkit.org/show_bug.cgi?id=106129
+
+ Reviewed by Darin Adler.
+
+ Now that full screen windows get their own full screen space, there is no reason to exit full
+ screen mode when the application resigns active state. Instead, the windowserver will bring the
+ space containing the newly active application to the foreground. The user can then swipe back
+ to the full screen space (or use Mission Control) to get back to the full screen window.
+
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+ (-[WKFullScreenWindowController windowDidLoad]): Remove the applicationDidResignActive: notification from WKFullScreenWindowController.
+
+2013-02-25 Jer Noble <jer.noble@apple.com>
+
+ Safari shows empty window and paints webpage in full-screen background
+ https://bugs.webkit.org/show_bug.cgi?id=103712
+
+ Reviewed by Darin Adler.
+
+ When canceling full screen mode due to a provisional load, exit normally instead of closing the
+ full screen window controller. Additionally, to ensure full screen is cancelled when the enclosing
+ frame around a full screen iframe is navigated, check to see if the navigating document contains
+ a full screen element, rather than checking whether the document itself is full screen.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
+
+2013-02-25 Anders Carlsson <andersca@apple.com>
+
+ Fix build.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
+
+2013-02-25 Anders Carlsson <andersca@apple.com>
+
+ Add a new pluginDidFail callback that takes a WKDictionary of plug-in information
+ https://bugs.webkit.org/show_bug.cgi?id=110793
+ <rdar://problem/13265303>
+
+ Reviewed by Sam Weinig.
+
+ Add a new pluginDidFail callback that takes a WKDictionaryRef and also pass in the
+ frame and page URLs.
+
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebLoaderClient.cpp:
+ (WebKit::pluginInformationDictionary):
+ (WebKit::WebLoaderClient::didFailToInitializePlugin):
+ (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
+ (WebKit::WebLoaderClient::pluginLoadPolicy):
+ * UIProcess/WebLoaderClient.h:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didFailToInitializePlugin):
+ (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.messages.in:
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::didFailToInitializePlugin):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::createPlugin):
+
+2013-02-25 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Tab between text annotations
+ https://bugs.webkit.org/show_bug.cgi?id=106539
+ <rdar://problem/12751789>
+
+ Reviewed by Darin Adler.
+
+ Use [PDFLayerController activateNextAnnotation:] to advance focus when the tab key is hit while inside a PDF form.
+
+ Also, a drive-by fix to make the lifetime of PDFPluginAnnotationEventListener's m_annotation pointer more explicit.
+
+ * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add activateNextAnnotation: SPI.
+ * WebProcess/Plugins/PDF/PDFPlugin.h:
+ (PDFPlugin): Add focus(Next|Previous)Annotation.
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ (WebKit::PDFPlugin::focusNextAnnotation): Ask PDFLayerController to focus the next annotation.
+ (WebKit::PDFPlugin::focusPreviousAnnotation): Ask PDFLayerController to focus the next annotation.
+ * WebProcess/Plugins/PDF/PDFPluginAnnotation.h: Drive-by, initialize m_parent to 0.
+ (WebKit::PDFPluginAnnotation::PDFPluginAnnotationEventListener::setAnnotation): Added.
+ * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
+ (WebKit::PDFPluginAnnotation::attach): Use eventNames() instead of string literals.
+ (WebKit::PDFPluginAnnotation::~PDFPluginAnnotation): Clear the event listener's reference to its annotation.
+ (WebKit::PDFPluginAnnotation::PDFPluginAnnotationEventListener::handleEvent): Null-check the event listener's annotation.
+ * WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h:
+ (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotation): Create our PDFPluginTextAnnotationEventListener.
+ (PDFPluginTextAnnotationEventListener): Added an event listener (for keydown events in form fields).
+ (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::create):
+ (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::setTextAnnotation):
+ (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::PDFPluginTextAnnotationEventListener):
+ * WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm:
+ (WebKit::PDFPluginTextAnnotation::~PDFPluginTextAnnotation): Unregister our keydown event listener.
+ (WebKit::PDFPluginTextAnnotation::createAnnotationElement): Register our keydown event listener.
+ (WebKit::PDFPluginTextAnnotation::PDFPluginTextAnnotationEventListener::handleEvent): Ask PDFPlugin to focus
+ the next/previous annotation when the tab key is pressed (Shift-Tab goes backwards).
+
+2013-02-25 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12976385> Remove rule to silence attempts to create the ~/Library/Caches/com.apple.WebKit2.WebProcessService directory
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/com.apple.WebProcess.sb.in: Remove the obsolete rule. We no longer
+ have a "WebProcessService".
+
+2013-02-25 Andras Becsi <andras.becsi@digia.com>
+
+ [Qt][WK2] Remove unneeded method didResumeContent from PageViewportController clients
+ https://bugs.webkit.org/show_bug.cgi?id=110751
+
+ Reviewed by Jocelyn Turcotte.
+
+ This is a clean-up in the PageViewportController clients that removes leftover
+ code from previous design that is partially unused and unnecessary, to simplify
+ the interaction between PageViewportController and clients.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::resumeContent):
+ * UIProcess/PageViewportControllerClient.h:
+ (PageViewportControllerClient):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ (PageViewportControllerClientEfl):
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::animateContentRectVisible):
+ (WebKit::PageViewportControllerClientQt::flickMoveEnded):
+ (WebKit::PageViewportControllerClientQt::resumeAndUpdateContent):
+ (WebKit::PageViewportControllerClientQt::pinchGestureCancelled):
+ * UIProcess/qt/PageViewportControllerClientQt.h:
+ (PageViewportControllerClientQt):
+
+2013-02-25 Andreas Kling <akling@apple.com>
+
+ Reduce amount of code that includes StylePropertySet.h
+ <http://webkit.org/b/101149>
+
+ Reviewed by Antti Koivisto.
+
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+
+2013-02-24 Andreas Kling <akling@apple.com>
+
+ Reduce include graph of JSDOMBinding.h
+ <http://webkit.org/b/110709>
+
+ Reviewed by Antti Koivisto.
+
+ * Shared/WebRenderObject.cpp:
+ (WebKit::WebRenderObject::WebRenderObject):
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+
+2013-02-22 Sam Weinig <sam@webkit.org>
+
+ Add temporary work around for 32-bit plugins not working in production builds as XPCServices
+ https://bugs.webkit.org/show_bug.cgi?id=110680
+ <rdar://problem/13236883>
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::shouldUseXPC):
+ Temporarily don't use XPC for plug-ins for Safari while we figure out why the
+ 32-bit XPCService is being built universal.
+
+2013-02-22 Tim Horton <timothy_horton@apple.com>
+
+ [WK2] The root and page overlay layers should be the size of the view, not the content
+ https://bugs.webkit.org/show_bug.cgi?id=110660
+ <rdar://problem/13096456>
+
+ Reviewed by Simon Fraser.
+
+ Use the view size for the size of the root and page overlay layers.
+ For one, we never update these layers' sizes when the content size changes, causing size mismatches.
+ In addition, there's no reason an overlay shouldn't be able to draw outside of the bounds of the content.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::updateGeometry):
+ (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
+
+2013-02-22 Anders Carlsson <andersca@apple.com>
+
+ pluginLoadStrategy should take a WKDictionaryRef for extensibility
+ https://bugs.webkit.org/show_bug.cgi?id=110656
+ <rdar://problem/13265303>
+
+ Reviewed by Jessie Berlin.
+
+ Change pluginLoadStrategy to take a WKDictionaryRef instead of a number of parameters;
+ this lets us add more plug-in information if needed. Also add the page URL and rename documentURL to frameURL.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageGetPluginInformationBundleIdentifierKey):
+ (WKPageGetPluginInformationBundleVersionKey):
+ (WKPageGetPluginInformationDisplayNameKey):
+ (WKPageGetPluginInformationFrameURLKey):
+ (WKPageGetPluginInformationMIMETypeKey):
+ (WKPageGetPluginInformationPageURLKey):
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebLoaderClient.cpp:
+ (WebKit):
+ (WebKit::WebLoaderClient::pluginLoadPolicy):
+ * UIProcess/WebLoaderClient.h:
+ (WebLoaderClient):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+ (WebKit::WebPageProxy::pluginInformationBundleIdentifierKey):
+ (WebKit):
+ (WebKit::WebPageProxy::pluginInformationBundleVersionKey):
+ (WebKit::WebPageProxy::pluginInformationDisplayNameKey):
+ (WebKit::WebPageProxy::pluginInformationFrameURLKey):
+ (WebKit::WebPageProxy::pluginInformationMIMETypeKey):
+ (WebKit::WebPageProxy::pluginInformationPageURLKey):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::createPlugin):
+ (WebKit::WebPage::canPluginHandleResponse):
+
+2013-02-22 Anders Carlsson <andersca@apple.com>
+
+ Move pluginLoadPolicy to the page loader client
+ https://bugs.webkit.org/show_bug.cgi?id=110635
+ <rdar://problem/13265303>
+
+ Reviewed by Sam Weinig.
+
+ Move the pluginLoadPolicy callback to the page loader client where it belongs.
+
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebLoaderClient.cpp:
+ (WebKit::toWKPluginLoadPolicy):
+ (WebKit):
+ (WebKit::toPluginModuleLoadPolicy):
+ (WebKit::WebLoaderClient::pluginLoadPolicy):
+ * UIProcess/WebLoaderClient.h:
+ (WebLoaderClient):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+ * UIProcess/WebUIClient.cpp:
+ (WebKit):
+ * UIProcess/WebUIClient.h:
+ (WebUIClient):
+ * UIProcess/mac/WebInspectorProxyMac.mm:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+
+2013-02-21 Jer Noble <jer.noble@apple.com>
+
+ Two video contollers appear after exiting the fullscreen video when using menubar to exit.
+ https://bugs.webkit.org/show_bug.cgi?id=110506
+
+ Reviewed by Eric Carlson.
+
+ When we are notified that the fullscreen window is about to exit fullscreen mode unrequested,
+ call requestExitFullScreen(), as that will result in Document::webkitExitFullScreen() correctly
+ tearing down the fullscreen state.
+
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+ (-[WKFullScreenWindowController _startExitFullScreenAnimationWithDuration:]):
+
+2013-02-22 Balazs Kelemen <kbalazs@webkit.org>
+
+ Yet another unreviewed buildfix after r143714.
+
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::paintToCairoSurface):
+
+2013-02-22 Balazs Kelemen <kbalazs@webkit.org>
+
+ Unreviewed preventive buildfix after my last commit.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ * UIProcess/efl/WebView.cpp:
+
+2013-02-22 Balazs Kelemen <kbalazs@webkit.org>
+
+ [CoordGfx] Minor cleanup in CoordinatedGraphicsScene::paintToGraphicsContext
+ https://bugs.webkit.org/show_bug.cgi?id=109824
+
+ Reviewed by Andreas Kling.
+
+ Avoid ugly ifdefs by using PlatformGraphicsContext.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::displayTimerFired):
+
+2013-02-22 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Remove declaration of non-existent functions from EwkView
+ https://bugs.webkit.org/show_bug.cgi?id=110572
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Removed declarations of non-existent EwkView::paintToCurrentGLContext() and
+ EwkView::paintToCairoSurface(cairo_surface_t*) that were accidentally
+ left at r143699.
+
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+
+2013-02-22 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Clean up PageViewportControllerClientEfl class
+ https://bugs.webkit.org/show_bug.cgi?id=110438
+
+ Reviewed by Andreas Kling.
+
+ Cleaned up PageViewportControllerClientEfl class from unused methods
+ and class members, eliminated access to WK2 internals from this class.
+
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ (WebKit::PageViewportControllerClientEfl::~PageViewportControllerClientEfl):
+ (PageViewportControllerClientEfl):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::WebView):
+ (WebKit::WebView::updateViewportSize):
+
+2013-02-22 Michał Pakuła vel Rutka <m.pakula@samsung.com>
+
+ [WK2][EFL][GTK][Qt] Add context menu item tags for C API
+ https://bugs.webkit.org/show_bug.cgi?id=109815
+
+ Reviewed by Anders Carlsson.
+
+ This patch adds context menu item tags used by EFL, GTK and Qt ports, defined in
+ WebCore to WK2 C API.
+
+ * Shared/API/c/WKContextMenuItemTypes.h:
+ * Shared/API/c/WKSharedAPICast.h:
+ (WebKit::toAPI):
+ (WebKit::toImpl):
+
+2013-02-22 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Move AC code from EwkView to WebView
+ https://bugs.webkit.org/show_bug.cgi?id=110216
+
+ Reviewed by Anders Carlsson.
+
+ Accelerated compositing code is moved from EwkView to WebView.
+ Added new WKView API to be used from EwkView instead of direct accessing
+ to coordinated graphics scene.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewSetUserViewportTranslation):
+ (WKViewUserViewportToContents):
+ (WKViewPaintToCurrentGLContext):
+ (WKViewPaintToCairoSurface):
+ * UIProcess/API/C/efl/WKView.h:
+
+ Added WKView API functions.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ (EwkView::displayTimerFired):
+ (EwkView::feedTouchEvent):
+ (EwkView::createGLSurface):
+ (EwkView::handleEvasObjectCalculate):
+ (EwkView::handleEwkViewMouseWheel):
+ (EwkView::handleEwkViewMouseDown):
+ (EwkView::handleEwkViewMouseUp):
+ (EwkView::handleEwkViewMouseMove):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+
+ Using new WKView API.
+
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::initialize):
+ (WebKit):
+ (WebKit::WebView::paintToCurrentGLContext):
+ (WebKit::WebView::paintToCairoSurface):
+ (WebKit::WebView::userViewportToContents):
+ (WebKit::WebView::transformFromScene):
+ (WebKit::WebView::transformToScene):
+ (WebKit::WebView::coordinatedGraphicsScene):
+ (WebKit::WebView::enterAcceleratedCompositingMode):
+ (WebKit::WebView::exitAcceleratedCompositingMode):
+ * UIProcess/efl/WebView.h:
+ (WebCore):
+ (WebKit::WebView::setUserViewportTranslation):
+ (WebView):
+
+ Added WebView methods to support new WKView API.
+
+2013-02-21 Dima Gorbik <dgorbik@apple.com>
+
+ QuickTime plugin doesn't load when accelerated compositing is disabled
+ https://bugs.webkit.org/show_bug.cgi?id=110534
+
+ Reviewed by Anders Carlsson.
+
+ We shouldn't disable accelerated compositing for plugins, because
+ plugins such as QuickTime rely on this and will try to set other drawing
+ models that we don't support.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::isAcceleratedCompositingEnabled):
+
+2013-02-21 Dean Jackson <dino@apple.com>
+
+ Plug-in snapshotting code always accepts first snapshot
+ https://bugs.webkit.org/show_bug.cgi?id=110495
+
+ Reviewed by Tim Horton.
+
+ When we detect a plugin that can be snapshotted we start capturing
+ images until we find one that we believe isn't blank, or we timeout.
+ I introduced a regression recently where we swap renderers as
+ soon as the snapshot arrives, whether or not is is blank.
+
+ The fix was to have the embedder (currently only WK2) be the one
+ who tells the HTMLPlugInElement to start displaying snapshots.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::pluginSnapshotTimerFired): When we find a
+ snapshot that we like, tell the HTMLPlugInElement to move to
+ the snapshot view.
+
+2013-02-21 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ Unreviewed. Fix make distcheck.
+
+ * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
+ scanner.
+ * GNUmakefile.list.am: Add missing header to compilation and
+ remove one that no longer exists.
+
+2013-02-21 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Move PageViewportController and PageViewportControllerClientEfl out from WebView
+ https://bugs.webkit.org/show_bug.cgi?id=110345
+
+ Reviewed by Andreas Kling.
+
+ WebView does not need to know about both PageViewportController and
+ PageViewportControllerClientEfl. Considering the fact that PageViewportController
+ will stop being WK2 internal and will be based on WK2 C API, it
+ should be owned by EwkView rather than WebView.
+
+ This patch is also a preparation for WKViewClient API extension to cover all
+ the places where PageViewportController and PageViewportControllerClientEfl
+ are accessed directly from WebView at the moment.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ * UIProcess/API/efl/EwkView.h:
+ (WebKit):
+ (EwkView::pageViewportControllerClient):
+ (EwkView::pageViewportController):
+ (EwkView):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::didCommitLoad):
+ (WebKit::WebView::updateViewportSize):
+ (WebKit::WebView::didChangeContentsSize):
+ (WebKit::WebView::didChangeViewportProperties):
+ (WebKit::WebView::pageDidRequestScroll):
+ (WebKit::WebView::didRenderFrame):
+ (WebKit::WebView::pageTransitionViewportReady):
+ * UIProcess/efl/WebView.h:
+ (WebView):
+
+2013-02-20 Tim Horton <timothy_horton@apple.com>
+
+ Provide WKView SPI to defer telling the WebPageProxy and WebProcess about changes in the hosting window
+ https://bugs.webkit.org/show_bug.cgi?id=110415
+ <rdar://problem/13095405>
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/API/mac/WKView.mm: Add _viewInWindowChangesDeferredCount and _viewInWindowChangeWasDeferred to WKViewData.
+ (-[WKView viewDidMoveToWindow]): If we're deferring window changes, don't include the ViewIsInWindow flag
+ when sending viewStateDidChange. Instead, save the fact that we want to do that later aside.
+ (-[WKView beginDeferringViewInWindowChanges]):
+ (-[WKView endDeferringViewInWindowChanges]): Straightforward begin/end pair. When we exit the last pair and
+ have a pending window change, let the WebPageProxy know. WebPageProxy will do the check to ensure that
+ the in-window state has actually changed.
+ (-[WKView isDeferringViewInWindowChanges]):
+ * UIProcess/API/mac/WKViewPrivate.h:
+
+2013-02-20 Kiran Muppala <cmuppala@apple.com>
+
+ Disable window occlusion notifications for App Store on Mac.
+ https://bugs.webkit.org/show_bug.cgi?id=110417
+
+ Reviewed by Simon Fraser.
+
+ Temporary fix to workaround issues with window occlusion notifications
+ in App Store.
+
+ * UIProcess/API/mac/WKView.mm:
+ (+[WKView _registerWindowOcclusionNotificationHandlers]): Return early
+ if the main bundle identifier matches that of App Store.
+
+2013-02-20 Mark Rowe <mrowe@apple.com>
+
+ <https://webkit.org/b/110410> Specify the plug-in process / service entitlements via the Xcode configuration.
+
+ This is the modern mechanism for applying entitlements to production builds,
+ and it simplifies the maintenance of entitlements going forward. It also allows
+ us to fix the new XPC PluginServices to have the same entitlements as PluginProcess.
+
+ Reviewed by Alexey Proskuryakov.
+
+ * Configurations/Base.xcconfig: Ad-hoc sign all WebKit2 components.
+ * Configurations/PluginProcess.xcconfig: Specify the entitlements to use.
+ * Configurations/PluginService.32.xcconfig: Ditto.
+ * Configurations/PluginService.64.xcconfig: Ditto.
+ * Configurations/PluginService.Development.xcconfig: Ditto.
+ * Configurations/PluginService.entitlements: Renamed from Source/WebKit2/PluginProcess/mac/PluginProcess.entitlements.
+ Move the entitlements in to the Configurations directory to make them easier to find.
+ * PluginProcess/mac/add-entitlements.sh: Removed. In my testing the dependency issue mentioned
+ in the script is not an issue with current versions of Xcode. If we see it again we can come
+ up with a workaround that doesn't involve performing the signing via a script phase.
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-20 Mark Rowe <mrowe@apple.com>
+
+ <https://webkit.org/b/110409> Remove duplication between 32- and 64-bit PluginService plists.
+
+ Reviewed by Dan Bernstein.
+
+ The only difference between the plists was the CFBundleIdentifier. Since the values are the
+ same as the product name, we can just use the value of the PRODUCT_NAME configuration setting.
+
+ * Configurations/PluginService.32.xcconfig:
+ * Configurations/PluginService.64.xcconfig:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist: Renamed from Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist: Removed.
+
+2013-02-20 Simon Fraser <simon.fraser@apple.com>
+
+ Zoomed, slow-scrolling pages keep recreating tiles when scrolled
+ https://bugs.webkit.org/show_bug.cgi?id=110379
+
+ Reviewed by Tim Horton.
+
+ Make the visible rect and exposed rects passed through
+ the drawing area to the tile cache FloatRects instead of IntRects.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView setFrameSize:]):
+ (-[WKView _updateWindowAndViewFrames]):
+ (-[WKView enableFrameSizeUpdates]):
+ (-[WKView setMinimumWidthForAutoLayout:]):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/mac/WebPageProxyMac.mm:
+ (WebKit::WebPageProxy::viewExposedRectChanged):
+ * WebProcess/WebPage/DrawingArea.h:
+ (WebKit::DrawingArea::setExposedRect):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::viewExposedRectChanged):
+ * WebProcess/WebPage/WebPage.h:
+ * WebProcess/WebPage/WebPage.messages.in:
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setExposedRect):
+
+2013-02-20 Dirk Schulze <krit@webkit.org>
+
+ Enable CANVAS_PATH flag
+ https://bugs.webkit.org/show_bug.cgi?id=108508
+
+ Reviewed by Simon Fraser.
+
+ Enable CANVAS_PATH flag on trunk.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-20 Laszlo Gombos <l.gombos@samsung.com>
+
+ Remove unnecessary includes for Platform.h from headers
+ https://bugs.webkit.org/show_bug.cgi?id=110300
+
+ Reviewed by Alexey Proskuryakov.
+
+ wtf/Platform.h only need to be included in a few places directly
+ as it is included in config.h. Remove the unnecessay duplicate as
+ it can be confusing.
+
+ * Shared/PrintInfo.h:
+
+2013-02-20 Huang Dongsung <luxtella@company100.net>
+
+ [WK2] Remove m_viewportSize in WebPage.
+ https://bugs.webkit.org/show_bug.cgi?id=110311
+
+ Reviewed by Anders Carlsson.
+
+ EFL and Qt use m_viewSize as a contents size while Apple use it as a viewport
+ size, so EFL and Qt introduced m_viewportSize to make WebPage know a viewport
+ size.
+
+ EFL and Qt use m_viewSize as a contents size because the size of non compositing
+ layer is contents size, and EFL and Qt mark whole non compositing layer as dirty
+ using m_viewSize. Bug 110299 (http://webkit.org/b/110299) changes that it is not
+ necessary to know m_viewSize when marking whole non compositing layer as dirty.
+ So we can make EFL and Qt use m_viewSize as a viewport size also.
+
+ This patch removes m_viewportSize and related methods to increase readability.
+
+ * UIProcess/API/qt/raw/qrawwebview.cpp:
+ (QRawWebView::setSize):
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::didChangeViewportSize):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::pageRect):
+ (WebKit::WebChromeClient::contentsSizeChanged):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::updateBackingStoreState):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setSize):
+ (WebKit::WebPage::sendViewportAttributesChanged):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+
+2013-02-20 Huang Dongsung <luxtella@company100.net>
+
+ [WK2] add setNeedsDisplay in DrawingArea to mark whole layer as dirty.
+ https://bugs.webkit.org/show_bug.cgi?id=110299
+
+ Reviewed by Anders Carlsson.
+
+ Currently, we call setNeedsDisplay with the size of WebPage to mark whole
+ backing store as dirty. However, the size of non compositing layer can be
+ inconsistent with the size of WebPage. For example, in Coordinated Graphics, the
+ size of non compositing layer is contents size.
+
+ So, WebPage should not assume the size of non compositing layer, and should just
+ call setNeedsDisplay when marking whole layer as dirty.
+
+ In addition, this patch renames from setNeedsDisplay() with a rect argument to
+ setNeedsDisplayInRect(), which matches to the terms of GraphicsLayer.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::invalidateContentsAndRootView):
+ (WebKit::WebChromeClient::invalidateContentsForSlowScroll):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::restoreViewState):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::setNonCompositedContentsNeedDisplay):
+ (WebKit):
+ (WebKit::CoordinatedLayerTreeHost::setNonCompositedContentsNeedDisplayInRect):
+ (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (CoordinatedLayerTreeHost):
+ * WebProcess/WebPage/DrawingArea.h:
+ (DrawingArea):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::setNeedsDisplay):
+ (WebKit):
+ (WebKit::DrawingAreaImpl::setNeedsDisplayInRect):
+ (WebKit::DrawingAreaImpl::scroll):
+ (WebKit::DrawingAreaImpl::forceRepaint):
+ (WebKit::DrawingAreaImpl::didUninstallPageOverlay):
+ (WebKit::DrawingAreaImpl::setPageOverlayNeedsDisplay):
+ (WebKit::DrawingAreaImpl::resumePainting):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (LayerTreeHost):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setSize):
+ (WebKit::WebPage::setDrawsBackground):
+ (WebKit::WebPage::setDrawsTransparentBackground):
+ (WebKit::WebPage::resumeActiveDOMObjectsAndAnimations):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
+ (WebKit::LayerTreeHostGtk::setNonCompositedContentsNeedDisplay):
+ (WebKit):
+ (WebKit::LayerTreeHostGtk::setNonCompositedContentsNeedDisplayInRect):
+ (WebKit::LayerTreeHostGtk::scrollNonCompositedContents):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
+ (LayerTreeHostGtk):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.h:
+ (LayerTreeHostMac):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
+ (WebKit::LayerTreeHostMac::setNonCompositedContentsNeedDisplay):
+ (WebKit):
+ (WebKit::LayerTreeHostMac::setNonCompositedContentsNeedDisplayInRect):
+ (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
+ * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
+ (RemoteLayerTreeDrawingArea):
+ * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
+ (WebKit::RemoteLayerTreeDrawingArea::setNeedsDisplay):
+ (WebKit):
+ (WebKit::RemoteLayerTreeDrawingArea::setNeedsDisplayInRect):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setNeedsDisplay):
+ (WebKit):
+ (WebKit::TiledCoreAnimationDrawingArea::setNeedsDisplayInRect):
+
+2013-02-20 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Port EwkPopupMenuItem to the C API
+ https://bugs.webkit.org/show_bug.cgi?id=108798
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Make use of the new WKPopupItem C API inside EwkPopupMenuItem to remove
+ dependency on internal WebPopupItem type. Eina shared string members
+ are now lazily initialized to make the object cheaper to construct.
+
+ * UIProcess/API/efl/ewk_popup_menu.cpp:
+ (EwkPopupMenu::EwkPopupMenu):
+ * UIProcess/API/efl/ewk_popup_menu_item.cpp:
+ (EwkPopupMenuItem::EwkPopupMenuItem):
+ (EwkPopupMenuItem::type):
+ (EwkPopupMenuItem::textDirection):
+ (EwkPopupMenuItem::text):
+ (EwkPopupMenuItem::tooltipText):
+ (EwkPopupMenuItem::accessibilityText):
+ (EwkPopupMenuItem::hasTextDirectionOverride):
+ (EwkPopupMenuItem::isEnabled):
+ (EwkPopupMenuItem::isLabel):
+ (EwkPopupMenuItem::isSelected):
+ * UIProcess/API/efl/ewk_popup_menu_item_private.h:
+ (EwkPopupMenuItem::create):
+ (EwkPopupMenuItem):
+
+2013-02-19 Tim Horton <timothy_horton@apple.com>
+
+ Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
+ https://bugs.webkit.org/show_bug.cgi?id=110261
+ <rdar://problem/13196122>
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setIsInWindow):
+ Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
+
+2013-02-19 Conrad Shultz <conrad_shultz@apple.com>
+
+ Allow UI clients to handle vertical wheel events.
+ https://bugs.webkit.org/show_bug.cgi?id=110006
+
+ Reviewed by Tim Horton.
+
+ Add API to allow clients to selectively control rubber-banding at vertical page extrema.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageRubberBandsAtBottom):
+ Proxy for the corresponding function in WebCore::Page.
+ (WKPageSetRubberBandsAtBottom):
+ Ditto.
+ (WKPageRubberBandsAtTop):
+ Ditto.
+ (WKPageSetRubberBandsAtTop):
+ Ditto.
+
+ * UIProcess/API/C/WKPage.h:
+ Declare new API.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::WebPageProxy):
+ Initialize new member variables.
+ (WebKit::WebPageProxy::setRubberBandsAtBottom):
+ New function; dispatches a matching message to the WebKit::WebPage.
+ (WebKit::WebPageProxy::setRubberBandsAtTop):
+ Ditto.
+
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ Declare new API.
+ (WebKit::WebPageProxy::rubberBandsAtBottom):
+ New accessor function.
+ (WebKit::WebPageProxy::rubberBandsAtTop):
+ Ditto.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setRubberBandsAtBottom):
+ New function; call the matching function on the associated WebCore::Page.
+ (WebKit::WebPage::setRubberBandsAtTop):
+ Ditto.
+
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ Declare new rubber-banding API.
+
+ * WebProcess/WebPage/WebPage.messages.in:
+ Declare new rubber-banding API.
+
+2013-02-19 Anders Carlsson <andersca@apple.com>
+
+ StorageAreaProxy should know its quota
+ https://bugs.webkit.org/show_bug.cgi?id=110268
+
+ Reviewed by Sam Weinig.
+
+ Begin stubbing out StorageAreaProxy::setItem and add some quota member variables.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::StorageAreaProxy):
+ (WebKit::StorageAreaProxy::setItem):
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (StorageAreaProxy):
+ * WebProcess/Storage/StorageNamespaceProxy.cpp:
+ (WebKit::StorageNamespaceProxy::createSessionStorageNamespace):
+ (WebKit::StorageNamespaceProxy::StorageNamespaceProxy):
+ * WebProcess/Storage/StorageNamespaceProxy.h:
+ (WebKit::StorageNamespaceProxy::quota):
+ (StorageNamespaceProxy):
+
+2013-02-19 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13239119> NetworkProcess generates timeout spindump logs
+
+ Reviewed by Mark Rowe.
+
+ Don't keep a window server connection in processes that don't need it, and don't
+ run an NSApplication run loop.
+
+ * Shared/ChildProcess.h:
+ * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::shutdownWindowServerConnection):
+ Added a function to shut down connections, and to make sure we don't get one in the future.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::initializeProcessName):
+ * OfflineStorageProcess/mac/OfflineStorageProcessMac.mm:
+ (WebKit::OfflineStorageProcess::initializeProcessName):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm:
+ (WebKit::SharedWorkerProcess::platformInitializeSharedWorkerProcess): Also removed
+ some unused includes and forward declarations.
+
+2013-02-18 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Cannot load documents with blob urls
+ https://bugs.webkit.org/show_bug.cgi?id=110160
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::canHandleRequest):
+ Added knowledge about blobs.
+
+2013-02-19 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Move the API to get TLS certificate from WebKitURIResponse to WebKitWebView
+ https://bugs.webkit.org/show_bug.cgi?id=110190
+
+ Reviewed by Anders Carlsson.
+
+ Add webkit_web_view_get_tls_info() and remove
+ webkit_uri_response_get_https_status(). This way I can be sure
+ that when called after load has been committed the certificate
+ will be available. It also makes the API easier to use.
+
+ * UIProcess/API/gtk/WebKitURIResponse.cpp:
+ * UIProcess/API/gtk/WebKitURIResponse.h:
+ * UIProcess/API/gtk/WebKitURIResponsePrivate.h:
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewLoadChanged):
+ (mainResourceResponseChangedCallback):
+ (webkit_web_view_get_tls_info):
+ * UIProcess/API/gtk/WebKitWebView.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
+ * UIProcess/API/gtk/tests/TestSSL.cpp:
+
+2013-02-19 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Eliminate access to WK2 C++ internals from ewk_view functions
+ https://bugs.webkit.org/show_bug.cgi?id=109794
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewSetShowsAsSource):
+ (WKViewGetShowsAsSource):
+
+ Added new WKView API to wrap WebPageProxy::setMainFrameInViewSourceMode()
+ and WebPageProxy::mainFrameInViewSourceMode() calls.
+
+ (WKViewExitFullScreen):
+
+ Added new WKView API to wrap WebFullScreenManagerProxy::exitFullScreen()
+ calls.
+
+ * UIProcess/API/C/efl/WKView.h:
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::feedTouchEvent):
+
+ Added feedTouchEvent() method so that: at first ewk_view_feed_touch_event()
+ is not invoked from EwkView class, secondly ewk_view_feed_touch_event() does
+ not access WebPage instance directly.
+
+ (EwkView::feedTouchEvents):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_feed_touch_event):
+ (ewk_view_pagination_mode_set):
+ (ewk_view_pagination_mode_get):
+ (ewk_view_fullscreen_exit):
+ (ewkViewPageContentsCallback):
+ (ewk_view_page_contents_get):
+ (ewk_view_source_mode_set):
+ (ewk_view_source_mode_get):
+
+ Those are now using exported C API.
+
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::setShowsAsSource):
+ (WebKit):
+ (WebKit::WebView::showsAsSource):
+ (WebKit::WebView::exitFullScreen):
+ * UIProcess/efl/WebView.h:
+ (WebView):
+
+ Added WebView methods to support added WKView API.
+
+2013-02-19 Andras Becsi <andras.becsi@digia.com>
+
+ [Qt][WK2] ASSERT(node) hit in WebPage::findZoomableAreaForPoint if no zoomable area found
+ https://bugs.webkit.org/show_bug.cgi?id=110220
+
+ Reviewed by Allan Sandfeld Jensen.
+
+ If EventHandler::bestZoomableAreaForTouchPoint was unsuccessfull, eg.
+ no node was found for a given point, we hit ASSERT(node).
+ We should only assert for a valid node if a zoomable area was found.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::findZoomableAreaForPoint):
+
+2013-02-19 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ Regression(r143273): Caused a lot of tests to time out
+ https://bugs.webkit.org/show_bug.cgi?id=110212
+
+ Reviewed by Anders Carlsson.
+
+ StorageManager::destroySessionStorageNamespace() and StorageManager::cloneSessionStorageNamespace()
+ should call their respective "*Internal" equivalent instead of calling themselves. This lead to
+ a lot of time outs on our build bots.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::destroySessionStorageNamespace):
+ (WebKit::StorageManager::cloneSessionStorageNamespace):
+
+2013-02-18 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Remove webkit_web_view_get_subresources from WebKit2 GTK+ API
+ https://bugs.webkit.org/show_bug.cgi?id=110125
+
+ Reviewed by Anders Carlsson.
+
+ This API is currently implemented caching all resources in the
+ WebView which causes some problems in documents loading resources
+ indefinitely. This API was used in WebKit1 mainly to implement
+ webkit_web_view_save(), but we already have such API in
+ WebKit2.
+
+ * UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
+ (didReceiveWebViewMessageFromInjectedBundle):
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (_WebKitWebViewPrivate):
+ (webkitWebViewLoadChanged):
+ * UIProcess/API/gtk/WebKitWebView.h:
+ * UIProcess/API/gtk/WebKitWebViewPrivate.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
+ * UIProcess/API/gtk/tests/TestResources.cpp:
+ (testWebViewResources):
+ (testWebResourceGetData):
+
+2013-02-18 Christophe Dumez <dchris@gmail.com>
+
+ [WK2][EFL] Stop using internal C++ API in ewk_error
+ https://bugs.webkit.org/show_bug.cgi?id=108796
+
+ Reviewed by Benjamin Poulain.
+
+ Stop using internal C++ API in ewk_error and use C API instead of avoid
+ violating API layering.
+
+ * UIProcess/API/efl/ewk_error.cpp:
+ (EwkError::domain):
+ (EwkError::isCancellation):
+ (ewk_error_type_get):
+ * UIProcess/API/efl/ewk_error_private.h:
+ (EwkError):
+
+2013-02-18 Simon Fraser <simon.fraser@apple.com>
+
+ Clean up the boolean argument to visibleContentRect
+ https://bugs.webkit.org/show_bug.cgi?id=110167
+
+ Reviewed by Simon Fraser.
+
+ Replace the boolean argument to visibleContentRect() with
+ an enum.
+
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::visibleContentBounds):
+ (WebKit::WebFrame::visibleContentBoundsExcludingScrollbars):
+
+2013-02-18 Anders Carlsson <andersca@apple.com>
+
+ Add a DefaultHash for RefPtr<SecurityOrigin>
+ https://bugs.webkit.org/show_bug.cgi?id=110170
+
+ Reviewed by Andreas Kling.
+
+ Remove all explicit uses of SecurityOriginHash.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (StorageManager::SessionStorageNamespace):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::originsWithApplicationCache):
+ * WebProcess/Notifications/NotificationPermissionRequestManager.h:
+ Include SecurityOriginHash.h. This fixes a bug where m_originToIDMap used pointer-equality
+ for looking up security origins.
+
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ (WebKit::WebResourceCacheManager::clearCacheForOrigin):
+ This can just take a const reference.
+
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+
+2013-02-18 Anders Carlsson <andersca@apple.com>
+
+ Begin stubbing out session storage classes
+ https://bugs.webkit.org/show_bug.cgi?id=110168
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (StorageManager::StorageArea):
+ (WebKit):
+ (WebKit::StorageManager::StorageArea::create):
+ (WebKit::StorageManager::StorageArea::StorageArea):
+ (WebKit::StorageManager::StorageArea::~StorageArea):
+ (StorageManager::SessionStorageNamespace):
+ (WebKit::StorageManager::SessionStorageNamespace::isEmpty):
+ (WebKit::StorageManager::SessionStorageNamespace::create):
+ (WebKit::StorageManager::SessionStorageNamespace::SessionStorageNamespace):
+ (WebKit::StorageManager::SessionStorageNamespace::~SessionStorageNamespace):
+ (WebKit::StorageManager::SessionStorageNamespace::cloneTo):
+ (WebKit::StorageManager::createSessionStorageNamespaceInternal):
+ (WebKit::StorageManager::destroySessionStorageNamespaceInternal):
+ (WebKit::StorageManager::cloneSessionStorageNamespaceInternal):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+
+2013-02-18 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Add C API for popup menu and popup item
+ https://bugs.webkit.org/show_bug.cgi?id=109083
+
+ Reviewed by Anders Carlsson.
+
+ WK2 EFL delegates display of the popup menu to the browser which causes
+ us to have a strong interdependency between internal C++ classes
+ (WebPopupMenuProxyEfl, WebPopupItem) and our EFL API implementation
+ (EwkView, EwkPopupMenu, EwkPopupMenuItem).
+
+ Since we want to remove this interdependency, this patch introduces a
+ for WebPopupMenuProxyEfl (WKPopupMenuListener) and for WebPopupItem
+ (WKPopupItem). It also introduces a WKPage client with callbacks for
+ showPopupMenu and hidePopupMenu.
+
+ Note that the popup menu functionality is covered by ewk_popup_menu API
+ tests and no functionality is lost.
+
+ * PlatformEfl.cmake: Add new files to EFL CMake config.
+ * Shared/API/c/efl/WKBaseEfl.h: Add typedefs for WKPopupItemRef and
+ WKPopupMenuListenerRef.
+ * Shared/APIObject.h: Add new TypePopupMenuItem APIObject type for EFL
+ platform.
+ * UIProcess/API/C/efl/WKAPICastEfl.h: Add mapping for WKPopupItemRef
+ and WKPopupMenuListenerRef API types.
+ (WebKit):
+ (WebKit::toAPI):
+ * UIProcess/API/C/efl/WKPageEfl.cpp: Added.
+ (WKPageSetUIPopupMenuClient): Add new C API to set the UI Popup Menu
+ client on the page.
+ * UIProcess/API/C/efl/WKPageEfl.h: Added.
+ * UIProcess/API/C/efl/WKPopupItem.cpp: Added. Add C API for WebPopupItem.
+ (WKPopupItemGetType):
+ (WKPopupItemGetTextDirection):
+ (WKPopupItemHasTextDirectionOverride):
+ (WKPopupItemCopyText):
+ (WKPopupItemCopyToolTipText):
+ (WKPopupItemCopyAccessibilityText):
+ (WKPopupItemIsEnabled):
+ (WKPopupItemIsLabel):
+ (WKPopupItemIsSelected):
+ * UIProcess/API/C/efl/WKPopupItem.h: Added.
+ * UIProcess/API/C/efl/WKPopupMenuListener.cpp: Added. Add C API for
+ WebPopupMenuListenerEfl (formerly WebPopupMenuProxyEfl) so that the
+ client can report which popup menu item was selected.
+ (WKPopupMenuListenerSetSelection):
+ * UIProcess/API/C/efl/WKPopupMenuListener.h: Added.
+ * UIProcess/API/efl/EwkView.cpp: Remove dependency on internal C++ types
+ (WebPopupMenuProxyEfl and WebPopupItem) and use C API types instead.
+ (EwkView::requestPopupMenu):
+ * UIProcess/API/efl/EwkView.h:
+ (WebKit):
+ (EwkView):
+ * UIProcess/API/efl/ewk_popup_menu.cpp: Use C API for Popup menu.
+ (EwkPopupMenu::EwkPopupMenu):
+ (EwkPopupMenu::setSelectedIndex):
+ * UIProcess/API/efl/ewk_popup_menu_private.h:
+ (EwkPopupMenu::create):
+ (EwkPopupMenu):
+ * UIProcess/WebPageProxy.cpp: Use WKPageUIPopupMenuClient to show / hide
+ the popup menu on EFL port instead of asking the WebPopupMenuProxy.
+ (WebKit::WebPageProxy::close):
+ (WebKit::WebPageProxy::showPopupMenu):
+ (WebKit::WebPageProxy::hidePopupMenu):
+ * UIProcess/WebPageProxy.h: Add new WKPageUIPopupMenuClient member and
+ corresponding initialization method.
+ (WebPageProxy):
+ * UIProcess/WebPopupMenuProxy.h: Disable showPopupMenu / hidePopupMenu
+ virtual methods on EFL port since we go via WKPageUIPopupMenuClient
+ for this now.
+ (WebPopupMenuProxy):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::PageUIClientEfl): Handle WKPageUIPopupMenuClient
+ callbacks and call corresponding EwkView methods. Previously, the EwkView
+ methods were called by the internal WebPageProxyEfl class which is no
+ longer needed.
+ (WebKit::PageUIClientEfl::showPopupMenu):
+ (WebKit):
+ (WebKit::PageUIClientEfl::hidePopupMenu):
+ * UIProcess/efl/PageUIClientEfl.h:
+ (PageUIClientEfl):
+ * UIProcess/efl/WebPageProxyEfl.cpp:
+ (WebKit::WebPageProxy::initializeUIPopupMenuClient):
+ (WebKit):
+ * UIProcess/efl/WebPopupItemEfl.cpp: Added. Add APIObject wrapper for
+ WebPopupItem so that we can use it in WKPageUIPopupMenuClient.
+ (WebKit):
+ (WebKit::WebPopupItemEfl::WebPopupItemEfl):
+ (WebKit::WebPopupItemEfl::~WebPopupItemEfl):
+ * UIProcess/efl/WebPopupItemEfl.h: Added.
+ (WebKit):
+ (WebPopupItemEfl):
+ (WebKit::WebPopupItemEfl::create):
+ (WebKit::WebPopupItemEfl::data):
+ (WebKit::WebPopupItemEfl::itemType):
+ (WebKit::WebPopupItemEfl::text):
+ (WebKit::WebPopupItemEfl::textDirection):
+ (WebKit::WebPopupItemEfl::hasTextDirectionOverride):
+ (WebKit::WebPopupItemEfl::toolTipText):
+ (WebKit::WebPopupItemEfl::accessibilityText):
+ (WebKit::WebPopupItemEfl::isEnabled):
+ (WebKit::WebPopupItemEfl::isLabel):
+ (WebKit::WebPopupItemEfl::isSelected):
+ (WebKit::WebPopupItemEfl::type):
+ * UIProcess/efl/WebPopupMenuListenerEfl.cpp: Renamed from Source/WebKit2/UIProcess/efl/WebPopupMenuProxyEfl.cpp.
+ Use WebPopupMenuListenerEfl name instead of WebPopupMenuProxyEfl since
+ it more accurately represents its functionality now.
+ (WebKit):
+ (WebKit::WebPopupMenuListenerEfl::WebPopupMenuListenerEfl):
+ (WebKit::WebPopupMenuListenerEfl::valueChanged):
+ * UIProcess/efl/WebPopupMenuListenerEfl.h: Renamed from Source/WebKit2/UIProcess/efl/WebPopupMenuProxyEfl.h.
+ (WebKit):
+ (WebPopupMenuListenerEfl):
+ (WebKit::WebPopupMenuListenerEfl::create):
+ * UIProcess/efl/WebUIPopupMenuClient.cpp: Added.
+ (WebUIPopupMenuClient::showPopupMenu):
+ (WebUIPopupMenuClient::hidePopupMenu):
+ * UIProcess/efl/WebUIPopupMenuClient.h: Added.
+ (WebKit):
+ (WebUIPopupMenuClient):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::createPopupMenuProxy):
+
+2013-02-18 Anders Carlsson <andersca@apple.com>
+
+ Add StorageManager member functions for keeping track of session storage namespaces
+ https://bugs.webkit.org/show_bug.cgi?id=110163
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::createSessionStorageNamespace):
+ (WebKit):
+ (WebKit::StorageManager::destroySessionStorageNamespace):
+ (WebKit::StorageManager::cloneSessionStorageNamespace):
+ (WebKit::StorageManager::createSessionStorageNamespaceInternal):
+ (WebKit::StorageManager::destroySessionStorageNamespaceInternal):
+ (WebKit::StorageManager::cloneSessionStorageNamespaceInternal):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/WebContext.h:
+ (WebKit::WebContext::storageManager):
+ (WebContext):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::WebPageProxy):
+ (WebKit::WebPageProxy::close):
+ (WebKit::WebPageProxy::createNewPage):
+
+2013-02-18 Anders Carlsson <andersca@apple.com>
+
+ StorageManager message handlers should take the connection
+ https://bugs.webkit.org/show_bug.cgi?id=110151
+
+ Reviewed by Andreas Kling.
+
+ * Platform/CoreIPC/HandleMessage.h:
+ (CoreIPC):
+ (CoreIPC::callMemberFunction):
+ (CoreIPC::handleMessage):
+ * Scripts/webkit2/messages.py:
+ (sync_message_statement):
+ (generate_message_handler):
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::createStorageArea):
+ (WebKit::StorageManager::destroyStorageArea):
+ (WebKit::StorageManager::getValues):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/Storage/StorageManager.messages.in:
+
+2013-02-18 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_security_origin
+ https://bugs.webkit.org/show_bug.cgi?id=107923
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use C API inside ewk_security_origin instead of accessing
+ directly internal C++ classes, to avoid breaking API
+ layering.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::enterFullScreen):
+ * UIProcess/API/efl/ewk_security_origin.cpp:
+ (EwkSecurityOrigin::EwkSecurityOrigin):
+ * UIProcess/API/efl/ewk_security_origin_private.h:
+ (EwkSecurityOrigin::create):
+ (EwkSecurityOrigin):
+
+2013-01-04 Jer Noble <jer.noble@apple.com>
+
+ pinch-zooming webpage messes up full-screening of embedded video
+ https://bugs.webkit.org/show_bug.cgi?id=106115
+
+ Reviewed by Maciej Stachowiak.
+
+ Reset the page scale when entering full screen, and reset to the original scale when exiting.
+
+ * UIProcess/mac/WKFullScreenWindowController.h:
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+ (-[WKFullScreenWindowController enterFullScreen:]):
+ (-[WKFullScreenWindowController finishedExitFullScreenAnimation:]):
+
+2013-02-18 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Disable failing API tests
+ https://bugs.webkit.org/show_bug.cgi?id=110081
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Disable EWK2UnitTestBase.ewk_view_scale API test as it is failing.
+
+ * UIProcess/API/efl/tests/test_ewk2_view.cpp:
+ (TEST_F):
+
+2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
+
+ [Qt][WK2] Support WK2 API tests
+ https://bugs.webkit.org/show_bug.cgi?id=109843
+
+ Reviewed by Jocelyn Turcotte.
+
+ * UIProcess/API/qt/qquickwebview_p.h:
+ (TestWebKitAPI):
+
+2013-02-18 Andras Becsi <andras.becsi@digia.com>
+
+ [Qt][WK2] Changing WebView.contentY and WebView.contentX does not redraw content
+ https://bugs.webkit.org/show_bug.cgi?id=108337
+
+ Reviewed by Jocelyn Turcotte.
+
+ We should not ignore content position changes unless pinch zoom or bounce-back
+ animation is ongoing.
+ This way we notify the web process about visible rect changes if the contentX
+ and contentY properties are used to programmatically scroll the content from QML.
+ One important usecase for this is when implementing scrollbars.
+
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::PageViewportControllerClientQt):
+ (WebKit::PageViewportControllerClientQt::flickMoveStarted):
+ (WebKit::PageViewportControllerClientQt::flickMoveEnded):
+ (WebKit::PageViewportControllerClientQt::pageItemPositionChanged):
+ (WebKit::PageViewportControllerClientQt::scaleAnimationStateChanged):
+ (WebKit::PageViewportControllerClientQt::pinchGestureStarted):
+
+2013-02-18 Grzegorz Czajkowski <g.czajkowski@samsung.com>
+
+ [WK2][EFL] Unified text checker implementation
+ https://bugs.webkit.org/show_bug.cgi?id=107682
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/efl/TextCheckerEfl.cpp:
+ (WebKit):
+ (WebKit::nextWordOffset):
+ Helper function to determine the word offset to do not call
+ client's checkSpellingOfString for the word separators.
+
+ (WebKit::TextChecker::checkTextOfParagraph):
+ Allow to check spelling for multiple words,
+ their misspelling location and length are saved to the vector.
+
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+ Add UNIFIED_TEXT_CHECKING guard to checkTextOfParagraph.
+
+ * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
+ (WebKit):
+ (WebKit::WebEditorClient::checkTextOfParagraph):
+ As spelling implementation is exposed to UIProcess,
+ send a meesage to UIProcess to call TextChecker::checkTextOfParagraph.
+
+2013-02-18 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Refactor Ewk_Favicon code and stop relying on internal C++ API
+ https://bugs.webkit.org/show_bug.cgi?id=108598
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Refactor the Ewk_Favicon code so that it no longer relies on internal
+ C++ API and so that it is based solely on the C API. The API is changed
+ a little as well so that the Favicon URL is no longer exposed to the
+ client. Also the client is now only notified of icon changes once the
+ favicon data is actually available.
+
+ The API is covered by existing API tests and by MiniBrowser which are
+ both updated accordingly in this patch.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::informURLChange):
+ (EwkView::createFavicon):
+ (EwkView::onFaviconChanged):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+ * UIProcess/API/efl/EwkViewCallbacks.h:
+ * UIProcess/API/efl/ewk_favicon_database.cpp:
+ Client are now notified of favicon changes only when the favicon data
+ becomes available and make API to retrieve a favicon synchronous. NULL
+ is returned if the favicon data is not available.
+
+ (EwkFaviconDatabase::EwkFaviconDatabase):
+ (EwkFaviconDatabase::getIconSurfaceSynchronously):
+ (EwkFaviconDatabase::iconDataReadyForPageURL):
+ (ewk_favicon_database_icon_get):
+ * UIProcess/API/efl/ewk_favicon_database.h:
+ * UIProcess/API/efl/ewk_favicon_database_private.h:
+ (EwkFaviconDatabase):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_favicon_get):
+ * UIProcess/API/efl/ewk_view.h:
+ Rename 'icon,changed' signal to 'favicon,changed' for clarity and
+ consistency with the rest of the favicon API. Remove API to retrieve
+ the favicon URL and replace it by one to retrieve the favicon image as
+ an Evas_Object instead.
+
+ * UIProcess/API/efl/tests/test_ewk2_favicon_database.cpp:
+ Update API tests to use the new favicon API.
+
+2013-02-17 Jae Hyun Park <jae.park@company100.net>
+
+ Remove unnecessary public method DrawingAreaImpl::createGraphicsContext()
+ https://bugs.webkit.org/show_bug.cgi?id=109893
+
+ Reviewed by Anders Carlsson.
+
+ DrawingAreaImpl::createGraphicsContext() is unnecessary since
+ createGraphicsContext can be called directly using ShareableBitmap.
+
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::display):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+
+2013-02-17 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
+
+ [WK2][EFL] Remove fullscreen manager proxy as a message receiver on invalidate()
+ https://bugs.webkit.org/show_bug.cgi?id=109451
+
+ Reviewed by Anders Carlsson.
+
+ Remove fullscreen manager proxy as a message receiver on invalidate(), like
+ other ports do after r142160.
+
+ * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
+ (WebKit::WebFullScreenManagerProxy::invalidate):
+
+2013-02-17 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ Regression(r143124): Caused plugins/plugin-javascript-access.html to fail
+ https://bugs.webkit.org/show_bug.cgi?id=110053
+
+ Reviewed by Alexey Proskuryakov.
+
+ Clear m_plugins in loadPluginsIfNecessary() before populating the
+ vector again. We get duplicates otherwise.
+
+ * UIProcess/Plugins/PluginInfoStore.cpp:
+ (WebKit::PluginInfoStore::loadPluginsIfNecessary):
+
+2013-02-16 Andreas Kling <akling@apple.com>
+
+ Remove multi-threading gunk from PluginInfoStore.
+ <http://webkit.org/b/110046>
+
+ Reviewed by Alexey Proskuryakov.
+
+ PluginInfoStore is never accessed from multiple threads anymore, so remove the Mutex locking
+ and stop making isolated copies of everything.
+
+ * Shared/Plugins/PluginModuleInfo.h:
+ (PluginModuleInfo):
+ * UIProcess/Plugins/PluginInfoStore.cpp:
+ (WebKit::PluginInfoStore::loadPluginsIfNecessary):
+ (WebKit::PluginInfoStore::plugins):
+ (WebKit::PluginInfoStore::findPluginForMIMEType):
+ (WebKit::PluginInfoStore::findPluginForExtension):
+ (WebKit::PluginInfoStore::findPlugin):
+ (WebKit::PluginInfoStore::infoForPluginWithPath):
+ * UIProcess/Plugins/PluginInfoStore.h:
+ (PluginInfoStore):
+
+2013-02-16 Sam Weinig <sam@webkit.org>
+
+ Fix non-production builds.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-16 Sam Weinig <sam@webkit.org>
+
+ The Plugin.32 target does not build
+ https://bugs.webkit.org/show_bug.cgi?id=110032
+
+ Reviewed by Anders Carlsson.
+
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm: Removed.
+ This was meant to be removed already.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add Plugin.32 as dependency in All as it should be.
+
+2013-02-16 Darin Adler <darin@apple.com>
+
+ Fix WKDOMRangePrivate.h mistakes
+ https://bugs.webkit.org/show_bug.cgi?id=110028
+
+ Reviewed by Ryosuke Niwa.
+
+ * WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
+ Added include of WKDOMRangePrivate.h.
+
+ * WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h:
+ Fixed class name and include to be WKDOMRange.
+ Fixed method name, _copyBundleRangeHandleRef, to match the
+ name in the source file.
+
+2013-02-15 Eric Carlson <eric.carlson@apple.com>
+
+ [Mac] remove wkCaptionAppearance from WebKitSystemInterface
+ https://bugs.webkit.org/show_bug.cgi?id=109996
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2013-02-15 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r143088.
+ http://trac.webkit.org/changeset/143088
+ https://bugs.webkit.org/show_bug.cgi?id=110000
+
+ Breaks the build (Requested by dgorbik on #webkit).
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2013-02-15 Kiran Muppala <cmuppala@apple.com>
+
+ Disable sudden termination on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=109990
+
+ Reviewed by Mark Rowe.
+
+ Sudden Termination is causing WebContent XPC services to be killed in
+ response to memory pressure. Hence, disable it until we can identify
+ if it is being enabled in error or not.
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::platformInitialize): Add call to
+ [NSProcessInfo disableSuddenTermination].
+
+2013-02-15 Eric Carlson <eric.carlson@apple.com>
+
+ [Mac] remove wkCaptionAppearance from WebKitSystemInterface
+ https://bugs.webkit.org/show_bug.cgi?id=109996
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2013-02-15 Adenilson Cavalcanti <cavalcantii@gmail.com>
+
+ [Qt][WK2] Crash on window resize if WebProcess is closed/crashed
+ https://bugs.webkit.org/show_bug.cgi?id=109216
+
+ Reviewed by Benjamin Poulain.
+
+ Only make calls into DrawingAreaProxy pointer after checking its state.
+
+ When the WebProcess was closed or crashed, WebKit::WebPageProxy will set
+ its DrawingAreaProxy pointer to null. Resize events on UIProcess/client will
+ try to access the object to update the geometry and forward this information
+ into the WebProcess. This would create a crash scenario that is fixed by this patch.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::didRelaunchProcess):
+ (QQuickWebViewLegacyPrivate::updateViewportSize):
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ Add HashMap::isValidKey and HashSet::isValidValue
+ https://bugs.webkit.org/show_bug.cgi?id=109977
+
+ Reviewed by Sam Weinig and Darin Adler.
+
+ Just call HashMap::isValidKey directly.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::generatePageID):
+ Initialize the id to 0 and use prefix increment.
+
+ (WebKit::WebProcessProxy::webFrame):
+ (WebKit::WebProcessProxy::canCreateFrame):
+ (WebKit::WebProcessProxy::didDestroyFrame):
+
+2013-02-15 Csaba Osztrogonác <ossy@webkit.org>
+
+ Typo fix after r143064.
+
+ * Platform/CoreIPC/win/ConnectionWin.cpp:
+ (CoreIPC::Connection::sendOutgoingMessage):
+
+2013-02-15 Csaba Osztrogonác <ossy@webkit.org>
+
+ One more buildfix after r143052.
+
+ * Platform/CoreIPC/win/ConnectionWin.cpp:
+ (CoreIPC::Connection::sendOutgoingMessage):
+
+2013-02-15 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed buildfix after r143052 for Qt/GTK/EFL ports.
+
+ * Platform/unix/SharedMemoryUnix.cpp:
+ (WebKit::SharedMemory::Handle::encode):
+ * Platform/win/SharedMemoryWin.cpp:
+ (WebKit::SharedMemory::Handle::encode):
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::encode):
+ * Shared/WebBatteryStatus.cpp:
+ (WebKit::WebBatteryStatus::Data::encode):
+ * Shared/WebNetworkInfo.cpp:
+ (WebKit::WebNetworkInfo::Data::encode):
+ * Shared/efl/LayerTreeContextEfl.cpp:
+ (WebKit::LayerTreeContext::encode):
+ * Shared/gtk/LayerTreeContextGtk.cpp:
+ (WebKit::LayerTreeContext::encode):
+ * Shared/qt/LayerTreeContextQt.cpp:
+ (WebKit::LayerTreeContext::encode):
+ * Shared/qt/QtNetworkReplyData.cpp:
+ (WebKit::QtNetworkReplyData::encode):
+ * Shared/qt/QtNetworkRequestData.cpp:
+ (WebKit::QtNetworkRequestData::encode):
+ * Shared/soup/PlatformCertificateInfo.cpp:
+ (WebKit::PlatformCertificateInfo::encode):
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ Make most ArgumentEncoder::encode member functions private
+ https://bugs.webkit.org/show_bug.cgi?id=109973
+
+ Reviewed by Sam Weinig.
+
+ Make the encode overloads private; the stream operator should be used instead.
+
+ * Platform/CoreIPC/ArgumentEncoder.h:
+ (ArgumentEncoder):
+ * Platform/CoreIPC/Arguments.h:
+ (CoreIPC::Arguments1::encode):
+ (CoreIPC::Arguments2::encode):
+ (CoreIPC::Arguments3::encode):
+ (CoreIPC::Arguments4::encode):
+ (CoreIPC::Arguments5::encode):
+ (CoreIPC::Arguments6::encode):
+ (CoreIPC::Arguments7::encode):
+ (CoreIPC::Arguments8::encode):
+ (CoreIPC::Arguments10::encode):
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::createSyncMessageEncoder):
+ * Platform/CoreIPC/MessageEncoder.cpp:
+ (CoreIPC::MessageEncoder::MessageEncoder):
+ * Scripts/webkit2/messages.py:
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::encode):
+ * WebProcess/WebPage/EncoderAdapter.cpp:
+ (WebKit::EncoderAdapter::EncoderAdapter):
+ (WebKit::EncoderAdapter::encodeBytes):
+ (WebKit::EncoderAdapter::encodeBool):
+ (WebKit::EncoderAdapter::encodeUInt16):
+ (WebKit::EncoderAdapter::encodeUInt32):
+ (WebKit::EncoderAdapter::encodeUInt64):
+ (WebKit::EncoderAdapter::encodeInt32):
+ (WebKit::EncoderAdapter::encodeInt64):
+ (WebKit::EncoderAdapter::encodeFloat):
+ (WebKit::EncoderAdapter::encodeDouble):
+ (WebKit::EncoderAdapter::encodeString):
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ Add a synchronous GetValues message to StorageManager
+ https://bugs.webkit.org/show_bug.cgi?id=109968
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::dispatchWorkQueueMessageReceiverMessage):
+ Handle synchronous messages.
+
+ (CoreIPC::Connection::processIncomingMessage):
+ Check for work queue message receivers before doing any other processing.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::getValues):
+ Add empty stub.
+
+ * UIProcess/Storage/StorageManager.h:
+ * UIProcess/Storage/StorageManager.messages.in:
+ Add GetValues message.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::loadValuesIfNeeded):
+ Send the GetValues message.
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ A storage area should know its storage type
+ https://bugs.webkit.org/show_bug.cgi?id=109964
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::StorageAreaProxy):
+ (WebKit::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (StorageAreaProxy):
+ * WebProcess/Storage/StorageNamespaceProxy.cpp:
+ (WebKit::StorageNamespaceProxy::storageType):
+ (WebKit):
+ * WebProcess/Storage/StorageNamespaceProxy.h:
+ (StorageNamespaceProxy):
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ Implement StorageAreaProxy::length
+ https://bugs.webkit.org/show_bug.cgi?id=109962
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::length):
+ Load the values if needed and then return the length.
+
+ (WebKit::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
+ Add helper function.
+
+ (WebKit::StorageAreaProxy::loadValuesIfNeeded):
+ Just allocate the hash map for now.
+
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (StorageAreaProxy):
+
+2013-02-15 Anders Carlsson <andersca@apple.com>
+
+ Remove const from a bunch of StorageArea member functions
+ https://bugs.webkit.org/show_bug.cgi?id=109957
+
+ Reviewed by Beth Dakin.
+
+ Update for WebCore changes.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::length):
+ (WebKit::StorageAreaProxy::key):
+ (WebKit::StorageAreaProxy::getItem):
+ (WebKit::StorageAreaProxy::contains):
+ (WebKit::StorageAreaProxy::canAccessStorage):
+ (WebKit::StorageAreaProxy::memoryBytesUsedByCache):
+ * WebProcess/Storage/StorageAreaProxy.h:
+ (StorageAreaProxy):
+
+2013-02-15 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
+
+ [EFL][WK2] Use C API inside BatteryProvider and NetworkInfoProvider
+ https://bugs.webkit.org/show_bug.cgi?id=107821
+
+ Reviewed by Anders Carlsson.
+
+ BatteryProvider and NetworkInfoProvider should use C API
+ instead of accessing the internal C++ classes directly.
+
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::EwkContext):
+ * UIProcess/efl/BatteryProvider.cpp:
+ (BatteryProvider::~BatteryProvider):
+ (BatteryProvider::create):
+ (BatteryProvider::BatteryProvider):
+ (BatteryProvider::didChangeBatteryStatus):
+ * UIProcess/efl/BatteryProvider.h:
+ (BatteryProvider):
+ * UIProcess/efl/NetworkInfoProvider.cpp:
+ (NetworkInfoProvider::create):
+ (NetworkInfoProvider::NetworkInfoProvider):
+ (NetworkInfoProvider::~NetworkInfoProvider):
+ * UIProcess/efl/NetworkInfoProvider.h:
+ (NetworkInfoProvider):
+
+2013-02-15 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL]REGRESSION (r141978): ewk_view_type_check api test failing
+ https://bugs.webkit.org/show_bug.cgi?id=109038
+
+ Reviewed by Anders Carlsson.
+
+ EFL API is defensive by its nature and expects graceful handling of wrong function arguments
+ whereas webkit implementation code does not. This patch adds new 'toEwkViewChecked' function,
+ which provides handling of wrong arguments, to be used within EFL API layer code.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (toEwkView):
+
+ EwkView* toEwkView(const Ewk_View_Smart_Data* smartData) is not exported anymore
+ as it's used within EwkView class only.
+
+ (EwkView::handleTouchMove):
+ * UIProcess/API/efl/EwkView.h:
+ * UIProcess/API/efl/ewk_view.cpp:
+ (toEwkViewChecked):
+
+2013-02-15 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Have WebView subclass PageClient
+ https://bugs.webkit.org/show_bug.cgi?id=109684
+
+ Reviewed by Anders Carlsson.
+
+ Stop constructing the PageClient in EwkView. PageClient is an internal
+ class and we should not use it directly in our Ewk implementation.
+ Instead, have WebView subclass PageClient. The PageClient implementation
+ just calls WebView methods otherwise.
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ (EwkView::setSize):
+ * UIProcess/API/efl/EwkView.h:
+ (WebKit):
+ (EwkView):
+ (EwkView::webView):
+ * UIProcess/API/efl/ewk_view.cpp:
+ * UIProcess/efl/PageClientBase.cpp: Removed.
+ * UIProcess/efl/PageClientBase.h: Removed.
+ * UIProcess/efl/PageClientDefaultImpl.cpp: Removed.
+ * UIProcess/efl/PageClientDefaultImpl.h: Removed.
+ * UIProcess/efl/PageClientLegacyImpl.cpp: Removed.
+ * UIProcess/efl/PageClientLegacyImpl.h: Removed.
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ * UIProcess/efl/WebPageProxyEfl.cpp:
+ (WebKit::WebPageProxy::viewWidget):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::WebView):
+ (WebKit::WebView::~WebView):
+ (WebKit::WebView::initialize):
+ (WebKit):
+ (WebKit::WebView::evasObject):
+ (WebKit::WebView::setThemePath):
+ (WebKit::WebView::setDrawsBackground):
+ (WebKit::WebView::drawsBackground):
+ (WebKit::WebView::setDrawsTransparentBackground):
+ (WebKit::WebView::drawsTransparentBackground):
+ (WebKit::WebView::suspendActiveDOMObjectsAndAnimations):
+ (WebKit::WebView::resumeActiveDOMObjectsAndAnimations):
+ (WebKit::WebView::didCommitLoad):
+ (WebKit::WebView::updateViewportSize):
+ (WebKit::WebView::didChangeContentsSize):
+ (WebKit::WebView::createDrawingAreaProxy):
+ (WebKit::WebView::setViewNeedsDisplay):
+ (WebKit::WebView::displayView):
+ (WebKit::WebView::scrollView):
+ (WebKit::WebView::viewSize):
+ (WebKit::WebView::isViewWindowActive):
+ (WebKit::WebView::isViewFocused):
+ (WebKit::WebView::isViewVisible):
+ (WebKit::WebView::isViewInWindow):
+ (WebKit::WebView::processDidCrash):
+ (WebKit::WebView::didRelaunchProcess):
+ (WebKit::WebView::pageClosed):
+ (WebKit::WebView::toolTipChanged):
+ (WebKit::WebView::setCursor):
+ (WebKit::WebView::setCursorHiddenUntilMouseMoves):
+ (WebKit::WebView::registerEditCommand):
+ (WebKit::WebView::clearAllEditCommands):
+ (WebKit::WebView::canUndoRedo):
+ (WebKit::WebView::executeUndoRedo):
+ (WebKit::WebView::screenToWindow):
+ (WebKit::WebView::windowToScreen):
+ (WebKit::WebView::doneWithKeyEvent):
+ (WebKit::WebView::doneWithTouchEvent):
+ (WebKit::WebView::createPopupMenuProxy):
+ (WebKit::WebView::createContextMenuProxy):
+ (WebKit::WebView::createColorChooserProxy):
+ (WebKit::WebView::setFindIndicator):
+ (WebKit::WebView::enterAcceleratedCompositingMode):
+ (WebKit::WebView::exitAcceleratedCompositingMode):
+ (WebKit::WebView::updateAcceleratedCompositingMode):
+ (WebKit::WebView::didCommitLoadForMainFrame):
+ (WebKit::WebView::didFinishLoadingDataForCustomRepresentation):
+ (WebKit::WebView::customRepresentationZoomFactor):
+ (WebKit::WebView::setCustomRepresentationZoomFactor):
+ (WebKit::WebView::flashBackingStoreUpdates):
+ (WebKit::WebView::findStringInCustomRepresentation):
+ (WebKit::WebView::countStringMatchesInCustomRepresentation):
+ (WebKit::WebView::updateTextInputState):
+ (WebKit::WebView::handleDownloadRequest):
+ (WebKit::WebView::convertToDeviceSpace):
+ (WebKit::WebView::convertToUserSpace):
+ (WebKit::WebView::didChangeViewportProperties):
+ (WebKit::WebView::pageDidRequestScroll):
+ (WebKit::WebView::didRenderFrame):
+ (WebKit::WebView::pageTransitionViewportReady):
+ * UIProcess/efl/WebView.h:
+ (WebKit):
+ (WebView):
+ (WebKit::WebView::pageRef):
+ (WebKit::WebView::page):
+ (WebKit::WebView::canScrollView):
+
+2013-02-15 Milian Wolff <milian.wolff@kdab.com>
+
+ [Qt] Restore URL Scheme Delegates after QtWebProcess crash
+ https://bugs.webkit.org/show_bug.cgi?id=108808
+
+ When the QtWebProcess crashes, the registered URL Scheme
+ Delegates are not properly restored over IPC in the newly
+ launched process instance.
+
+ Reviewed by Simon Hausmann.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::didRelaunchProcess):
+ (QQuickWebViewPrivate::updateSchemeDelegates):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (QQuickWebViewPrivate):
+
+2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
+
+ Simplify hitTestResultAtPoint and nodesFromRect APIs
+ https://bugs.webkit.org/show_bug.cgi?id=95720
+
+ Reviewed by Julien Chaffraix and Maciej Stachowiak.
+
+ Update calls to new API and update exported symbols.
+
+ * WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp:
+ (WebKit::InjectedBundleNavigationAction::InjectedBundleNavigationAction):
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::hitTest):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::handleContextMenuEvent):
+ (WebKit::WebPage::highlightPotentialActivation):
+ (WebKit::WebPage::findZoomableAreaForPoint):
+ * WebProcess/WebPage/mac/WebPageMac.mm:
+ (WebKit::WebPage::characterIndexForPoint):
+ (WebKit::WebPage::performDictionaryLookupAtLocation):
+ (WebKit::WebPage::shouldDelayWindowOrderingEvent):
+ (WebKit::WebPage::acceptsFirstMouse):
+
+2013-02-14 Huang Dongsung <luxtella@company100.net>
+
+ [WK2] Rename from scrollOffset to scrollDelta in WebChromeClient.
+ https://bugs.webkit.org/show_bug.cgi?id=109885
+
+ Reviewed by Simon Fraser.
+
+ Chrome sends a scroll delta to WebChromeClient but WebChromeClient names it
+ scrollOffset. So this patch corrects this misnaming.
+
+ In addition, all subclasses of LayerTreeHost don't use the misnamed
+ scrollOffset in scrollNonCompositedContents(), so this patch removes the
+ scrollOffset argument.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::scroll):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (CoordinatedLayerTreeHost):
+ * WebProcess/WebPage/DrawingArea.h:
+ (DrawingArea):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::scroll):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (LayerTreeHost):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
+ (WebKit::LayerTreeHostGtk::scrollNonCompositedContents):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
+ (LayerTreeHostGtk):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.h:
+ (LayerTreeHostMac):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
+ (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
+ * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
+ (RemoteLayerTreeDrawingArea):
+ * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
+ (WebKit::RemoteLayerTreeDrawingArea::scroll):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::scroll):
+
+2013-02-14 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13161700> REGRESSION: Safari is unable to make SSL connections
+ when running from recovery partition
+
+ Reviewed by Sam Weinig.
+
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+ * WebProcess/com.apple.WebProcess.sb.in:
+ Re-added /private/var/db/mds/system rules lost in r141445.
+
+2013-02-14 Anders Carlsson <andersca@apple.com>
+
+ Add WKContextIsPlugInUpdateAvailable
+ https://bugs.webkit.org/show_bug.cgi?id=109862
+ <rdar://problem/13173140>
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/API/C/mac/WKContextPrivateMac.h:
+ * UIProcess/API/C/mac/WKContextPrivateMac.mm: Renamed from Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.cpp.
+ (WKContextGetProcessSuppressionEnabled):
+ (WKContextSetProcessSuppressionEnabled):
+ (WKContextIsPlugInUpdateAvailable):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-14 Zan Dobersek <zdobersek@igalia.com>
+
+ [GTK] Errors when building WebKit2 with Clang
+ https://bugs.webkit.org/show_bug.cgi?id=109603
+
+ Reviewed by Alexey Proskuryakov.
+
+ * UIProcess/API/gtk/WebKitUIClient.cpp:
+ (setWindowFrame): Cast the position parameters to the integer type when constructing the GdkRectangle.
+ * UIProcess/Authentication/WebCredential.cpp: Add an empty implementation of the newly specified destructor.
+ * UIProcess/Authentication/WebCredential.h: Work around the incomplete WebCertificateInfo type errors thrown in the inline
+ RefPtr destructor of the m_certificateInfo class member by defining a destructor in the class.
+ * WebProcess/WebCoreSupport/WebEditorClient.h: The GTK-specific methods are not virtual and as such cannot be overriden.
+ The OVERRIDE keywords are thus unnecessary.
+
+2013-02-14 David Kilzer <ddkilzer@apple.com>
+
+ [Mac] Clean up WARNING_CFLAGS
+ <http://webkit.org/b/109747>
+ <rdar://problem/13208373>
+
+ Reviewed by Mark Rowe.
+
+ * Configurations/Base.xcconfig: Use
+ GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
+ -Wshorten-64-to-32 rather than WARNING_CFLAGS.
+
+2013-02-14 Sam Weinig <sam@webkit.org>
+
+ Add conversions between ObjC and C DOM wrappers
+ <rdar://problem/13205468>
+ https://bugs.webkit.org/show_bug.cgi?id=109851
+
+ Reviewed by Anders Carlsson.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
+ (WKBundleRangeHandleCreate):
+ * WebProcess/InjectedBundle/API/c/WKBundleRangeHandlePrivate.h: Added.
+ * WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
+ (-[WKDOMNode _copyBundleNodeHandleRef]):
+ * WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h: Added.
+ * WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
+ (-[WKDOMRange _copyBundleRangeHandleRef]):
+ * WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h: Added.
+ * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
+ (WebKit::InjectedBundleRangeHandle::getOrCreate):
+ * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
+ (InjectedBundleRangeHandle):
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Remove StringPairVector
+ https://bugs.webkit.org/show_bug.cgi?id=109778
+
+ Reviewed by Ryosuke Niwa.
+
+ Our message generation scripts can handle nested template parameter types now,
+ so we no longer need to use StringPairVector.
+
+ * Shared/StringPairVector.h: Removed.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::willSubmitForm):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
+
+2013-02-13 Dean Jackson <dino@apple.com>
+
+ PlugIn Autostart should expire in 30 days, not half a day
+ https://bugs.webkit.org/show_bug.cgi?id=109767
+
+ Reviewed by Brian Weinstein.
+
+ We forgot to multiply by 60 seconds in a minute.
+
+ * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Message generation should handle nested templates
+ https://bugs.webkit.org/show_bug.cgi?id=109771
+
+ Reviewed by Ryosuke Niwa.
+
+ Make it possible to have nested class template types as message parameters and
+ correctly gather all the needed headers and argument coder headers.
+
+ * Scripts/webkit2/messages.py:
+ (class_template_headers):
+ Recursively figure out the types and template headers needed for a given type.
+
+ (argument_coder_headers_for_type):
+ (headers_for_type):
+ Call class_template_headers.
+
+ * Scripts/webkit2/messages_unittest.py:
+ (CoreIPC):
+ * Scripts/webkit2/parser.py:
+ (split_parameters_string):
+ (parse_parameters_string):
+
+2013-02-13 David Farler <dfarler@apple.com>
+
+ Make WebKit2 Derived Sources work with SDK identifiers too
+ https://bugs.webkit.org/show_bug.cgi?id=109763
+
+ Reviewed by David Kilzer.
+
+ * WebKit2.xcodeproj/project.pbxproj: Pass SDKROOT=${SDKROOT} to DerivedSources.make
+
+2013-02-13 Csaba Osztrogonác <ossy@webkit.org>
+
+ One more buildfix for !ENABLE(PLUGIN_PROCESS) platforms.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+
+2013-02-13 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed Qt-Mac and Qt-Win buildfix after r142768.
+
+ * WebProcess/WebProcess.h:
+ (WebKit):
+
+2013-02-13 Adam Barth <abarth@webkit.org>
+
+ Remove bogus ASSERT in WebFrameProxy::didStartProvisionalLoad
+ https://bugs.webkit.org/show_bug.cgi?id=109733
+
+ Reviewed by Sam Weinig.
+
+ After http://trac.webkit.org/changeset/142555, this ASSERT is
+ triggering on these tests:
+
+ fast/dom/window-load-crash.html
+ fast/frames/seamless/seamless-hyperlink-named.html
+ fast/frames/seamless/seamless-hyperlink.html
+
+ The ASSERT appears to be bogus. This patch removes it.
+
+ * UIProcess/WebFrameProxy.cpp:
+ (WebKit::WebFrameProxy::didStartProvisionalLoad):
+
+2013-02-13 Sam Weinig <sam@webkit.org>
+
+ Consolidate main functions in WebKit2 now that they are all identical
+ https://bugs.webkit.org/show_bug.cgi?id=109748
+
+ Reviewed by Anders Carlsson.
+
+ - Consolidates all the LegacyProcess main functions into ChildProcessMain.mm
+ - Consolidates all the XPCService main functions into XPCServiceMain.mm and XPCServiceMain.Development.mm
+ - Rename existing ChildProcessMain.h/mm to ChildProcessEntryPoint.h/mm to match the XPCService ones.
+ - Switch LegacyProcess to use the "entry point in the plist" idiom, instead of hard coding each one, again
+ matching the XPCService.
+
+ * Configurations/BaseLegacyProcess.xcconfig: Add base configuration to hold common legacy process options.
+ * Configurations/BaseXPCService.xcconfig:
+ * Configurations/NetworkProcess.xcconfig:
+ * Configurations/OfflineStorageProcess.xcconfig:
+ * Configurations/PluginProcess.xcconfig:
+ * Configurations/SharedWorkerProcess.xcconfig:
+ * Configurations/WebContentProcess.xcconfig: Renamed form WebProcess.xcconfig.
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm:
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp: Removed.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm: Removed.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm: Removed.
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm:
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Removed.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Removed.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Removed.
+ * PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp: Removed.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm: Removed.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm: Removed.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: Removed.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm: Replaced.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h: Removed.
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h: Removed.
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h: Removed.
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.Development.mm:
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm:
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp: Removed.
+ * WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
+ * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
+ * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp: Removed.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm: Removed.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm: Removed.
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Stop using WebString in ewk_cookie_manager, ewk_form_submission_request and ewk_text_checker
+ https://bugs.webkit.org/show_bug.cgi?id=108794
+
+ Reviewed by Alexey Proskuryakov.
+
+ Stop using WebString in ewk_cookie_manager, ewk_form_submission_request
+ and ewk_text_checker as it is internal C++ API. WKString and
+ WKEinaSharedString are used instead.
+
+ * UIProcess/API/cpp/efl/WKEinaSharedString.cpp:
+ (WKEinaSharedString::leakString): Add leakString() method to
+ WKEinaSharedString so that we can conveniently convert a WKString to a
+ Eina shared string and take ownership of it.
+ * UIProcess/API/cpp/efl/WKEinaSharedString.h:
+ * UIProcess/API/efl/ewk_cookie_manager.cpp:
+ (getHostnamesWithCookiesCallback):
+ * UIProcess/API/efl/ewk_form_submission_request.cpp:
+ (EwkFormSubmissionRequest::copyFieldValue):
+ (ewk_form_submission_request_field_names_get):
+ (ewk_form_submission_request_field_value_get):
+ * UIProcess/API/efl/ewk_form_submission_request_private.h:
+ (EwkFormSubmissionRequest):
+ * UIProcess/API/efl/ewk_text_checker.cpp:
+ (checkSpellingOfString):
+ (guessesForWord):
+ (learnWord):
+ (ignoreWord):
+ * UIProcess/API/efl/tests/test_ewk2_eina_shared_string.cpp:
+ (TEST_F): Add API test for new WKEinaSharedString::leakString() method.
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Remove Connection::QueueClient
+ https://bugs.webkit.org/show_bug.cgi?id=109744
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::processIncomingMessage):
+ (CoreIPC::Connection::connectionDidClose):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Try to fix the Lion build.
+
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Remove support for the DispatchOnConnectionQueue message attribute
+ https://bugs.webkit.org/show_bug.cgi?id=109743
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/HandleMessage.h:
+ (CoreIPC):
+ * Scripts/webkit2/messages.py:
+ (handler_function):
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ StorageManager should be a WorkQueueMessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=109741
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::processWillOpenConnection):
+ (WebKit::StorageManager::processWillCloseConnection):
+ (WebKit::StorageManager::createStorageArea):
+ (WebKit::StorageManager::destroyStorageArea):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/Storage/StorageManager.messages.in:
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ EventDispatcher should be a WorkQueueMessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=109736
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::create):
+ (WebKit):
+ (WebKit::EventDispatcher::EventDispatcher):
+ (WebKit::EventDispatcher::initializeConnection):
+ (WebKit::EventDispatcher::wheelEvent):
+ (WebKit::EventDispatcher::gestureEvent):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebPage/EventDispatcher.messages.in:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initializeConnection):
+ * WebProcess/WebProcess.h:
+ (WebKit):
+ (WebKit::WebProcess::eventDispatcher):
+ (WebProcess):
+
+2013-02-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ Unreviewed build fix after r142768.
+
+ r142768 broke the EFL WK2 build due to wrong member initialization
+ order in the WebProcess constructor initialization list.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Make PluginProcessConnectionManager a WorkQueueMessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=109727
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::create):
+ (WebKit):
+ (WebKit::PluginProcessConnectionManager::PluginProcessConnectionManager):
+ (WebKit::PluginProcessConnectionManager::initializeConnection):
+ (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
+ * WebProcess/Plugins/PluginProcessConnectionManager.h:
+ (PluginProcessConnectionManager):
+ * WebProcess/Plugins/PluginProcessConnectionManager.messages.in:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initializeConnection):
+ (WebKit::WebProcess::pluginProcessConnectionManager):
+ * WebProcess/WebProcess.h:
+ (WebKit):
+ (WebProcess):
+
+2013-02-13 Anders Carlsson <andersca@apple.com>
+
+ Make SecItemShimProxy be a WorkQueueMessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=109719
+
+ Reviewed by Sam Weinig.
+
+ This adds a WantsConnection message attribute to be used for messages whose handlers
+ should take the connection the message was delivered to.
+
+ * Platform/CoreIPC/HandleMessage.h:
+ (CoreIPC::handleMessage):
+ Add new handleMessage overload.
+
+ * Scripts/webkit2/messages.py:
+ (async_message_statement):
+ (generate_message_handler):
+ Handle the WantsMessage attribute.
+
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::shared):
+ Use dispatch_once and adoptRef.
+
+ (WebKit::SecItemShimProxy::SecItemShimProxy):
+ Initialize the queue.
+
+ (WebKit::SecItemShimProxy::initializeConnection):
+ Add the proxy as a work queue message receiver.
+
+ (WebKit::SecItemShimProxy::secItemRequest):
+ This no longer needs to call out to a dispatch queue, it's already on a queue.
+
+ * UIProcess/mac/SecItemShimProxy.messages.in:
+ This doesn't need to be a legacy receiver. Also, add the WantsConnection message.
+
+2013-02-13 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r142736.
+ http://trac.webkit.org/changeset/142736
+ https://bugs.webkit.org/show_bug.cgi?id=109716
+
+ Broke ABI, nightly builds crash on launch (Requested by ap on
+ #webkit).
+
+ * Shared/APIClientTraits.cpp:
+ (WebKit):
+ * Shared/APIClientTraits.h:
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/API/gtk/WebKitLoaderClient.cpp:
+ (attachLoaderClientToView):
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/qt/QtBuiltinBundlePage.cpp:
+ (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
+
+2013-02-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [WK2][EFL] Cleanup of graphics related code in EwkView
+ https://bugs.webkit.org/show_bug.cgi?id=109377
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+
+ Initialize the evasGL dependencies here and
+ set m_isAccelerated to false if this fails.
+
+ Set the coordinated graphics scene as active
+ when using fixed layout.
+
+ (EwkView::setSize):
+
+ Add a method to set the size and user-viewport
+ transform from the outside. The idea is moving
+ this to our pure WK C API in the future.
+
+ (EwkView::transformFromScene):
+ (EwkView::transformToScene):
+
+ Update the transform methods to use the user-
+ viewport transform.
+
+ (EwkView::paintToCurrentGLContext):
+ (EwkView::paintToCairoSurface):
+
+ Add methods to paint to either the current GL context
+ or to a given cairo_surface_t (for software fallback
+ cases).
+
+ (EwkView::displayTimerFired):
+
+ Clean up and use the two above methods.
+
+ (EwkView::scheduleUpdateDisplay):
+
+ Use the new size() methods instead of using the
+ smart-object data directly.
+
+ (EwkView::createGLSurface):
+
+ Make this method use size() to query the surface size
+ and avoid creating the context (done in ctor now).
+ Also avoid using the smart-object data directly.
+
+ (EwkView::enterAcceleratedCompositingMode):
+ (EwkView::exitAcceleratedCompositingMode):
+
+ Turn on/off the use of the coord. graphics scene.
+
+ (EwkView::handleEvasObjectCalculate):
+
+ Use the new setSize and setUserViewportTransform.
+
+ (EwkView::takeSnapshot):
+ * UIProcess/API/efl/EwkView.h:
+ (WebCore):
+ (EwkView):
+ (EwkView::size):
+ (EwkView::setUserViewportTransform):
+ (EwkView::userViewportTransform):
+
+ Add the new method definitions and rename isHardwareAccelerated
+ to isAccelerated which fits better with the naming in WebCore.
+
+2013-02-13 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Introduce WKViewClient C API
+ https://bugs.webkit.org/show_bug.cgi?id=109559
+
+ Reviewed by Anders Carlsson.
+
+ This patch introduces the WKViewClient C API for EFL's WKView. The purpose of
+ this new C API is to eventually remove the interdependency between EFL's
+ PageClient and EwkView. When completed, PageClient should only interact with
+ WebView and not be aware of EwkView so that we have a clean separation between
+ internal WebKit2 classes and our EFL Ewk API implementation.
+
+ This patch is only a first step towards this goal as there is a lot of work
+ to do to achieve complete separation between EwkView and PageClient. The purpose
+ of this patch is to introduce the needed architecture which will later be
+ extended by introducing new WKViewClient callbacks.
+
+ * PlatformEfl.cmake: Add new ViewClientEfl.cpp and WebViewClient.cpp to EFL's CMake
+ configuration.
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewSetViewClient):
+ * UIProcess/API/C/efl/WKView.h: Introduce new WKViewClient C API.
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView): Initialize ViewClientEfl.
+ * UIProcess/API/efl/EwkView.h: Add new ViewClientEfl member.
+ (WebKit):
+ (EwkView):
+ * UIProcess/API/efl/EwkViewCallbacks.h: Update ContentsSizeChanged smart callback to
+ accept a WKSize in parameter instead of an IntRect.
+ * UIProcess/efl/PageClientBase.cpp: Start calling WKViewClient callbacks instead of
+ interacting directly with EwkView to avoid violating API layering.
+ (WebKit::PageClientBase::view):
+ (WebKit::PageClientBase::setViewNeedsDisplay):
+ * UIProcess/efl/PageClientBase.h:
+ (WebKit):
+ (PageClientBase):
+ * UIProcess/efl/PageClientDefaultImpl.cpp: Start calling WKViewClient callbacks instead of
+ interacting directly with EwkView to avoid violating API layering.
+ (WebKit::PageClientDefaultImpl::didChangeContentsSize):
+ * UIProcess/efl/PageClientLegacyImpl.cpp: Start calling WKViewClient callbacks instead of
+ interacting directly with EwkView to avoid violating API layering.
+ (WebKit::PageClientLegacyImpl::didChangeContentsSize):
+ * UIProcess/efl/ViewClientEfl.cpp:
+ (WebKit):
+ (WebKit::ViewClientEfl::toEwkView):
+ (WebKit::ViewClientEfl::viewNeedsDisplay):
+ (WebKit::ViewClientEfl::didChangeContentsSize):
+ (WebKit::ViewClientEfl::ViewClientEfl):
+ (WebKit::ViewClientEfl::~ViewClientEfl):
+ * UIProcess/efl/ViewClientEfl.h: Introduce new ViewClientEfl which handles WKViewClient callbacks
+ and interacts with EwkView.
+ (WebKit):
+ (ViewClientEfl):
+ (WebKit::ViewClientEfl::create):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::initializeClient):
+ (WebKit):
+ (WebKit::WebView::setViewNeedsDisplay):
+ (WebKit::WebView::didChangeContentsSize):
+ * UIProcess/efl/WebView.h: Add new WebViewClient member and corresponding methods to interact
+ with it.
+ (WebView):
+ * UIProcess/efl/WebViewClient.cpp:
+ (WebKit):
+ (WebKit::WebViewClient::viewNeedsDisplay):
+ (WebKit::WebViewClient::didChangeContentsSize):
+ * UIProcess/efl/WebViewClient.h: Add new WebViewClient APIClient for WKViewClient.
+ (WebCore):
+ (WebKit):
+
+2013-02-13 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL][WTR] Regression(r141836): WTR crashes on exit
+ https://bugs.webkit.org/show_bug.cgi?id=109456
+
+ Reviewed by Anders Carlsson.
+
+ WebView destructor now considers the situation if its WebPageProxy
+ instance had been closed from outside the class (explicitly
+ by client code).
+
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::~WebView):
+
+2013-02-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [WK2] Remove web intents callbacks
+ https://bugs.webkit.org/show_bug.cgi?id=109654
+
+ Reviewed by Benjamin Poulain.
+
+ Web intents was removed by r142549.
+
+ * Shared/APIClientTraits.cpp:
+ (WebKit):
+ * Shared/APIClientTraits.h:
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/API/gtk/WebKitLoaderClient.cpp:
+ (attachLoaderClientToView):
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/qt/QtBuiltinBundlePage.cpp:
+ (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
+
+2013-02-12 Adenilson Cavalcanti <cavalcantii@gmail.com>
+
+ [WK2] Page reloading will crash UIProcess after WebProcess was killed
+ https://bugs.webkit.org/show_bug.cgi?id=109305
+
+ Reviewed by Benjamin Poulain.
+
+ Re-initialize the pointer to a WebInspectorProxy object before calling
+ initializeWebPage().
+
+ When the WebProcess crashes, WebPageProxy::processDidCrash() will
+ set WebInspectorProxy pointer to null, which later is accessed by
+ initializeWebPage(). This patch avoids a crash scenario where
+ calls into a null pointer would be made.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::reattachToWebProcess):
+
+2013-02-12 Joseph Pecoraro <pecoraro@apple.com>
+
+ [iOS] Enable PAGE_VISIBILITY_API
+ https://bugs.webkit.org/show_bug.cgi?id=109399
+
+ Reviewed by David Kilzer.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-12 Brady Eidson <beidson@apple.com>
+
+ Update a comment in NetworkProcess to be more accurate.
+
+ Rubberstamped by Sam Weinig.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::didClose):
+
+2013-02-12 Anders Carlsson <andersca@apple.com>
+
+ SecItemShim should be a WorkQueueMessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=109636
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::dispatchWorkQueueMessageReceiverMessage):
+ Add a helper function for dispatching a work queue message receiver message.
+
+ (CoreIPC::Connection::processIncomingMessage):
+ Check if there are any work queue message receivers registered for this message.
+
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::shared):
+ Use dispatch_once instead of the AtomicallyInitializedStatic macro.
+
+ (WebKit::SecItemShim::SecItemShim):
+ Initialize the queue.
+
+ (WebKit::SecItemShim::secItemResponse):
+ Remove the connection parameter.
+
+ (WebKit::SecItemShim::initializeConnection):
+ Register the shim object as a work queue message receiver.
+
+ * Shared/mac/SecItemShim.h:
+ Inherit from WorkQueueMessageReceiver.
+
+ * Shared/mac/SecItemShim.messages.in:
+ Remove LegacyReceiver and DispatchOnConnectionQueue.
+
+2013-02-12 Sam Weinig <sam@webkit.org>
+
+ Make Plug-in XPC services "join existing sessions"
+ <rdar://problem/13196448>
+
+ Reviewed by Mark Rowe.
+
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
+
+2013-02-12 Sam Weinig <sam@webkit.org>
+
+ Add skeleton of the OfflineStorageProcess
+ https://bugs.webkit.org/show_bug.cgi?id=109615
+
+ Reviewed by Anders Carlsson.
+
+ This adds the skeleton of a new process to contain Database and Local Storage
+ backends in (hence, offline storage). We're adding a new process, rather than
+ using the Network or UIProcesses, to allow us to tightly sandbox these activities
+ away from networking and full filesystem access.
+
+ * Configurations/OfflineStorageProcess.xcconfig: Added.
+ * Configurations/OfflineStorageService.Development.xcconfig: Added.
+ * Configurations/OfflineStorageService.xcconfig: Added.
+ * DerivedSources.make:
+ * OfflineStorageProcess: Added.
+ * OfflineStorageProcess/EntryPoint: Added.
+ * OfflineStorageProcess/EntryPoint/mac: Added.
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess: Added.
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/Info.plist: Added.
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMain.mm: Added.
+ * OfflineStorageProcess/EntryPoint/mac/LegacyProcess/OfflineStorageProcessMainBootstrapper.cpp: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/Info.plist: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService.Development/OfflineStorageServiceMain.Development.mm: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/Info.plist: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageService/OfflineStorageServiceMain.mm: Added.
+ * OfflineStorageProcess/EntryPoint/mac/XPCService/OfflineStorageServiceEntryPoint.mm: Added.
+ * OfflineStorageProcess/OfflineStorageProcess.cpp: Added.
+ * OfflineStorageProcess/OfflineStorageProcess.h: Added.
+ * OfflineStorageProcess/OfflineStorageProcess.messages.in: Added.
+ * OfflineStorageProcess/mac: Added.
+ * OfflineStorageProcess/mac/OfflineStorageProcessMac.mm: Added.
+ (WebKit::OfflineStorageProcess::initializeProcessName):
+ (WebKit::OfflineStorageProcess::initializeSandbox):
+ * OfflineStorageProcess/mac/com.apple.WebKit.OfflineStorage.sb: Added.
+ * Shared/OfflineStorage: Added.
+ * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.cpp: Added.
+ * Shared/OfflineStorage/OfflineStorageProcessCreationParameters.h: Added.
+
+ * Scripts/webkit2/messages.py:
+ (struct_or_class):
+ Added OfflineStorageProcessCreationParameters.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-12 Jinwoo Song <jinwoo7.song@samsung.com>
+
+ [EFL][WK2] Fix build warning after r142579
+ https://bugs.webkit.org/show_bug.cgi?id=109547
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
+
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+
+2013-02-12 Christophe Dumez <ch.dumez@sisa.samsung.com>
+
+ [EFL][WK2] Reenable ewk_auth_request API tests
+ https://bugs.webkit.org/show_bug.cgi?id=108451
+
+ Reviewed by Benjamin Poulain.
+
+ ewk_auth_request API tests were temporarily disabled after
+ the C API for resource loading was removed from WebKit2.
+ This patches updates the tests so that they no longer rely
+ on the resource loading events and renables them.
+
+ This patch also corrects the naming of the static variables
+ in the test to follow more closely the WebKit coding style.
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/efl/tests/test_ewk2_auth_request.cpp:
+ (serverCallback):
+ (TEST_F):
+ (onLoadFinished):
+
+2013-02-12 Anders Carlsson <andersca@apple.com>
+
+ Introduce a WorkQueueMessageReceiver class as a replacement for QueueClient
+ https://bugs.webkit.org/show_bug.cgi?id=109612
+
+ Reviewed by Andreas Kling.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::addWorkQueueMessageReceiver):
+ (CoreIPC):
+ (CoreIPC::Connection::removeWorkQueueMessageReceiver):
+ (CoreIPC::Connection::addWorkQueueMessageReceiverOnConnectionWorkQueue):
+ (CoreIPC::Connection::removeWorkQueueMessageReceiverOnConnectionWorkQueue):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+
+2013-02-12 Csaba Osztrogonác <ossy@webkit.org>
+
+ Typo fix after r142663.
+
+ * GNUmakefile.list.am:
+
+2013-02-12 Csaba Osztrogonác <ossy@webkit.org>
+
+ [WK2] Unreviewed trivial buildfix after r142630 and r142651.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didFinishLaunching):
+ * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
+ (WebKit::PluginProcessProxy::platformGetLaunchOptions):
+ * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
+ (WebKit::PluginProcessProxy::platformGetLaunchOptions):
+
+2013-02-12 Anders Carlsson <andersca@apple.com>
+
+ Change the queue client base class to be private everywhere
+ https://bugs.webkit.org/show_bug.cgi?id=109604
+
+ Reviewed by Andreas Kling.
+
+ Move connection queue client registration inside of the respective queue client classes.
+
+ Also, it's too late to add queue clients in ChildProcessProxy::didFinishLaunching, so do this in
+ ChildProcessProxy::connectionWillOpen instead.
+
+ Finally, assert that queue clients are only being added and removed from the client thread.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeConnection):
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::addQueueClient):
+ (CoreIPC::Connection::removeQueueClient):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::initializeConnection):
+ (WebKit):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::connectionWillOpen):
+ (WebKit):
+ (WebKit::NetworkProcessProxy::connectionWillClose):
+ (WebKit::NetworkProcessProxy::didFinishLaunching):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ (NetworkProcessProxy):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::connectionWillOpen):
+ (WebKit::WebProcessProxy::didFinishLaunching):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::initializeConnection):
+ (WebKit):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::initializeConnection):
+ (WebKit):
+ * WebProcess/Plugins/PluginProcessConnectionManager.h:
+ (PluginProcessConnectionManager):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::initializeConnection):
+ (WebKit):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+
+2013-02-12 Brady Eidson <beidson@apple.com>
+
+ Add WKContext API to retrieve basic network process statistics
+ https://bugs.webkit.org/show_bug.cgi?id=109329
+
+ Reviewed by Sam Weinig.
+
+ This patch adds a WKContextGetStatisticsWithOptions which allows the client to ask for
+ certain types of statistics.
+
+ It also expands the "get statistics" callback mechanism to allow for a statistics request
+ to be answered by multiple child processes.
+
+ That mechanism still has some rough edges but will eventually allow for getting statistics
+ from multiple web processes, as well.
+
+ * NetworkProcess/HostRecord.cpp:
+ (WebKit::HostRecord::pendingRequestCount):
+ (WebKit::HostRecord::activeLoadCount):
+ * NetworkProcess/HostRecord.h:
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::getNetworkProcessStatistics):
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/NetworkProcess.messages.in:
+
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::hostsPendingCount):
+ (WebKit::NetworkResourceLoadScheduler::loadsPendingCount):
+ (WebKit::NetworkResourceLoadScheduler::hostsActiveCount):
+ (WebKit::NetworkResourceLoadScheduler::loadsActiveCount):
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+
+ * Shared/Authentication/AuthenticationManager.h:
+ (WebKit::AuthenticationManager::outstandingAuthenticationChallengeCount):
+ * Shared/Downloads/DownloadManager.h:
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextGetStatistics):
+ (WKContextGetStatisticsWithOptions):
+ * UIProcess/API/C/WKContext.h:
+
+ * UIProcess/StatisticsRequest.cpp: Added.
+ (WebKit::StatisticsRequest::StatisticsRequest):
+ (WebKit::StatisticsRequest::~StatisticsRequest):
+ (WebKit::StatisticsRequest::addOutstandingRequest):
+ (WebKit::addToDictionaryFromHashMap):
+ (WebKit::createDictionaryFromHashMap):
+ (WebKit::StatisticsRequest::completedRequest):
+ * UIProcess/StatisticsRequest.h: Added.
+ (WebKit::StatisticsRequest::create):
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::networkingProcessConnection):
+ (WebKit::WebContext::getStatistics):
+ (WebKit::WebContext::requestWebContentStatistics):
+ (WebKit::WebContext::requestNetworkingStatistics):
+ (WebKit::WebContext::didGetStatistics):
+ * UIProcess/WebContext.h:
+ * UIProcess/WebContext.messages.in:
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::getWebCoreStatistics):
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-12 Anders Carlsson <andersca@apple.com>
+
+ Build fix.
+
+ Add back the files to the Xcode project that were removed in r142580.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+
+2013-02-12 Jessie Berlin <jberlin@apple.com>
+
+ Build fix after r142540 and r142518
+
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::didReceivePluginProcessConnectionManagerMessageOnConnectionWorkQueue):
+ This function was added to the header in r142518 but not implemented in that revision.
+ It wasn't a problem until r142540 started using it.
+ Add a stub implementation for it.
+
+2013-02-11 Brady Eidson <beidson@apple.com>
+
+ Make PluginProcessProxy a ChildProcessProxy.
+ https://bugs.webkit.org/show_bug.cgi?id=109513
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/ChildProcessProxy.h: Inherit from ThreadSafeRefCounted.
+ * UIProcess/Network/NetworkProcessProxy.h: Don't inherit from RefCounted.
+ * UIProcess/WebProcessProxy.h: Don't inherit from ThreadSafeRefCounted
+ * UIProcess/Plugins/PluginProcessProxy.h: Don't inherit from RefCounted, do inherit from ChildProcessProxy
+
+ Rely on ChildProcessProxy for process launcher management and launch options:
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::PluginProcessProxy):
+ (WebKit::PluginProcessProxy::getLaunchOptions):
+ (WebKit::PluginProcessProxy::getPluginProcessConnection):
+ (WebKit::PluginProcessProxy::getSitesWithData):
+ (WebKit::PluginProcessProxy::clearSiteData):
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::PluginProcessProxy::platformGetLaunchOptions):
+ (WebKit::PluginProcessProxy::getPluginProcessSerialNumber):
+
+2013-02-11 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13196331> NetworkProcess deny mach-lookup com.apple.PowerManagement.control
+
+ Reviewed by Sam Weinig.
+
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+
+2013-02-11 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Make CoordinatedGraphicsScene not know contents size.
+ https://bugs.webkit.org/show_bug.cgi?id=108922
+
+ Reviewed by Noam Rosenthal.
+ Signed off for WebKit2 by Benjamin Poulain.
+
+ Currently, CoordinatedGraphicsScene has two methods to know contents
+ size: setContentsSize() and setVisibleContentsRect(). Contents size is
+ used when adjusting a scroll position, but adjustment is not needed
+ because EFL and Qt platform code (currently PageViewportController)
+ already adjusts a scroll position, and it is natural for each platform
+ to be in charge of adjusting. So this patch makes CoordinatedGraphicsScene
+ not know contents size.
+
+ In addition, now DrawingAreaProxy::coordinatedLayerTreeHostProxy() is only used
+ to get CoordinatedGraphicsScene.
+
+ * UIProcess/API/qt/qquickwebpage.cpp:
+ (QQuickWebPagePrivate::updateSize):
+ * UIProcess/API/qt/raw/qrawwebview.cpp:
+ (QRawWebView::setSize):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/efl/PageClientLegacyImpl.cpp:
+ (WebKit::PageClientLegacyImpl::didChangeContentsSize):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+
+2013-02-11 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: remove the DidChangeScrollPosition message.
+ https://bugs.webkit.org/show_bug.cgi?id=108051
+
+ Reviewed by Noam Rosenthal.
+ Signed off for WebKit2 by Benjamin Poulain.
+
+ Currently, we use the DidChangeScrollPosition message to send the scroll
+ position that WebCore used in this frame to UI Process. We had to have
+ some member variables for the DidChangeScrollPosition message.
+ However, we can send a scroll position via the DidRenderFrame message,
+ because CoordinatedGraphicsScene::m_renderedContentsScrollPosition is
+ updated at the moment of flushing. So we can remove the
+ DidChangeScrollPosition message and some redundant member variables.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::didRenderFrame):
+ (WebKit):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ Remove the DidChangeScrollPosition message.
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+ (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
+ Send a scroll position via the DidChangeScrollPosition message.
+ (WebKit::CoordinatedLayerTreeHost::syncLayerState):
+ Don't send a scroll position because flushPendingLayerChanges() does
+ that. In addition, it is weird to check if we must send a scroll
+ position at the moment of sending the SyncLayerState message of every
+ layers.
+ (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
+
+ Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
+ https://bugs.webkit.org/show_bug.cgi?id=109534
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+
+2013-02-11 Jae Hyun Park <jae.park@company100.net>
+
+ [EFL] Build fix
+ https://bugs.webkit.org/show_bug.cgi?id=109518
+
+ Reviewed by Laszlo Gombos.
+
+ Fix EFL build by including PluginProcessConnectionManager.messages.in in
+ CMakeLists.txt
+
+ * CMakeLists.txt:
+
+2013-02-11 Anders Carlsson <andersca@apple.com>
+
+ Fix build.
+
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebProcess.cpp:
+
+2013-02-11 Seulgi Kim <seulgikim@company100.net>
+
+ [GTK] Build fix.
+ https://bugs.webkit.org/show_bug.cgi?id=109516
+
+ Reviewed by Csaba Osztrogonác.
+
+ PluginProcessConnectionManagerMessages are omitted from messages list.
+
+ * GNUmakefile.list.am:
+
+2013-02-11 Tim Horton <timothy_horton@apple.com>
+
+ [WK2] setMinimumLayoutWidth should bail if there's no WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=109512
+ <rdar://problem/13093627>
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setMinimumLayoutWidth):
+
+2013-02-11 Anders Carlsson <andersca@apple.com>
+
+ PluginProcessConnectionManager should be a QueueClient
+ https://bugs.webkit.org/show_bug.cgi?id=109496
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::didReceiveMessageOnConnectionWorkQueue):
+ (WebKit):
+ (WebKit::PluginProcessConnectionManager::didCloseOnConnectionWorkQueue):
+ * WebProcess/Plugins/PluginProcessConnectionManager.h:
+ (PluginProcessConnectionManager):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-02-11 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed WK2 buildfix after r142518.
+
+ * DerivedSources.pri:
+
+2013-02-11 Gavin Barraclough <barraclough@apple.com>
+
+ PluginProcess should quit immediately if idle in response to low-memory notifications
+ https://bugs.webkit.org/show_bug.cgi?id=109103
+ <rdar://problem/12679827>
+
+ Reviewed by Brady Eidson.
+
+ PluginProcess now installs a MemoryPressureHandler for the process, providing
+ a custom callback which will call terminate if appropriate (if the plugin is not
+ currently in use).
+
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::lowMemoryHandler):
+ - Custom callback to terminate if appropriate.
+ (WebKit::PluginProcess::initializeProcess):
+ - Install the MemoryPressureHandler.
+ (WebKit::PluginProcess::shouldTerminate):
+ - This method now also needs to be callable in situations where it might return false.
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ - Added declaration for lowMemoryHandler.
+
+2013-02-11 Anders Carlsson <andersca@apple.com>
+
+ Move the PluginProcessCrashed message to PluginProcessConnectionManager
+ https://bugs.webkit.org/show_bug.cgi?id=109493
+
+ Reviewed by Andreas Kling.
+
+ This is in preparation for making PluginProcessConnectionManager a connection queue client.
+
+ * DerivedSources.make:
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didClose):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
+ (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
+ * WebProcess/Plugins/PluginProcessConnectionManager.h:
+ (PluginProcessConnectionManager):
+ * WebProcess/Plugins/PluginProcessConnectionManager.messages.in: Added.
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+ (WebKit::WebProcess::webResourceLoadScheduler):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/WebProcess.messages.in:
+
+2013-02-11 Benjamin Poulain <benjamin@webkit.org>
+
+ Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
+ https://bugs.webkit.org/show_bug.cgi?id=109349
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (InjectedBundle):
+
+2013-02-11 Dean Jackson <dino@apple.com>
+
+ Snapshotted plug-in should use shadow root
+ https://bugs.webkit.org/show_bug.cgi?id=108284
+
+ Reviewed by Simon Fraser.
+
+ Take three of this commit - after rollout in r142400 and r142405.
+ We no longer have any need for plugInStartLabelImage.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
+
+2013-02-11 Anders Carlsson <andersca@apple.com>
+
+ The plug-in process connection manager doesn't need to be heap allocated
+ https://bugs.webkit.org/show_bug.cgi?id=109479
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::pluginProcessConnectionManager):
+ (WebKit::WebProcess::pluginProcessCrashed):
+ * WebProcess/WebProcess.h:
+ (WebKit):
+ (WebProcess):
+
+2013-02-11 Tony Chang <tony@chromium.org>
+
+ Move setFrameFlatteningEnabled from layoutTestController to window.internals.settings
+ https://bugs.webkit.org/show_bug.cgi?id=87149
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Add setFrameFlatteningEnabled to the list of overridable values.
+
+2013-02-11 Claudio Saavedra <csaavedra@igalia.com>
+
+ [WK2][Notifications] Missing early return in populateCopyOfNotificationPermissions
+ https://bugs.webkit.org/show_bug.cgi?id=108459
+
+ Reviewed by Alexey Proskuryakov.
+
+ * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
+ (WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
+ Providers might return 0 and we will end up with a null-pointer dereference.
+ Early check against this.
+
+2013-02-10 Sam Weinig <sam@webkit.org>
+
+ Make the Plug-in XPCService build work even when building in Xcode
+ <rdar://problem/13011186>
+ https://bugs.webkit.org/show_bug.cgi?id=109392
+
+ Reviewed by Anders Carlsson.
+
+ * Configurations/DebugRelease.xcconfig:
+ Add a DEBUG_OR_RELEASE variable to test against.
+ * Configurations/PluginService.32.xcconfig:
+ * Configurations/PluginService.64.xcconfig:
+ In non-production builds, don't link against WebKit2, so that we don't get warnings about WebKit2.framework
+ not containing the right architectures. This is ok, as these services are not used in non-production builds.
+
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info.plist:
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm:
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist:
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info.plist:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info.plist:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm:
+ Switch off the the old idiom of defining a macro for the initializer function, and instead set
+ it in the Info.plist, so the XPCServiceBootstrapper can grab it.
+
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
+ (WebKit::XPCServiceEventHandler):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h:
+ (WebKit::XPCServiceEventHandler):
+ Get the entry point from the bundle, rather than the macro. This is not only a bit less gross,
+ but also allows us to build without having linked against WebKit2.framework.
+
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::shouldUseXPC):
+ Re-enable using XPC for plug-ins.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Update project.
+
+2013-02-10 Anders Carlsson <andersca@apple.com>
+
+ Add back code that was accidentally removed when moving plug-in enumeration back to the main thread
+ https://bugs.webkit.org/show_bug.cgi?id=109379
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::getPlugins):
+
+2013-02-10 Kent Tamura <tkent@chromium.org>
+
+ Unreviewed, rolling out r142347.
+ http://trac.webkit.org/changeset/142347
+ https://bugs.webkit.org/show_bug.cgi?id=108273
+
+ Because a depending change r142343 was rolled out.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle):
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle):
+
+2013-02-10 Kent Tamura <tkent@chromium.org>
+
+ Unreviewed, rolling out r142343.
+ http://trac.webkit.org/changeset/142343
+ https://bugs.webkit.org/show_bug.cgi?id=108284
+
+ It might make inspector/profiler/selector-profiler-url.html
+ crashy.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelImage):
+ (WebKit):
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
+ (InjectedBundlePageUIClient):
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::plugInStartLabelImage):
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient):
+
+2013-02-10 Zan Dobersek <zdobersek@igalia.com>
+
+ [WebKit2][Gtk] Remove the fullscreen manager proxy message receiver upon invalidating
+ https://bugs.webkit.org/show_bug.cgi?id=109352
+
+ Reviewed by Sam Weinig.
+
+ As added for the Mac port in r142160 due to the changes in the same revision, remove
+ the fullscreen manager proxy as a message receiver. Also fixes a failing unit test.
+
+ * UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp:
+ (WebKit::WebFullScreenManagerProxy::invalidate):
+
+2013-02-10 Zoltan Arvai <zarvai@inf.u-szeged.hu>
+
+ [WK2] Fix build on PLUGIN_ARCHITECTURE(UNSUPPORTED) after r142314
+ https://bugs.webkit.org/show_bug.cgi?id=109364
+
+ Reviewed by Simon Hausmann.
+
+ void NetscapePlugin::platformPreInitialize() is need to be added to NetscapePluginNone.cpp.
+
+ * WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:
+ (WebKit::NetscapePlugin::platformPreInitialize):
+ (WebKit):
+
+2013-02-09 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r137328.
+ http://trac.webkit.org/changeset/137328
+ https://bugs.webkit.org/show_bug.cgi?id=109367
+
+ causes memory usage to balloon if connection queue is filling
+ faster than sending (Requested by kling on #webkit).
+
+ * Platform/CoreIPC/ArgumentEncoder.cpp:
+ (CoreIPC::ArgumentEncoder::ArgumentEncoder):
+ (CoreIPC::ArgumentEncoder::grow):
+ * Platform/CoreIPC/ArgumentEncoder.h:
+ (CoreIPC::ArgumentEncoder::buffer):
+ (ArgumentEncoder):
+
+2013-02-08 Sam Weinig <sam@webkit.org>
+
+ Fix ASSERT when the Web Content Process crashes
+ https://bugs.webkit.org/show_bug.cgi?id=109346
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::processDidCrash):
+ We need to remove ourselves as a message receiver before calling out to the client, as
+ the client might want to re-add us (as Safari does).
+
+2013-02-08 Benjamin Poulain <bpoulain@apple.com>
+
+ Move workerThreadCount from TestRunner to WebCore Internals
+ https://bugs.webkit.org/show_bug.cgi?id=109239
+
+ Reviewed by Darin Adler.
+
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (InjectedBundle):
+ * WebProcess/WebPage/WebFrame.cpp: Remove a useless #include.
+
+2013-02-08 Dean Jackson <dino@apple.com>
+
+ Remove use of plugInStartLabelImage
+ https://bugs.webkit.org/show_bug.cgi?id=108273
+
+ Reviewed by Simon Fraser.
+
+ Remove any use of plugInStartLabelImage. While there, implement plugInStartLabelTitle
+ and plugInStartLabelSubtitle to return the values from the client.
+ implement them.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Remove callback and entry from client structure.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle): Ask the client bundle for value.
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle): Ditto.
+
+2013-02-08 Dean Jackson <dino@apple.com>
+
+ Snapshotted plug-in should use shadow root
+ https://bugs.webkit.org/show_bug.cgi?id=108284
+
+ Reviewed by Simon Fraser.
+
+ Take two of this commit! We no longer have any need for plugInStartLabelImage.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
+
+2013-02-08 Dean Jackson <dino@apple.com>
+
+ Rolling out r142333 and r142337 which broke Mac Release builds.
+
+2013-02-08 Anders Carlsson <andersca@apple.com>
+
+ Move plug-in enumeration back to the main thread
+ https://bugs.webkit.org/show_bug.cgi?id=109337
+ <rdar://problem/12015046>
+
+ Reviewed by Andreas Kling.
+
+ Plug-in enumeration was moved to a separate work queue to improve responsiveness, but
+ doing so lead to crashes when WebKit1 would enumerate plug-ins on the main thread at the same time.
+ Bug <rdar://problem/13185819> tracks fixing the responsiveness issue by spawning a plug-in process
+ and have it do the enumeration.
+
+ * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
+ (WebKit::getPluginInfoFromCarbonResources):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::connectionWillOpen):
+ (WebKit::WebProcessProxy::connectionWillClose):
+ (WebKit::WebProcessProxy::getPlugins):
+ * UIProcess/WebProcessProxy.h:
+ (WebCore):
+ (WebProcessProxy):
+ * UIProcess/WebProcessProxy.messages.in:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit):
+ (WebKit::WebPlatformStrategies::populatePluginCache):
+ * WebProcess/WebProcess.cpp:
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/WebProcess.messages.in:
+
+2013-02-08 Dean Jackson <dino@apple.com>
+
+ Snapshotted plug-in should use shadow root
+ https://bugs.webkit.org/show_bug.cgi?id=108284
+
+ Reviewed by Simon Fraser.
+
+ We no longer have any need for plugInStartLabelImage.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Remove plugInStartLabelImage.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp: Ditto.
+ * WebProcess/WebCoreSupport/WebChromeClient.h: Ditto.
+
+2013-02-08 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
+
+ [WK2] Fix the build on !Mac after r142314.
+ https://bugs.webkit.org/show_bug.cgi?id=109327
+
+ Reviewed by Benjamin Poulain.
+
+ * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+ (WebKit::NetscapePlugin::platformPreInitialize): Add a stub for
+ the newly-added function.
+
+ * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+ (WebKit::NetscapePlugin::platformPreInitialize):
+ (WebKit):
+
+2013-02-07 Anders Carlsson <andersca@apple.com>
+
+ Work around a bug in Flash where NSException objects can be released too early
+ https://bugs.webkit.org/show_bug.cgi?id=109242
+ <rdar://problem/13003470>
+
+ Reviewed by Darin Adler.
+
+ * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
+ (WebKit::NetscapePluginModule::determineQuirks):
+ Set the new plug-in quirk.
+
+ * Shared/Plugins/PluginQuirks.h:
+ Add a new plug-in quirk.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::initialize):
+ Call platformPreInitialize.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+ (NetscapePlugin):
+ Add platformPreInitialize.
+
+ * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
+ (WebKit::NSException_release):
+ Add new empty function.
+
+ (WebKit::NetscapePlugin::platformPreInitialize):
+ Patch -[NSException release] to be a no-op.
+
+2013-02-08 Dean Jackson <dino@apple.com>
+
+ Do not register autostart for plugins from file:// (or nowhere)
+ https://bugs.webkit.org/show_bug.cgi?id=108271
+
+ Reviewed by Tim Horton.
+
+ If the pageOrigin is the empty string don't add
+ it to the auto-start origin list for snapshotting.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::addPlugInAutoStartOrigin):
+
+2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r142212.
+ http://trac.webkit.org/changeset/142212
+ https://bugs.webkit.org/show_bug.cgi?id=109255
+
+ Causes ASSERT(!m_installed) on launch (Requested by smfr on
+ #webkit).
+
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::initializeProcess):
+ (WebKit::PluginProcess::shouldTerminate):
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess):
+
+2013-02-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [EFL][WK2] Remove dead code after r142169
+ https://bugs.webkit.org/show_bug.cgi?id=109251
+
+ Reviewed by Benjamin Poulain.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::contentsSizeChanged):
+
+2013-02-06 Gavin Barraclough <barraclough@apple.com>
+
+ PluginProcess should quit immediately if idle in response to low-memory notifications
+ https://bugs.webkit.org/show_bug.cgi?id=109103
+ <rdar://problem/12679827>
+
+ Reviewed by Darin Adler.
+
+ PluginProcess now initializes a MemoryPressureHandler for the process, providing
+ a custom callback which will call terminate if appropriate (if the plugin is not
+ currently in use).
+
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::lowMemoryHandler):
+ - Custom callback to terminate if appropriate.
+ (WebKit::PluginProcess::initializeProcess):
+ - Initialize the MemoryPressureHandler.
+ (WebKit::PluginProcess::shouldTerminate):
+ - This method now also needs to be callable in situations where it might return false.
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ - Added declaration for lowMemoryHandler.
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess):
+ - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
+
+2013-02-07 KwangYong Choi <ky0.choi@samsung.com>
+
+ Fix build warning after r142017
+ https://bugs.webkit.org/show_bug.cgi?id=109119
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+
+2013-02-07 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] Cleanup command-line defines
+ https://bugs.webkit.org/show_bug.cgi?id=109213
+
+ Reviewed by Xan Lopez.
+
+ * GNUmakefile.am: Remove references to flags that are now
+ provided by autotoolsconfig.h.
+
+2013-02-07 Benjamin Poulain <bpoulain@apple.com>
+
+ Move pauseAnimation/pauseTransition from TestRunner to Internals
+ https://bugs.webkit.org/show_bug.cgi?id=109107
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
+ * WebProcess/WebPage/WebFrame.cpp:
+ * WebProcess/WebPage/WebFrame.h:
+ (WebFrame):
+
+2013-02-07 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Removal of non coordinated graphics code path from WK2 EFL
+ https://bugs.webkit.org/show_bug.cgi?id=109165
+
+ Reviewed by Anders Carlsson.
+
+ Removed non coordinated graphics code path from WK2 EFL as it was not used by
+ anyone and caused a lot of preprocessor macros in the code making it less readable.
+
+ * UIProcess/API/efl/EvasGLContext.cpp:
+ * UIProcess/API/efl/EvasGLContext.h:
+ (WebKit::EvasGLContext::context):
+ * UIProcess/API/efl/EvasGLSurface.cpp:
+ * UIProcess/API/efl/EvasGLSurface.h:
+ (WebKit::EvasGLSurface::surface):
+
+ Removed also 'inline' and 'const' keywords from functions declaration,
+ as both EvasGLContext::context() and EvasGLSurface::surface()
+ are defined inside their classes and return mutable pointer.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ (EwkView::transformFromScene):
+ (EwkView::transformToScreen):
+ (EwkView::coordinatedGraphicsScene):
+ (EwkView::displayTimerFired):
+ (EwkView::scheduleUpdateDisplay): Renamed from EwkView::update().
+ (EwkView::exitAcceleratedCompositingMode):
+ (EwkView::handleEvasObjectCalculate):
+ (EwkView::takeSnapshot):
+ * UIProcess/API/efl/EwkView.h:
+ (WebCore):
+ (EwkView):
+ * UIProcess/API/efl/SnapshotImageGL.cpp:
+ (getImageSurfaceFromFrameBuffer):
+ * UIProcess/API/efl/SnapshotImageGL.h:
+ * UIProcess/API/efl/ewk_view.cpp:
+ * UIProcess/efl/PageClientBase.cpp:
+ (WebKit::PageClientBase::setViewNeedsDisplay):
+ (WebKit::PageClientBase::updateAcceleratedCompositingMode):
+ * UIProcess/efl/PageClientBase.h:
+ (PageClientBase):
+ * UIProcess/efl/PageClientDefaultImpl.cpp:
+ (WebKit::PageClientDefaultImpl::didCommitLoad):
+ (WebKit::PageClientDefaultImpl::updateViewportSize):
+ (WebKit::PageClientDefaultImpl::didChangeViewportProperties):
+ (WebKit::PageClientDefaultImpl::didChangeContentsSize):
+ (WebKit::PageClientDefaultImpl::pageTransitionViewportReady):
+ * UIProcess/efl/PageClientDefaultImpl.h:
+ (PageClientDefaultImpl):
+ * UIProcess/efl/PageClientLegacyImpl.cpp:
+ (WebKit::PageClientLegacyImpl::didCommitLoad):
+ (WebKit::PageClientLegacyImpl::updateViewportSize):
+ (WebKit::PageClientLegacyImpl::didChangeViewportProperties):
+ (WebKit::PageClientLegacyImpl::didChangeContentsSize):
+ (WebKit::PageClientLegacyImpl::pageDidRequestScroll):
+ (WebKit::PageClientLegacyImpl::didRenderFrame):
+ (WebKit::PageClientLegacyImpl::pageTransitionViewportReady):
+ * UIProcess/efl/PageClientLegacyImpl.h:
+ (PageClientLegacyImpl):
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
+ (WebKit::PageLoadClientEfl::PageLoadClientEfl):
+ * UIProcess/efl/PageLoadClientEfl.h:
+ (PageLoadClientEfl):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+ (WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ * UIProcess/efl/WebInspectorProxyEfl.cpp:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::contentsSizeChanged):
+
+2013-02-06 Sam Weinig <sam@webkit.org>
+
+ Make WebPageProxy and sub-objects MessageReceivers
+ https://bugs.webkit.org/show_bug.cgi?id=108785
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
+ (WebKit::CoordinatedLayerTreeHostProxy::~CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * UIProcess/DrawingAreaProxy.cpp:
+ (WebKit::DrawingAreaProxy::DrawingAreaProxy):
+ (WebKit::DrawingAreaProxy::~DrawingAreaProxy):
+ (WebKit::DrawingAreaProxy::contentsRect):
+ * UIProcess/DrawingAreaProxy.h:
+ (WebKit::DrawingAreaProxy::setVisibleContentsRect):
+ * UIProcess/DrawingAreaProxy.messages.in:
+ * UIProcess/DrawingAreaProxyImpl.cpp:
+ (WebKit::DrawingAreaProxyImpl::setVisibleContentsRect):
+ * UIProcess/DrawingAreaProxyImpl.h:
+ * UIProcess/WebFullScreenManagerProxy.cpp:
+ (WebKit::WebFullScreenManagerProxy::WebFullScreenManagerProxy):
+ * UIProcess/WebFullScreenManagerProxy.h:
+ (WebFullScreenManagerProxy):
+ * UIProcess/WebFullScreenManagerProxy.messages.in:
+ * UIProcess/WebInspectorProxy.cpp:
+ (WebKit::WebInspectorProxy::WebInspectorProxy):
+ (WebKit::WebInspectorProxy::invalidate):
+ * UIProcess/WebInspectorProxy.h:
+ * UIProcess/WebInspectorProxy.messages.in:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::WebPageProxy):
+ (WebKit::WebPageProxy::reattachToWebProcess):
+ (WebKit::WebPageProxy::close):
+ (WebKit::WebPageProxy::inspector):
+ (WebKit::WebPageProxy::fullScreenManager):
+ (WebKit::WebPageProxy::processDidCrash):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessage):
+ (WebKit::WebProcessProxy::didReceiveSyncMessage):
+ * UIProcess/mac/WebFullScreenManagerProxyMac.mm:
+ (WebKit::WebFullScreenManagerProxy::invalidate):
+
+2013-02-07 Zan Dobersek <zdobersek@igalia.com>
+
+ [Autotools] Remove uses of Automake FARSTREAM_(CFLAGS|LIBS) variables, USE_FARSTREAM conditional
+ https://bugs.webkit.org/show_bug.cgi?id=109198
+
+ Reviewed by Martin Robinson.
+
+ * GNUmakefile.am: Remove the FARSTREAM_(CFLAGS|LIBS) variables, they're
+ not set to anything.
+
+2013-02-07 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [WK2][EFL] Add WKView methods related to background drawing
+ https://bugs.webkit.org/show_bug.cgi?id=109159
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewSetDrawsBackground):
+ (WKViewGetDrawsBackground):
+ (WKViewSetDrawsTransparentBackground):
+ (WKViewGetDrawsTransparentBackground):
+ * UIProcess/efl/WebView.cpp:
+ (WebKit::WebView::setDrawsBackground):
+ (WebKit):
+ (WebKit::WebView::drawsBackground):
+ (WebKit::WebView::setDrawsTransparentBackground):
+ (WebKit::WebView::drawsTransparentBackground):
+ * UIProcess/efl/WebView.h:
+ (WebView):
+ * UIProcess/API/C/efl/WKView.h:
+
+ New methods added
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ (EwkView::displayTimerFired):
+ (EwkView::handleEvasObjectColorSet):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_draws_page_background_set):
+
+ Remove the unneeded m_setDrawsBackground and replace
+ it with the WKView setting.
+
+2013-02-07 Christophe Dumez <dchris@gmail.com>
+
+ [EFL][WK2] EWK2UnitTestBase.ewk_view_page_contents_get API test is sometimes failing
+ https://bugs.webkit.org/show_bug.cgi?id=108634
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use more robust data validation in EWK2UnitTestBase.ewk_view_page_contents_get
+ so that the test passes consistently. The issue was that the header before the
+ data includes the current date. Depending on the date, the data may start at a
+ different index in the returned string. Instead of hardcoding the data start
+ index in the test, we now use String::contains().
+
+ * UIProcess/API/efl/tests/test_ewk2_view.cpp:
+ (PageContentsCallback):
+ (TEST_F):
+
+2013-02-07 Gavin Peters <gavinp@chromium.org>
+
+ Unreviewed, rolling out r142141.
+ http://trac.webkit.org/changeset/142141
+ https://bugs.webkit.org/show_bug.cgi?id=108990
+
+ Reland r142112, will update Chromium expectations and create a
+ Chromium bug instead for the crash.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::DrawingAreaImpl):
+
+2013-02-07 Gavin Peters <gavinp@chromium.org>
+
+ Unreviewed, rolling out r142112.
+ http://trac.webkit.org/changeset/142112
+ https://bugs.webkit.org/show_bug.cgi?id=108990
+
+ The new test scrollingcoordinator/non-fast-scrollable-region-transformed- iframe.html crashes on Lion.
+
+ See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=scrollingcoordinator%2Fnon-fast-scrollable-region-transformed-iframe.html
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::updateOffsetFromViewportForSelf):
+ (WebKit):
+ (WebKit::updateOffsetFromViewportForLayer):
+ (WebKit::CoordinatedLayerTreeHost::syncFixedLayers):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::DrawingAreaImpl):
+
+2013-02-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [CoordinatedGraphics] Use ScrollingCoordinator to track fixed layers
+ https://bugs.webkit.org/show_bug.cgi?id=108990
+
+ Reviewed by Noam Rosenthal.
+ Signed off for WebKit2 by Simon Fraser.
+
+ WebCore keeps ScrollingCoordinator up-to-date about whether layers are fixed or not, so we
+ don't need to traverse the tree every frame to get this information.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp: remove
+ syncFixedLayers() and its helper functions. Those were used to identify the fixed layers
+ and are not needed anymore.
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::DrawingAreaImpl): enable the scrolling coordinator usage for
+ Coordinated Graphics.
+
+2013-02-07 Michael Brüning <michael.bruning@digia.com>
+
+ [Qt][WK2] Fold QtWebPageLoadClient into QQuickWebViewPrivate and move to C API.
+ https://bugs.webkit.org/show_bug.cgi?id=108473
+
+ Reviewed by Simon Hausmann.
+ Signed off for WebKit2 by Benjamin Poulain.
+
+ This patch removes the QtWebPageLoadClient and moves the functionality into the
+ QQuickWebViewPrivate as most callback methods are calling the private webview
+ indirectly anyway.
+
+ The patch also moves as much of the functionality to the C API as is possible with
+ the current C API.
+
+ * Target.pri:
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ (QQuickWebViewPrivate::didStartProvisionalLoadForFrame):
+ (QQuickWebViewPrivate::didReceiveServerRedirectForProvisionalLoadForFrame):
+ (QQuickWebViewPrivate::didFailLoad):
+ (QQuickWebViewPrivate::didCommitLoadForFrame):
+ (QQuickWebViewPrivate::didFinishLoadForFrame):
+ (QQuickWebViewPrivate::didSameDocumentNavigationForFrame):
+ (QQuickWebViewPrivate::didReceiveTitleForFrame):
+ (QQuickWebViewPrivate::didStartProgress):
+ (QQuickWebViewPrivate::didChangeProgress):
+ (QQuickWebViewPrivate::didFinishProgress):
+ (QQuickWebViewPrivate::didChangeBackForwardList):
+ (QQuickWebViewPrivate::setTransparentBackground):
+ (QQuickWebViewPrivate::transparentBackground):
+ (QQuickWebViewPrivate::loadProgressDidChange):
+ * UIProcess/API/qt/qquickwebview_p.h:
+ (WebKit):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (WebKit):
+ (QQuickWebViewPrivate):
+ * UIProcess/qt/QtWebError.cpp:
+ (WebKit::QtWebError::url):
+ * UIProcess/qt/QtWebPageLoadClient.cpp: Removed.
+ * UIProcess/qt/QtWebPageLoadClient.h: Removed.
+
+2013-02-05 Eunmi Lee <eunmi15.lee@samsung.com> and Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
+
+ [EFL][WK2] Refactoring initialization and shutdown codes of EFL libraries.
+ https://bugs.webkit.org/show_bug.cgi?id=97173
+
+ Reviewed by Kenneth Rohde Christiansen, signed-off by Benjamin Poulain.
+
+ Initialize and shutdown the EFL libraries in the ewk_main.cpp for
+ UIProcess and WebProcessMainEfl.cpp for WebProcess.
+
+ This allows us to shut down the libraries in a proper way, since
+ RunLoop persist until the process exits.
+
+ * UIProcess/API/efl/ewk_main.cpp:
+ (ewk_init):
+ (ewk_shutdown):
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ (WebKit::WebProcessMainEfl):
+
+2013-02-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Unreviewed build fix.
+
+ * UIProcess/Downloads/DownloadProxyMap.cpp:
+ (WebKit::DownloadProxyMap::processDidClose):
+ m_process can't be initialized nullptr yet. Use 0 instead of nullptr.
+
+2013-02-07 Simon Hausmann <simon.hausmann@digia.com>
+
+ [Qt][WK2] Fold QtWebPageFindClient into QQuickWebViewPrivate
+ https://bugs.webkit.org/show_bug.cgi?id=108920
+
+ Reviewed by Jocelyn Turcotte, signed off for WK2 by Benjamin.
+
+ Employ the pattern suggested by Jocelyn to simply implement the C
+ callbacks directly using static functions.
+
+ * Target.pri:
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (toQQuickWebViewPrivate):
+ (QQuickWebViewPrivate::initialize):
+ (QQuickWebViewPrivate::didFindString):
+ (QQuickWebViewPrivate::didFailToFindString):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (QQuickWebViewPrivate):
+ * UIProcess/qt/QtWebPageFindClient.cpp: Removed.
+ * UIProcess/qt/QtWebPageFindClient.h: Removed.
+
+2013-02-03 Sam Weinig <sam@webkit.org>
+
+ Make CustomProtocolManagerProxy a MessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=108787
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/ChildProcessProxy.cpp:
+ (WebKit::ChildProcessProxy::addMessageReceiver):
+ (WebKit::ChildProcessProxy::removeMessageReceiver):
+ (WebKit::ChildProcessProxy::dispatchMessage):
+ (WebKit::ChildProcessProxy::dispatchSyncMessage):
+ * Shared/ChildProcessProxy.h:
+ Sink the MessageReceiverMap down into the ChildProcessProxy.
+
+ * UIProcess/Downloads/DownloadProxyMap.cpp:
+ (WebKit::DownloadProxyMap::DownloadProxyMap):
+ (WebKit::DownloadProxyMap::createDownloadProxy):
+ (WebKit::DownloadProxyMap::downloadFinished):
+ (WebKit::DownloadProxyMap::processDidClose):
+ * UIProcess/Downloads/DownloadProxyMap.h:
+ Pass the ChildProcessProxy rather than the MessageReceiverMap to the constructor.
+
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
+ * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
+ (WebKit::CustomProtocolManagerProxy::CustomProtocolManagerProxy):
+ Convert to a MessageReceiver.
+
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::createDownloadProxy):
+ (WebKit::NetworkProcessProxy::didReceiveMessage):
+ (WebKit::NetworkProcessProxy::didReceiveSyncMessage):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessage):
+ (WebKit::WebProcessProxy::didReceiveSyncMessage):
+ (WebKit::WebProcessProxy::createDownloadProxy):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ Remove direct chaining to CustomProtocolManagerProxy.
+
+2013-02-06 Enrica Casucci <enrica@apple.com>
+
+ ASSERT(!m_findPageOverlay) in FindController.cpp after r140769.
+ https://bugs.webkit.org/show_bug.cgi?id=109105.
+
+ Reviewed by Tim Horton.
+
+ In r140769 we changed the way the overlay is destroyed,
+ therefore the assert is no longer valid and should be removed.
+
+ * WebProcess/WebPage/FindController.cpp:
+ (WebKit::FindController::updateFindUIAfterPageScroll):
+
+2013-02-06 Anders Carlsson <andersca@apple.com>
+
+ Dispatch storage manager messages to the storage work queue
+ https://bugs.webkit.org/show_bug.cgi?id=109099
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
+ (WebKit::StorageManager::dispatchMessageOnStorageManagerQueue):
+ (WebKit):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+
+2013-02-06 Anders Carlsson <andersca@apple.com>
+
+ Pass the document source URL to the pluginLoadPolicy callback
+ https://bugs.webkit.org/show_bug.cgi?id=109084
+ <rdar://problem/13154516>
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebUIClient.cpp:
+ (WebKit::WebUIClient::pluginLoadPolicy):
+ * UIProcess/WebUIClient.h:
+ (WebUIClient):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::createPlugin):
+ (WebKit::WebPage::canPluginHandleResponse):
+
+2013-02-06 Alexey Proskuryakov <ap@apple.com>
+
+ Get rid of unneeded writeable preferences.
+
+ Reviewed by Anders Carlsson.
+
+ com.apple.HIToolbox.plist and com.apple.WebProcess.plist were made writeable very
+ early in WebKit2 development, before we moved a lot of functionality to UI process.
+ They don't appear to be needed any more.
+
+ Note that we do not even need to allow reading for com.apple.WebProcess.plist -
+ it's read at process initialization before we enter the sandbox, and services
+ have a different plist anyway.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-02-06 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
+
+ [EFL][WK2] Assertion failure on MiniBrowser exit
+ https://bugs.webkit.org/show_bug.cgi?id=108932
+
+ Reviewed by Anders Carlsson.
+
+ WorkQueue is now refcounted after r141497, so increase ref
+ count when a new job is scheduled and unref it when it finishes.
+
+ * Platform/efl/WorkQueueEfl.cpp:
+ (WorkQueue::performWork):
+ (WorkQueue::performTimerWork):
+ (WorkQueue::dispatch):
+ (WorkQueue::dispatchAfterDelay):
+
+2013-02-06 Simon Hausmann <simon.hausmann@digia.com>, Zoltan Arvai <zarvai@inf.u-szeged.hu>
+
+ [WK2][Win] Fix build after MessageID.h related changes and after r141619.
+ https://bugs.webkit.org/show_bug.cgi?id=108612
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/win/ConnectionWin.cpp:
+ (CoreIPC::Connection::platformInvalidate):
+ (CoreIPC::Connection::readEventHandler):
+ (CoreIPC::Connection::open):
+ (CoreIPC::Connection::sendOutgoingMessage):
+ * Platform/WorkQueue.h:
+ (WorkQueue::WorkItemWin::queue):
+ (WorkItemWin):
+ * Platform/win/SharedMemoryWin.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * Platform/win/WorkQueueWin.cpp:
+ (WorkQueue::handleCallback):
+ (WorkQueue::performWorkOnRegisteredWorkThread):
+
+2013-02-06 Mike West <mkwst@chromium.org>
+
+ Add an ENABLE_NOSNIFF feature flag.
+ https://bugs.webkit.org/show_bug.cgi?id=109029
+
+ Reviewed by Jochen Eisinger.
+
+ This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
+ when processing script and other resource types.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-06 Marja Hölttä <marja@chromium.org>
+
+ Take referrer policy into account when clearing the referrer header
+ https://bugs.webkit.org/show_bug.cgi?id=86000
+
+ Reviewed by Alexey Proskuryakov.
+
+ The referrer should only be cleared when doing a https -> http redirect,
+ if the policy is "default". Otherwise the referrer should be left intact.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::start):
+ * NetworkProcess/SchedulableLoader.cpp:
+ (WebKit::SchedulableLoader::SchedulableLoader):
+ * NetworkProcess/SchedulableLoader.h:
+ (WebKit::SchedulableLoader::shouldClearReferrerOnHTTPSToHTTPRedirect):
+ (SchedulableLoader):
+ * NetworkProcess/SyncNetworkResourceLoader.cpp:
+ (WebKit::SyncNetworkResourceLoader::start):
+ * NetworkProcess/mac/RemoteNetworkingContext.h:
+ (WebKit::RemoteNetworkingContext::create):
+ (RemoteNetworkingContext):
+ * NetworkProcess/mac/RemoteNetworkingContext.mm:
+ (WebKit::RemoteNetworkingContext::shouldClearReferrerOnHTTPSToHTTPRedirect):
+ (WebKit):
+ (WebKit::RemoteNetworkingContext::RemoteNetworkingContext):
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::NetworkResourceLoadParameters):
+ (WebKit::NetworkResourceLoadParameters::encode):
+ (WebKit::NetworkResourceLoadParameters::decode):
+ * Shared/Network/NetworkResourceLoadParameters.h:
+ (NetworkResourceLoadParameters):
+ (WebKit::NetworkResourceLoadParameters::shouldClearReferrerOnHTTPSToHTTPRedirect):
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::scheduleSubresourceLoad):
+ (WebKit::WebResourceLoadScheduler::schedulePluginStreamLoad):
+ (WebKit::WebResourceLoadScheduler::scheduleLoad):
+ * WebProcess/Network/WebResourceLoadScheduler.h:
+ (WebResourceLoadScheduler):
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::loadResourceSynchronously):
+
+2013-02-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] Encapsulate Ewk View evas smart object code inside EwkView class
+ https://bugs.webkit.org/show_bug.cgi?id=108062
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ The Ewk View implementation is encapsulated within EwkView class.
+ Besides multiple refactoring of Ewk View evas smart object code was made.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (createWKView):
+
+ Aux function to share WKView creation implementation.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (smartDataChanged):
+ (defaultSmartClassInstance):
+ (toSmartData):
+ (EwkView::initSmartClassInterface):
+ (EwkView::toEvasObject):
+ (EwkView::smartData):
+
+ Renamed and moved here from ewk_view.
+
+ (EwkViewEventHandler):
+ (EwkViewEventHandler::subscribe):
+ (EwkViewEventHandler::unsubscribe):
+ (::handleEvent):
+
+ Added a new template class to encapsulate Ewk View Evas events handling.
+
+ (EwkView::EwkView):
+ (EwkView::~EwkView):
+
+ Constructor and desctructor are private.
+
+ (EwkView::createEvasObject):
+
+ Added factory function for ewk view evas objects creation.
+
+ (EwkView::handleEvasObjectAdd):
+ (EwkView::handleEvasObjectDelete):
+ (EwkView::handleEvasObjectResize):
+ (EwkView::handleEvasObjectMove):
+ (EwkView::handleEvasObjectCalculate):
+ (EwkView::handleEvasObjectShow):
+ (EwkView::handleEvasObjectHide):
+ (EwkView::handleEvasObjectColorSet):
+
+ Evas_Smart_Class interface callbacks moved into the EwkView class.
+
+ (EwkView::handleEwkViewFocusIn):
+ (EwkView::handleEwkViewFocusOut):
+ (EwkView::handleEwkViewMouseWheel):
+ (EwkView::handleEwkViewMouseDown):
+ (EwkView::handleEwkViewMouseUp):
+ (EwkView::handleEwkViewMouseMove):
+ (EwkView::handleEwkViewKeyDown):
+ (EwkView::handleEwkViewKeyUp):
+
+ Ewk_View_Smart_Class interface callback moved into the EwkView class.
+
+ (EwkView::handleTouchDown):
+ (EwkView::handleTouchUp):
+ (EwkView::handleTouchMove):
+
+ Renamed.
+
+ (toEwkView):
+
+ Aux function to get the EwkView instance fromevas object.
+
+ (isViewEvasObject):
+
+ Aux function to check that given evas object is ewk view.
+
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView::evasObject):
+ (EwkView):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_smart_class_set):
+ (ewk_view_smart_add):
+ (ewk_view_add_with_context):
+ (ewk_view_feed_touch_event):
+ (Ewk_Page_Contents_Context):
+
+ * UIProcess/API/efl/ewk_view_private.h: Removed.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewCreate):
+ (WKViewCreateWithFixedLayout):
+ (WKViewCreateSnapshot):
+ * UIProcess/cairo/BackingStoreCairo.cpp:
+ (WebKit::BackingStore::incorporateUpdate):
+ * UIProcess/efl/ContextHistoryClientEfl.cpp:
+ (WebKit::ContextHistoryClientEfl::didNavigateWithNavigationData):
+ (WebKit::ContextHistoryClientEfl::didPerformClientRedirect):
+ (WebKit::ContextHistoryClientEfl::didPerformServerRedirect):
+ (WebKit::ContextHistoryClientEfl::didUpdateHistoryTitle):
+ * UIProcess/efl/PageClientBase.cpp:
+ (WebKit::PageClientBase::processDidCrash):
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didChangeBackForwardList):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::takeFocus):
+ (WebKit::PageUIClientEfl::focus):
+ (WebKit::PageUIClientEfl::unfocus):
+ * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
+ (WebKit::WebFullScreenManagerProxy::enterFullScreen):
+ (WebKit::WebFullScreenManagerProxy::exitFullScreen):
+ * UIProcess/efl/WebInspectorProxyEfl.cpp:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ * UIProcess/efl/WebPageProxyEfl.cpp:
+ (WebKit::WebPageProxy::viewWidget):
+
+ Updated due to changes in EwkView interface.
+
+2013-02-05 Tim Horton <timothy_horton@apple.com>
+
+ [wk2] TiledCoreAnimationDrawingArea has one more layer in its CAContext when we're in the background
+ https://bugs.webkit.org/show_bug.cgi?id=108992
+ <rdar://problem/13087365>
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea): Add storage for m_isInWindow.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::updateLayerHostingContext): Only set the root layer on our layer
+ hosting context if we're in the window when swapping out contexts.
+ (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer): Update m_isInWindow, and set the root layer
+ of the layer hosting context (or unset it if we're out of the window).
+
+2013-02-05 Anders Carlsson <andersca@apple.com>
+
+ WebKit clients should be able to override loading of blocked plug-ins
+ https://bugs.webkit.org/show_bug.cgi?id=108968
+ <rdar://problem/13154516>
+
+ Reviewed by Sam Weinig.
+
+ Replace the shouldInstantiatePlugin callback with a new pluginLoadPolicy which is called regardless
+ of whether the plug-in is blocked or not. This lets clients override the plug-in load policy and
+ force loading of blacklisted plug-ins (and vice versa).
+
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath):
+ * UIProcess/WebUIClient.cpp:
+ (WebKit::toWKPluginLoadPolicy):
+ (WebKit):
+ (WebKit::toPluginModuleLoadPolicy):
+ (WebKit::WebUIClient::pluginLoadPolicy):
+ * UIProcess/WebUIClient.h:
+ (WebUIClient):
+
+2013-02-05 Simon Hausmann <simon.hausmann@digia.com>
+
+ [Qt][WK2] Replace more uses of WebPageProxy with WKPage in QQuickWebView
+ https://bugs.webkit.org/show_bug.cgi?id=108826
+
+ Reviewed by Kenneth Rohde Christiansen and signed off for WK2 by
+ Benjamin Poulain.
+
+ This patch converts a few more usages of WebPageProxy to functions in
+ the WKPage API.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ (QQuickWebViewLegacyPrivate::zoomFactor):
+ (QQuickWebViewLegacyPrivate::setZoomFactor):
+ (QQuickWebViewExperimental::postMessage):
+ (QQuickWebViewExperimental::userAgent):
+ (QQuickWebViewExperimental::setUserAgent):
+ (QQuickWebViewExperimental::evaluateJavaScript):
+ (QQuickWebViewExperimental::findText):
+ (QQuickWebView::goBack):
+ (QQuickWebView::goForward):
+ (QQuickWebView::stop):
+ (QQuickWebView::reload):
+ (QQuickWebView::setUrl):
+ (QQuickWebView::canGoBack):
+ (QQuickWebView::canGoForward):
+ (QQuickWebView::loading):
+ (QQuickWebView::title):
+ (QQuickWebView::pageRef):
+ (QQuickWebView::loadHtml):
+ (QQuickWebView::runJavaScriptInMainFrame):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (QQuickWebViewPrivate):
+
+2013-02-04 Gwang Yoon Hwang <ryumiel@company100.net>
+
+ Coordinated Graphics : disconnectCustomFilterProgram does not do anything.
+ https://bugs.webkit.org/show_bug.cgi?id=108807
+
+ Reviewed by Anders Carlsson.
+
+ We need to add newly created WebCustomFilterProgramProxy to a hashset to
+ disconnect when CoordinatedLayerTreeHost gets destructed.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::checkCustomFilterProgramProxies):
+
+2013-02-04 Benjamin Poulain <bpoulain@apple.com>
+
+ Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
+ https://bugs.webkit.org/show_bug.cgi?id=108741
+
+ Reviewed by Tony Chang.
+
+ Suspending and resuming application has been useless for a one. Someone just
+ "forgot" WebKit2.
+
+ * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
+ * WebProcess/WebPage/WebFrame.cpp:
+ * WebProcess/WebPage/WebFrame.h:
+ (WebFrame):
+
+2013-02-04 Jaehun Lim <ljaehun.lim@samsung.com>
+
+ [EFL][WK2] Implement runBeforeUnloadConfirmPanel on EFL
+ https://bugs.webkit.org/show_bug.cgi?id=106979
+
+ Reviewed by Benjamin Poulain.
+
+ Implement runBeforeUnloadConfirmPanel() to support window.onbeforeunload.
+ We can show confirmation window when beforeunload event is fired.
+
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::PageUIClientEfl):
+ (WebKit::PageUIClientEfl::runBeforeUnloadConfirmPanel):
+ (WebKit):
+ * UIProcess/efl/PageUIClientEfl.h:
+ (PageUIClientEfl):
+
+2013-02-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][WK2] Introduce a WebView class as counterpart for WKViewRef
+ https://bugs.webkit.org/show_bug.cgi?id=107931
+
+ Reviewed by Anders Carlsson.
+
+ This is just one step of the new plan for the EFL API.
+
+ The plan is to move the public EFL-like API on top of the shared
+ WK2 C API, plus a few EFL extensions (WKView class mostly).
+
+ The EFL-like API can be seen as a convenience API which ties
+ well into EFL and which makes it easy to add web experiences
+ to existing and new EFL applications. It provides a smart object
+ like API and a Evas_Object based view.
+
+ For more advanced use cases, such as browser and runtime, it is
+ possible to use the WK* C API, which is gives more flexibility
+ while being more low level.
+
+ The idea is that the WKView class will not depend on Evas_Object
+ and X11 (future plan) unlike the current EFL-like API. This should
+ make it possible to use it for cases where none of these are
+ available.
+
+ This patch introduces the WebView class which serves as our
+ counterpart for the WKView class, and adds a few needed methods.
+
+ The EwkView owns the WebView class (and will be constructing it
+ in the near future when the EwkView class has been changed to
+ handle all smart object related code)
+
+ The clean up of the smart object related code as the proper
+ construction of EwkView and WebView will be done in follow-up
+ patches.
+
+ * UIProcess/API/C/efl/WKAPICastEfl.h:
+ (WebKit):
+
+ The WKView API is not based on WebView and not Evas_Object*
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewCreate):
+ (WKViewCreateWithFixedLayout):
+ (WKViewInitialize):
+ (WKViewGetPage):
+ (WKViewSetThemePath):
+ (WKViewSuspendActiveDOMObjectsAndAnimations):
+ (WKViewResumeActiveDOMObjectsAndAnimations):
+ (WKViewGetEvasObject):
+ (WKViewCreateSnapshot):
+
+ Add a few new WKView EFL C methods, and update existing
+ methods to reflect that the WKViewRef is now a WebView*
+
+ The construction methods will be rewritten when the smart
+ object construction has been solved.
+
+ * UIProcess/API/C/efl/WKView.h:
+ * UIProcess/efl/WebView.cpp: Added.
+ (WebKit):
+ (WebKit::WebView::WebView):
+ (WebKit::WebView::~WebView):
+ (WebKit::WebView::initialize):
+ (WebKit::WebView::setThemePath):
+ (WebKit::WebView::suspendActiveDOMObjectsAndAnimations):
+ (WebKit::WebView::resumeActiveDOMObjectsAndAnimations):
+ * UIProcess/efl/WebView.h: Added.
+ (WebKit):
+ (WebView):
+ (WebKit::WebView::pageRef):
+ (WebKit::WebView::evasObject):
+ (WebKit::WebView::page):
+ (WebKit::WebView::type):
+
+ Add a new WebKit::WebView class for EFL.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ (EwkView::~EwkView):
+ (EwkView::wkPage):
+ (EwkView::setThemePath):
+ (EwkView::createGLSurface):
+
+ Base methods on C API instead of internal API as much
+ as currently possible.
+
+ * UIProcess/API/efl/EwkView.h:
+ (WebKit):
+ (WebView):
+ (EwkView):
+ (EwkView::wkView):
+ (EwkView::page):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (createEwkView):
+ (ewk_view_base_add):
+ (ewk_view_smart_add):
+
+ Modify to return the EwkView class for now.
+
+ * UIProcess/API/efl/ewk_view_private.h:
+ * UIProcess/efl/WebInspectorProxyEfl.cpp:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+
+ Updated due to changed API.
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Set up the storage manager as a connection queue
+ https://bugs.webkit.org/show_bug.cgi?id=108879
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::processWillOpenConnection):
+ Add the storage manager as a connection queue client.
+
+ (WebKit::StorageManager::processWillCloseConnection):
+ Remove the storage manager.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::processWillOpenConnection):
+ Call the storage manager.
+
+ (WebKit::WebContext::processWillCloseConnection):
+ Call the storage manager.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::connectionWillOpen):
+ Call the context.
+
+ (WebKit::WebProcessProxy::connectionWillClose):
+ Call the context.
+
+ (WebKit::WebProcessProxy::didFinishLaunching):
+ Remove a comment.
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Send message when creating and destroying StorageAreaProxy objects
+ https://bugs.webkit.org/show_bug.cgi?id=108874
+
+ Reviewed by Sam Weinig.
+
+ * Shared/SecurityOriginData.cpp:
+ (WebKit::SecurityOriginData::fromSecurityOrigin):
+ * Shared/SecurityOriginData.h:
+ (SecurityOriginData):
+ Add helper function for creating a SecurityOriginData object given a WebCore::SecurityOrigin object.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::generateStorageAreaID):
+ New function to create a unique storage area ID.
+
+ (WebKit::StorageAreaProxy::StorageAreaProxy):
+ Send a CreateStorageArea message.
+
+ (WebKit::StorageAreaProxy::~StorageAreaProxy):
+ Send a DestroyStorageArea message.
+
+ (WebKit::StorageAreaProxy::contains):
+ Remove this assertion for now, it fires too often.
+
+ * WebProcess/Storage/StorageNamespaceProxy.h:
+ (WebKit::StorageNamespaceProxy::storageNamespaceID):
+ Add getter.
+
+2013-02-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][WK2] Use C API inside EwkView
+ https://bugs.webkit.org/show_bug.cgi?id=108825
+
+ Reviewed by Anders Carlsson.
+
+ A straight-forward port towards the C API.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView): Use C API for common default preferences.
+ (EwkView::wkPage): Make it const and remove useless comment.
+ (EwkView::deviceScaleFactor):
+ (EwkView::title):
+ (EwkView::customTextEncodingName):
+ (EwkView::setCustomTextEncodingName):
+ (EwkView::informURLChange):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+
+2013-02-04 Alexey Proskuryakov <ap@apple.com>
+
+ Remove an unnecessary sandbox rule.
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/com.apple.WebProcess.sb.in: We already have a file-read rule for
+ /Library/Managed Preferences, no need for another rule for something inside it.
+
+2013-02-04 Brady Eidson <beidson@apple.com>
+
+ WebProcess crashes handling repeated NetworkProcess crashes.
+ <rdar://problem/13049867> and https://bugs.webkit.org/show_bug.cgi?id=108861
+
+ Reviewed by Alexey Proskuryakov.
+
+ - Rename the concept of "unschedulable loader" to "internally failed loader"
+ - When the NetworkProcess crashes, add all outstanding ResourceLoaders into the unschedulable pile.
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::WebResourceLoadScheduler):
+ (WebKit::WebResourceLoadScheduler::scheduleLoad):
+ (WebKit::WebResourceLoadScheduler::scheduleInternallyFailedLoad):
+ (WebKit::WebResourceLoadScheduler::internallyFailedLoadTimerFired):
+ (WebKit::WebResourceLoadScheduler::remove): Also remove a non-helpful, out of date comment.
+ (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
+ * WebProcess/Network/WebResourceLoadScheduler.h:
+
+ WebResourceLoader no longer responds to crashes directly, but now exposes its WebCore ResourceLoader:
+ * WebProcess/Network/WebResourceLoader.cpp:
+ * WebProcess/Network/WebResourceLoader.h:
+ (WebKit::WebResourceLoader::resourceLoader):
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Update message generation to use the new queue client semantics
+ https://bugs.webkit.org/show_bug.cgi?id=108865
+
+ Reviewed by Andreas Kling.
+
+ * Scripts/webkit2/messages.py:
+ (connection_work_queue_message_statement):
+ (async_message_statement):
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-02-04 Abhishek Arya <inferno@chromium.org>
+
+ Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
+ https://bugs.webkit.org/show_bug.cgi?id=108668
+
+ Reviewed by Eric Seidel.
+
+ * Shared/mac/SandboxExtensionMac.mm:
+ (WebKit::SandboxExtension::HandleArray::operator[]):
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Change didReceiveMessageOnConnectionWorkQueue semantics
+ https://bugs.webkit.org/show_bug.cgi?id=108859
+
+ Reviewed by Sam Weinig.
+
+ Change didReceiveMessageOnConnectionWorkQueue to take a reference to an
+ OwnPtr<MessageDecoder>. This lets queue clients handle a message later, on a different
+ work queue for example. Also, get rid of the didHandleMessage boolean, since taking ownership
+ of the decoder implicitly means that the message was handled.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::processIncomingMessage):
+ * Platform/CoreIPC/Connection.h:
+ (QueueClient):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::StorageManager):
+ (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/Storage/StorageManager.h:
+ (WebKit):
+ (StorageManager):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-02-04 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12884778> Sandbox violation due to MediaAccessibility code trying to access ~/Library/Preferences/com.apple.mediaaccessibility.plist
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Add didCloseOnConnectionWorkQueue to Connection::QueueClient
+ https://bugs.webkit.org/show_bug.cgi?id=108853
+
+ Reviewed by Andreas Kling.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::connectionDidClose):
+ * Platform/CoreIPC/Connection.h:
+ (QueueClient):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didCloseOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::didCloseOnConnectionWorkQueue):
+ (WebKit):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didCloseOnConnectionWorkQueue):
+ (WebKit):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didCloseOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didCloseOnConnectionWorkQueue):
+ (WebKit):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didCloseOnConnectionWorkQueue):
+ (WebKit):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-02-04 Martin Robinson <mrobinson@igalia.com>
+
+ Fix GTK+ 'make dist' in preparation for the 1.11.5 release.
+
+ * GNUmakefile.am:
+ * GNUmakefile.list.am:
+
+2013-02-04 Enrica Casucci <enrica@apple.com>
+
+ Add specific EditActions for Bold and Italic commands.
+ https://bugs.webkit.org/show_bug.cgi?id=108842.
+ <rdar://problem/13098252>
+
+ Reviewed by Ryosuke Niwa.
+
+ * UIProcess/WebEditCommandProxy.cpp:
+ (WebKit::WebEditCommandProxy::nameForEditAction):
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Use a separate queue for the connection watchdog callback in the web process
+ https://bugs.webkit.org/show_bug.cgi?id=108844
+
+ Reviewed by Andreas Kling.
+
+ Don't pass the connection work queue to the didCloseOnConnectionWorkQueue callback.
+ Instead, create a new, temporary work queue where the exit call will be dispatched to.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::connectionDidClose):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ * Shared/ChildProcess.cpp:
+ (WebKit::didCloseOnConnectionWorkQueue):
+
+2013-02-04 Tim Horton <timothy_horton@apple.com>
+
+ Allow TiledCoreAnimationDrawingArea overlay layers to become tiled
+ https://bugs.webkit.org/show_bug.cgi?id=108729
+ <rdar://problem/13047546>
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea): Add didCommitChangesForLayer and storage for the
+ current PlatformLayer corresponding to m_pageOverlayLayer.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::flushLayers): Update the TileCache's visible rect.
+ (WebKit::TiledCoreAnimationDrawingArea::setExposedRect): Forward exposed rect changes to the page overlay layer, if it's tiled.
+ (WebKit::TiledCoreAnimationDrawingArea::mainFrameScrollabilityChanged): Forward scrollability changes to the page overlay layer, if it's tiled.
+ (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer): Allow the page overlay layer to become tiled. Update its exposed rect and whether or not it respects the exposed rect if it's tiled upon creation.
+ (WebKit::TiledCoreAnimationDrawingArea::didCommitChangesForLayer): If a GraphicsLayer's platform layer changes (because it switched to or from a tiled layer), reparent it. If it's switching to a tiled layer, update the exposed rect and whether or not it should respect the exposed rect.
+
+2013-02-04 Anders Carlsson <andersca@apple.com>
+
+ Use UNUSED_PARAM instead of C style comments.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::createStorageArea):
+
+2013-02-04 Christophe Dumez <dchris@gmail.com>
+
+ [EFL][WK2] Stop using libsoup in ewk_url_scheme_request
+ https://bugs.webkit.org/show_bug.cgi?id=108816
+
+ Reviewed by Anders Carlsson.
+
+ As we are trying to minimize use of external dependencies in our WK2 EFL
+ API implementation, we should stop using libsoup in
+ ewk_url_scheme_request and use the WK2 C API instead.
+
+ * UIProcess/API/efl/ewk_url_scheme_request.cpp:
+ (EwkUrlSchemeRequest::EwkUrlSchemeRequest):
+
+2013-02-04 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] Weird stripe at the end of the page
+ https://bugs.webkit.org/show_bug.cgi?id=108820
+
+ Reviewed by Noam Rosenthal.
+
+ The page scroll bound was artificially enlarged by one causing the artifact appearance.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::boundContentsPositionAtScale):
+
+2013-02-04 David Kilzer <ddkilzer@apple.com>
+
+ Sort WebKit2 Xcode project file
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-02-04 Simon Hausmann <simon.hausmann@digia.com>
+
+ [WK2][Qt] Replace WebPageGroup usage for user scripts with WKPageGroupRef
+ https://bugs.webkit.org/show_bug.cgi?id=108651
+
+ Reviewed by Sam Weinig.
+
+ It's straight-forward port towards the C API.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ (readUserScript):
+ (QQuickWebViewPrivate::updateUserScripts):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (QQuickWebViewPrivate):
+
+2013-02-04 Balazs Kelemen <kbalazs@webkit.org>
+
+ [Soup] Wrap SoupSession by NetworkStorageSession
+ https://bugs.webkit.org/show_bug.cgi?id=108615
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
+ (WebKit::WebFrameNetworkingContext::storageSession):
+ * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
+ (WebFrameNetworkingContext):
+
+2013-02-03 David Kilzer <ddkilzer@apple.com>
+
+ Upstream ENABLE_PDFKIT_PLUGIN settting
+ <http://webkit.org/b/108792>
+
+ Reviewed by Tim Horton.
+
+ * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
+ on iOS since PDFKit is a Mac-only framework.
+
+2013-02-01 Alexey Proskuryakov <ap@apple.com>
+
+ Silently block one more directory needed for NSApplication initialization.
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
+
+ Fix build warning after r141648
+ https://bugs.webkit.org/show_bug.cgi?id=108784
+
+ Reviewed by Kentaro Hara.
+
+ Fix -Wunused-parameter build warning.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::createStorageArea):
+ (WebKit::StorageManager::destroyStorageArea):
+
+2013-02-03 Joanmarie Diggs <jdiggs@igalia.com>
+
+ [GTK] Make distcheck fails
+ https://bugs.webkit.org/show_bug.cgi?id=108756
+
+ Reviewed by Kentaro Hara.
+
+ * GNUmakefile.list.am: Remove header files which no longer exist
+
+2013-02-02 Sam Weinig <sam@webkit.org>
+
+ Remove more LegacyReceivers
+ https://bugs.webkit.org/show_bug.cgi?id=108758
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/Downloads/DownloadProxy.cpp:
+ * UIProcess/Downloads/DownloadProxy.messages.in:
+ * UIProcess/WebApplicationCacheManagerProxy.cpp:
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ (WebApplicationCacheManagerProxy):
+ * UIProcess/WebApplicationCacheManagerProxy.messages.in:
+ * UIProcess/WebCookieManagerProxy.cpp:
+ * UIProcess/WebCookieManagerProxy.h:
+ (WebCookieManagerProxy):
+ * UIProcess/WebCookieManagerProxy.messages.in:
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ * UIProcess/WebDatabaseManagerProxy.h:
+ (WebDatabaseManagerProxy):
+ * UIProcess/WebDatabaseManagerProxy.messages.in:
+ * UIProcess/mac/RemoteLayerTreeHost.h:
+ (RemoteLayerTreeHost):
+ * UIProcess/mac/RemoteLayerTreeHost.messages.in:
+ * UIProcess/mac/RemoteLayerTreeHost.mm:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebApplicationCacheManager):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in:
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ * WebProcess/Cookies/WebCookieManager.h:
+ (WebCookieManager):
+ * WebProcess/Cookies/WebCookieManager.messages.in:
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
+
+2013-02-02 Sam Weinig <sam@webkit.org>
+
+ Convert CustomProtocolManagerProxy, CustomProtocolManager and AuthenticationManager to be non-LegacyReceivers
+ https://bugs.webkit.org/show_bug.cgi?id=108757
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/Authentication/AuthenticationManager.cpp:
+ * Shared/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * Shared/Authentication/AuthenticationManager.messages.in:
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
+ (CustomProtocolManagerProxy):
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
+ * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
+
+2013-02-02 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_file_chooser_request
+ https://bugs.webkit.org/show_bug.cgi?id=107811
+
+ Reviewed by Sam Weinig.
+
+ Use C API inside ewk_file_chooser_request instead of
+ accessing the internal C++ classes directly, to
+ avoid violating API layering.
+
+ * UIProcess/API/efl/ewk_file_chooser_request.cpp:
+ (EwkFileChooserRequest::EwkFileChooserRequest):
+ (EwkFileChooserRequest::~EwkFileChooserRequest):
+ (EwkFileChooserRequest::allowMultipleFiles):
+ (EwkFileChooserRequest::acceptedMIMETypes):
+ (EwkFileChooserRequest::cancel):
+ (EwkFileChooserRequest::chooseFiles):
+ (ewk_file_chooser_request_accepted_mimetypes_get):
+ (ewk_file_chooser_request_files_choose):
+ (ewk_file_chooser_request_file_choose):
+ * UIProcess/API/efl/ewk_file_chooser_request_private.h:
+ (EwkFileChooserRequest::create):
+ (EwkFileChooserRequest):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::runOpenPanel):
+
+2013-02-02 Sam Weinig <sam@webkit.org>
+
+ Stop keeping a frame tree in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=81728
+
+ Reviewed by Oliver Hunt.
+
+ This patch removes the parent/child relationships of WebFrameProxys
+ in the UIProcess
+
+ * UIProcess/API/C/WKFrame.cpp:
+ (WKFrameCopyChildFrames):
+ (WKFrameGetParentFrame):
+ * UIProcess/API/C/WKFrame.h:
+ Null out the implementations of WKFrameCopyChildFrames and WKFrameGetParentFrame,
+ but keep them around as their symbols are still needed for nightlies.
+
+ * UIProcess/WebFrameProxy.cpp:
+ (WebKit::WebFrameProxy::WebFrameProxy):
+ (WebKit::WebFrameProxy::disconnect):
+ * UIProcess/WebFrameProxy.h:
+ Remove parent/child connections.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didCreateSubframe):
+ (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.messages.in:
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::didSaveToPageCache):
+ (WebKit::WebFrameLoaderClient::didRestoreFromPageCache):
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::createSubframe):
+ Remove/Update messages that only served to update the parent/child connection.
+
+2013-02-02 Sam Weinig <sam@webkit.org>
+
+ Make it possible to modify the connection from ChildProcessProxy subclasses.
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/ChildProcessProxy.cpp:
+ (WebKit::ChildProcessProxy::ChildProcessProxy):
+ (WebKit::ChildProcessProxy::didFinishLaunching):
+ (WebKit::ChildProcessProxy::clearConnection):
+ (WebKit::ChildProcessProxy::connectionWillOpen):
+ (WebKit::ChildProcessProxy::connectionWillClose):
+ * Shared/ChildProcessProxy.h:
+ (ChildProcessProxy):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::WebProcessProxy):
+ (WebKit::WebProcessProxy::connectionWillOpen):
+ (WebKit::WebProcessProxy::connectionWillClose):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+
+2013-02-02 David Kilzer <ddkilzer@apple.com>
+
+ Upstream iOS FeatureDefines
+ <http://webkit.org/b/108753>
+
+ Reviewed by Anders Carlsson.
+
+ * Configurations/FeatureDefines.xcconfig:
+ - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
+ - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
+ - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO. Add
+ PLATFORM_NAME variant to reduce future merge conflicts.
+
+2013-02-02 Csaba Osztrogonác <ossy@webkit.org>
+
+ [Qt][WK2] Unreviewed buildfix after r141648.
+
+ * DerivedSources.pri:
+
+2013-02-02 Zan Dobersek <zdobersek@igalia.com>
+
+ Follow-up to r141682. Adding build targets for the files that should be generated from the new message.in file.
+
+ Unreviewed.
+
+ * GNUmakefile.list.am:
+
+2013-02-01 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed GTK build fix after r141648.
+
+ * GNUmakefile.am: Add UIProcess/Storage to the list of paths that
+ should be searched for *.messages.in files.
+
+2013-02-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Unreviewed build fix after r141648
+
+ Needs to add StorageManager.messages.in to CMakeLists.txt.
+
+ * CMakeLists.txt:
+
+2013-02-01 Benjamin Poulain <bpoulain@apple.com>
+
+ Build fix for CustomProtocolManagerMac after r141658.
+
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (WebKit::CustomProtocolManager::supplementName): I accidentally typed "const" twice twice.
+
+2013-02-01 Benjamin Poulain <bpoulain@apple.com>
+
+ [WK2] Use light supplement names instead of static AtomicStrings
+ https://bugs.webkit.org/show_bug.cgi?id=108570
+
+ Reviewed by Anders Carlsson.
+
+ Since all the supplement names are just string literals and are all different,
+ we can just use their pointer as the key in the supplement hashmaps.
+
+ This is lighter and faster than using AtomicString. WebCore already moved to this
+ in Supplementable.
+
+ * NetworkProcess/NetworkProcess.h:
+ (WebKit::NetworkProcess::addSupplement):
+ (NetworkProcess):
+ * Shared/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::supplementName):
+ * Shared/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (WebKit::CustomProtocolManager::supplementName):
+ * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
+ (WebKit::WebNotificationManagerProxy::supplementName):
+ * UIProcess/Notifications/WebNotificationManagerProxy.h:
+ (WebNotificationManagerProxy):
+ * UIProcess/WebApplicationCacheManagerProxy.cpp:
+ (WebKit::WebApplicationCacheManagerProxy::supplementName):
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ (WebApplicationCacheManagerProxy):
+ * UIProcess/WebContext.h:
+ (WebContext):
+ * UIProcess/WebCookieManagerProxy.cpp:
+ (WebKit::WebCookieManagerProxy::supplementName):
+ * UIProcess/WebCookieManagerProxy.h:
+ (WebCookieManagerProxy):
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ (WebKit::WebDatabaseManagerProxy::supplementName):
+ * UIProcess/WebDatabaseManagerProxy.h:
+ (WebDatabaseManagerProxy):
+ * UIProcess/WebGeolocationManagerProxy.cpp:
+ (WebKit::WebGeolocationManagerProxy::supplementName):
+ * UIProcess/WebGeolocationManagerProxy.h:
+ (WebGeolocationManagerProxy):
+ * UIProcess/WebKeyValueStorageManagerProxy.cpp:
+ (WebKit::WebKeyValueStorageManagerProxy::supplementName):
+ * UIProcess/WebKeyValueStorageManagerProxy.h:
+ (WebKeyValueStorageManagerProxy):
+ * UIProcess/WebMediaCacheManagerProxy.cpp:
+ (WebKit::WebMediaCacheManagerProxy::supplementName):
+ * UIProcess/WebMediaCacheManagerProxy.h:
+ (WebMediaCacheManagerProxy):
+ * UIProcess/WebResourceCacheManagerProxy.cpp:
+ (WebKit::WebResourceCacheManagerProxy::supplementName):
+ * UIProcess/WebResourceCacheManagerProxy.h:
+ (WebResourceCacheManagerProxy):
+ * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
+ (WebKit::WebSoupRequestManagerProxy::supplementName):
+ * UIProcess/soup/WebSoupRequestManagerProxy.h:
+ (WebSoupRequestManagerProxy):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::supplementName):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebApplicationCacheManager):
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit::WebCookieManager::supplementName):
+ * WebProcess/Cookies/WebCookieManager.h:
+ (WebCookieManager):
+ * WebProcess/Geolocation/WebGeolocationManager.cpp:
+ (WebKit::WebGeolocationManager::supplementName):
+ * WebProcess/Geolocation/WebGeolocationManager.h:
+ (WebGeolocationManager):
+ * WebProcess/MediaCache/WebMediaCacheManager.cpp:
+ (WebKit::WebMediaCacheManager::supplementName):
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ (WebMediaCacheManager):
+ * WebProcess/Notifications/WebNotificationManager.cpp:
+ (WebKit::WebNotificationManager::supplementName):
+ * WebProcess/Notifications/WebNotificationManager.h:
+ (WebNotificationManager):
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ (WebKit::WebResourceCacheManager::supplementName):
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ (WebResourceCacheManager):
+ * WebProcess/Storage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::supplementName):
+ * WebProcess/Storage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::supplementName):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebProcess.h:
+ (WebKit::WebProcess::addSupplement):
+ (WebProcess):
+
+2013-02-01 Benjamin Poulain <bpoulain@apple.com>
+
+ Clean the String->AtomicString conversion for AnimationController::pauseAnimationAtTime
+ https://bugs.webkit.org/show_bug.cgi?id=108558
+
+ Reviewed by Dean Jackson.
+
+ * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
+ (WKBundleFramePauseAnimationOnElementWithId):
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::pauseAnimationOnElementWithId):
+ * WebProcess/WebPage/WebFrame.h:
+ (WebFrame):
+
+2013-02-01 Anders Carlsson <andersca@apple.com>
+
+ More work on UI side storage
+ https://bugs.webkit.org/show_bug.cgi?id=108700
+
+ Reviewed by Sam Weinig.
+
+ * DerivedSources.make:
+ Add StorageManager.messages.in.
+
+ * Platform/CoreIPC/HandleMessage.h:
+ (CoreIPC::callMemberFunction):
+ Add new overload.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::didReceiveMessageOnConnectionWorkQueue):
+ Call the right function.
+
+ (WebKit::StorageManager::createStorageArea):
+ (WebKit::StorageManager::destroyStorageArea):
+ Add stubs.
+
+ * UIProcess/Storage/StorageManager.messages.in: Added.
+ Add new messages files.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add new files.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::~StorageAreaProxy):
+ Add another FIXME.
+
+ (WebKit::StorageAreaProxy::canAccessStorage):
+ (WebKit::StorageAreaProxy::incrementAccessCount):
+ (WebKit::StorageAreaProxy::decrementAccessCount):
+ Implement these.
+
+2013-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [Gtk] [WK2] Fix build after r141619
+ https://bugs.webkit.org/show_bug.cgi?id=108687
+
+ Reviewed by Benjamin Poulain.
+
+ Take a reference instead of a pointer for decoding functions.
+
+ * Platform/gtk/SharedMemoryGtk.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * Shared/gtk/ArgumentCodersGtk.cpp:
+ (CoreIPC::decodeImage):
+ (CoreIPC::decodeDataObject):
+ (CoreIPC::::decode):
+ (CoreIPC::decodeGKeyFile):
+ (CoreIPC::decode):
+ * Shared/gtk/ArgumentCodersGtk.h:
+ * Shared/gtk/LayerTreeContextGtk.cpp:
+ (WebKit::LayerTreeContext::decode):
+
+2013-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [EFL] [WK2] Fix build after r141619
+ https://bugs.webkit.org/show_bug.cgi?id=108683
+
+ Reviewed by Benjamin Poulain.
+
+ Take a reference instead of a pointer for decoding functions.
+
+ * Shared/WebBatteryStatus.cpp:
+ (WebKit::WebBatteryStatus::Data::decode):
+ * Shared/WebBatteryStatus.h:
+ (Data):
+ * Shared/WebNetworkInfo.cpp:
+ (WebKit::WebNetworkInfo::Data::decode):
+ * Shared/WebNetworkInfo.h:
+ (Data):
+ * Shared/cairo/LayerTreeContextCairo.cpp:
+ (WebKit::LayerTreeContext::decode):
+ * Shared/efl/LayerTreeContextEfl.cpp:
+ (WebKit::LayerTreeContext::decode):
+ * Shared/soup/PlatformCertificateInfo.cpp:
+ (WebKit::PlatformCertificateInfo::decode):
+ * Shared/soup/PlatformCertificateInfo.h:
+ (PlatformCertificateInfo):
+ * Shared/soup/WebCoreArgumentCodersSoup.cpp:
+ (CoreIPC::::decodePlatformData):
+
+2013-02-01 Brady Eidson <beidson@apple.com>
+
+ Clean up WebArchive loading with the NetworkProcess
+ <rdar://problem/12695840> and https://bugs.webkit.org/show_bug.cgi?id=108673
+
+ Reviewed by Alexey Proskuryakov.
+
+ * NetworkProcess/HostRecord.cpp:
+ (WebKit::HostRecord::servePendingRequestsForQueue): Add new logging.
+ (WebKit::HostRecord::servePendingRequests): Tweak existing logging.
+
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::servePendingRequests): Tweak existing logging.
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::scheduleLoad): Handle archive resource scheduling better,
+ and add new logging to better explore archive loading behavior in the future.
+
+2013-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [Qt] [WK2] Fix build after r141619
+ https://bugs.webkit.org/show_bug.cgi?id=108680
+
+ Reviewed by Benjamin Poulain.
+
+ Take a reference instead of a pointer for decoding functions.
+
+ * Platform/unix/SharedMemoryUnix.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::::decode):
+ (CoreIPC::decodeTimingFunction):
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
+ * Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
+ (WebKit::WebCoordinatedSurface::Handle::decode):
+ * Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
+ (Handle):
+ * Shared/qt/ArgumentCodersQt.cpp:
+ (CoreIPC::::decode):
+ * Shared/qt/ArgumentCodersQt.h:
+ (CoreIPC):
+ * Shared/qt/LayerTreeContextQt.cpp:
+ (WebKit::LayerTreeContext::decode):
+ * Shared/qt/PlatformCertificateInfo.h:
+ (WebKit::PlatformCertificateInfo::decode):
+ * Shared/qt/QtNetworkReplyData.cpp:
+ (WebKit::QtNetworkReplyData::decode):
+ * Shared/qt/QtNetworkReplyData.h:
+ (QtNetworkReplyData):
+ * Shared/qt/QtNetworkRequestData.cpp:
+ (WebKit::QtNetworkRequestData::decode):
+ * Shared/qt/QtNetworkRequestData.h:
+ (QtNetworkRequestData):
+ * Shared/qt/WebCoreArgumentCodersQt.cpp:
+ (CoreIPC::::decodePlatformData):
+
+2013-02-01 Anders Carlsson <andersca@apple.com>
+
+ Message decoding functions should take a MessageDecoder reference
+ https://bugs.webkit.org/show_bug.cgi?id=108669
+
+ Reviewed by Andreas Kling.
+
+ Message encoding functions already take a reference instead of a pointer, so
+ make the decoding functions take a reference as well.
+
+ * Platform/CoreIPC/ArgumentCoder.h:
+ (CoreIPC::ArgumentCoder::decode):
+ * Platform/CoreIPC/ArgumentCoders.cpp:
+ (CoreIPC::::decode):
+ (CoreIPC::decodeStringText):
+ * Platform/CoreIPC/ArgumentCoders.h:
+ (CoreIPC::SimpleArgumentCoder::decode):
+ * Platform/CoreIPC/ArgumentDecoder.h:
+ (CoreIPC::ArgumentDecoder::decode):
+ * Platform/CoreIPC/Arguments.h:
+ (CoreIPC::Arguments0::decode):
+ (CoreIPC::Arguments1::decode):
+ (CoreIPC::Arguments2::decode):
+ (CoreIPC::Arguments3::decode):
+ (CoreIPC::Arguments4::decode):
+ (CoreIPC::Arguments5::decode):
+ (CoreIPC::Arguments6::decode):
+ (CoreIPC::Arguments7::decode):
+ (CoreIPC::Arguments8::decode):
+ (CoreIPC::Arguments10::decode):
+ * Platform/CoreIPC/Attachment.cpp:
+ (CoreIPC::Attachment::decode):
+ * Platform/CoreIPC/Attachment.h:
+ (Attachment):
+ * Platform/CoreIPC/DataReference.cpp:
+ (CoreIPC::DataReference::decode):
+ * Platform/CoreIPC/DataReference.h:
+ (DataReference):
+ * Platform/CoreIPC/StringReference.cpp:
+ (CoreIPC::StringReference::decode):
+ * Platform/CoreIPC/StringReference.h:
+ (StringReference):
+ * Platform/CoreIPC/mac/MachPort.h:
+ (CoreIPC::MachPort::decode):
+ * Platform/SharedMemory.h:
+ (Handle):
+ * Platform/mac/SharedMemoryMac.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * PluginProcess/PluginCreationParameters.cpp:
+ (WebKit::PluginCreationParameters::decode):
+ * PluginProcess/PluginCreationParameters.h:
+ (PluginCreationParameters):
+ * Shared/DictionaryPopupInfo.cpp:
+ (WebKit::DictionaryPopupInfo::decode):
+ * Shared/DictionaryPopupInfo.h:
+ (DictionaryPopupInfo):
+ * Shared/EditorState.cpp:
+ (WebKit::EditorState::decode):
+ * Shared/EditorState.h:
+ (EditorState):
+ * Shared/FontInfo.cpp:
+ (WebKit::FontInfo::decode):
+ * Shared/FontInfo.h:
+ (FontInfo):
+ * Shared/LayerTreeContext.h:
+ (LayerTreeContext):
+ * Shared/Network/NetworkProcessCreationParameters.cpp:
+ (WebKit::NetworkProcessCreationParameters::decode):
+ * Shared/Network/NetworkProcessCreationParameters.h:
+ (NetworkProcessCreationParameters):
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::decode):
+ * Shared/Network/NetworkResourceLoadParameters.h:
+ (NetworkResourceLoadParameters):
+ * Shared/OriginAndDatabases.cpp:
+ (WebKit::OriginAndDatabases::decode):
+ * Shared/OriginAndDatabases.h:
+ (OriginAndDatabases):
+ * Shared/PlatformPopupMenuData.cpp:
+ (WebKit::PlatformPopupMenuData::decode):
+ * Shared/PlatformPopupMenuData.h:
+ (PlatformPopupMenuData):
+ * Shared/Plugins/NPIdentifierData.cpp:
+ (WebKit::NPIdentifierData::decode):
+ * Shared/Plugins/NPIdentifierData.h:
+ (NPIdentifierData):
+ * Shared/Plugins/NPVariantData.cpp:
+ (WebKit::NPVariantData::decode):
+ * Shared/Plugins/NPVariantData.h:
+ (NPVariantData):
+ * Shared/Plugins/PluginProcessCreationParameters.cpp:
+ (WebKit::PluginProcessCreationParameters::decode):
+ * Shared/Plugins/PluginProcessCreationParameters.h:
+ (PluginProcessCreationParameters):
+ * Shared/PrintInfo.cpp:
+ (WebKit::PrintInfo::decode):
+ * Shared/PrintInfo.h:
+ (PrintInfo):
+ * Shared/SandboxExtension.h:
+ (Handle):
+ (HandleArray):
+ (WebKit::SandboxExtension::Handle::decode):
+ (WebKit::SandboxExtension::HandleArray::decode):
+ * Shared/SecurityOriginData.cpp:
+ (WebKit::SecurityOriginData::decode):
+ * Shared/SecurityOriginData.h:
+ (SecurityOriginData):
+ * Shared/SessionState.cpp:
+ (WebKit::SessionState::decode):
+ * Shared/SessionState.h:
+ (SessionState):
+ * Shared/ShareableBitmap.cpp:
+ (WebKit::ShareableBitmap::Handle::decode):
+ * Shared/ShareableBitmap.h:
+ (Handle):
+ * Shared/ShareableResource.cpp:
+ (WebKit::ShareableResource::Handle::decode):
+ * Shared/ShareableResource.h:
+ (Handle):
+ * Shared/SharedWorkerProcessCreationParameters.cpp:
+ (WebKit::SharedWorkerProcessCreationParameters::decode):
+ * Shared/SharedWorkerProcessCreationParameters.h:
+ (SharedWorkerProcessCreationParameters):
+ * Shared/StatisticsData.cpp:
+ (WebKit::StatisticsData::decode):
+ * Shared/StatisticsData.h:
+ (StatisticsData):
+ * Shared/StringPairVector.h:
+ (WebKit::StringPairVector::decode):
+ * Shared/UpdateInfo.cpp:
+ (WebKit::UpdateInfo::decode):
+ * Shared/UpdateInfo.h:
+ (UpdateInfo):
+ * Shared/UserMessageCoders.h:
+ (WebKit::UserMessageDecoder::baseDecode):
+ * Shared/WebContextMenuItemData.cpp:
+ (WebKit::WebContextMenuItemData::decode):
+ * Shared/WebContextMenuItemData.h:
+ (WebContextMenuItemData):
+ * Shared/WebCoreArgumentCoders.cpp:
+ (CoreIPC::::decode):
+ (CoreIPC::decodeImage):
+ * Shared/WebCoreArgumentCoders.h:
+ * Shared/WebEvent.cpp:
+ (WebKit::WebEvent::decode):
+ * Shared/WebEvent.h:
+ (WebEvent):
+ (WebMouseEvent):
+ (WebWheelEvent):
+ (WebKeyboardEvent):
+ (WebGestureEvent):
+ (WebPlatformTouchPoint):
+ (WebTouchEvent):
+ * Shared/WebGeolocationPosition.cpp:
+ (WebKit::WebGeolocationPosition::Data::decode):
+ * Shared/WebGeolocationPosition.h:
+ (Data):
+ * Shared/WebGestureEvent.cpp:
+ (WebKit::WebGestureEvent::decode):
+ * Shared/WebHitTestResult.cpp:
+ (WebKit::WebHitTestResult::Data::decode):
+ * Shared/WebHitTestResult.h:
+ (Data):
+ * Shared/WebKeyboardEvent.cpp:
+ (WebKit::WebKeyboardEvent::decode):
+ * Shared/WebMouseEvent.cpp:
+ (WebKit::WebMouseEvent::decode):
+ * Shared/WebNavigationDataStore.h:
+ (WebKit::WebNavigationDataStore::decode):
+ * Shared/WebPageCreationParameters.cpp:
+ (WebKit::WebPageCreationParameters::decode):
+ * Shared/WebPageCreationParameters.h:
+ (WebPageCreationParameters):
+ * Shared/WebPageGroupData.cpp:
+ (WebKit::WebPageGroupData::decode):
+ * Shared/WebPageGroupData.h:
+ (WebPageGroupData):
+ * Shared/WebPlatformTouchPoint.cpp:
+ (WebKit::WebPlatformTouchPoint::decode):
+ * Shared/WebPopupItem.cpp:
+ (WebKit::WebPopupItem::decode):
+ * Shared/WebPopupItem.h:
+ * Shared/WebPreferencesStore.cpp:
+ (WebKit::WebPreferencesStore::decode):
+ * Shared/WebPreferencesStore.h:
+ (WebPreferencesStore):
+ * Shared/WebProcessCreationParameters.cpp:
+ (WebKit::WebProcessCreationParameters::decode):
+ * Shared/WebProcessCreationParameters.h:
+ (WebProcessCreationParameters):
+ * Shared/WebTouchEvent.cpp:
+ (WebKit::WebTouchEvent::decode):
+ * Shared/WebWheelEvent.cpp:
+ (WebKit::WebWheelEvent::decode):
+ * Shared/cf/ArgumentCodersCF.cpp:
+ (CoreIPC::decode):
+ * Shared/cf/ArgumentCodersCF.h:
+ (CoreIPC):
+ * Shared/mac/ArgumentCodersMac.h:
+ (CoreIPC):
+ * Shared/mac/ArgumentCodersMac.mm:
+ (CoreIPC::decode):
+ * Shared/mac/AttributedString.h:
+ (AttributedString):
+ * Shared/mac/AttributedString.mm:
+ (WebKit::AttributedString::decode):
+ * Shared/mac/ColorSpaceData.h:
+ (ColorSpaceData):
+ * Shared/mac/ColorSpaceData.mm:
+ (WebKit::ColorSpaceData::decode):
+ * Shared/mac/LayerTreeContextMac.mm:
+ (WebKit::LayerTreeContext::decode):
+ * Shared/mac/ObjCObjectGraphCoders.h:
+ (WebContextObjCObjectGraphDecoder):
+ (InjectedBundleObjCObjectGraphDecoder):
+ * Shared/mac/ObjCObjectGraphCoders.mm:
+ (WebKit::ObjCObjectGraphDecoder::baseDecode):
+ (WebKit::WebContextObjCObjectGraphDecoderImpl::decode):
+ (WebKit::InjectedBundleObjCObjectGraphDecoderImpl::decode):
+ (WebKit::WebContextObjCObjectGraphDecoder::decode):
+ (WebKit::InjectedBundleObjCObjectGraphDecoder::decode):
+ * Shared/mac/PlatformCertificateInfo.h:
+ (PlatformCertificateInfo):
+ * Shared/mac/PlatformCertificateInfo.mm:
+ (WebKit::PlatformCertificateInfo::decode):
+ * Shared/mac/RemoteLayerTreeTransaction.h:
+ (LayerProperties):
+ (RemoteLayerTreeTransaction):
+ * Shared/mac/RemoteLayerTreeTransaction.mm:
+ (WebKit::RemoteLayerTreeTransaction::LayerProperties::decode):
+ (WebKit::RemoteLayerTreeTransaction::decode):
+ * Shared/mac/SandboxExtensionMac.mm:
+ (WebKit::SandboxExtension::Handle::decode):
+ (WebKit::SandboxExtension::HandleArray::decode):
+ * Shared/mac/SecItemRequestData.cpp:
+ (WebKit::SecItemRequestData::decode):
+ * Shared/mac/SecItemRequestData.h:
+ * Shared/mac/SecItemResponseData.cpp:
+ (WebKit::SecItemResponseData::decode):
+ * Shared/mac/SecItemResponseData.h:
+ (SecItemResponseData):
+ * Shared/mac/WebCoreArgumentCodersMac.mm:
+ (CoreIPC::::decodePlatformData):
+ (CoreIPC::::decode):
+ * UIProcess/WebContextUserMessageCoders.h:
+ (WebKit::WebContextUserMessageDecoder::decode):
+ * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
+ (WebKit::InjectedBundleUserMessageDecoder::decode):
+ * WebProcess/Plugins/Plugin.cpp:
+ (WebKit::Plugin::Parameters::decode):
+ * WebProcess/Plugins/Plugin.h:
+ (Parameters):
+
+2013-02-01 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Adapt WorkQueueGtk to the latest changes in WebKit2 after r141497
+ https://bugs.webkit.org/show_bug.cgi?id=108607
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/gtk/WorkQueueGtk.cpp:
+ (WorkQueue::EventSource::executeEventSource): Remove the is valid
+ work queue check.
+ (WorkQueue::EventSource): WorkQueue is now refcounted, so keep a
+ reference when a new job is scheduled and unref it when it
+ finishes.
+
+2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r141319.
+ http://trac.webkit.org/changeset/141319
+ https://bugs.webkit.org/show_bug.cgi?id=108629
+
+ This patch is causing the UIProcess to hang on GTK port when
+ loading plugins (Requested by chris-qBT_laptop on #webkit).
+
+ * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
+ (WebKit::PluginProcessProxy::scanPlugin):
+
+2013-02-01 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] EwkContext should be based on C WK2 API
+ https://bugs.webkit.org/show_bug.cgi?id=107666
+
+ Reviewed by Andreas Kling.
+
+ EwkContext should be based on C WK2 API so that API layering is not violated.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::EwkContext):
+ (EwkContext::create):
+ (EwkContext::cookieManager):
+ (EwkContext::ensureFaviconDatabase):
+ (EwkContext::setFaviconDatabaseDirectoryPath):
+ (EwkContext::addVisitedLink):
+ (EwkContext::setCacheModel):
+ (EwkContext::cacheModel):
+ (EwkContext::setAdditionalPluginPath):
+ (EwkContext::clearResourceCache):
+ * UIProcess/API/efl/ewk_context_private.h:
+ (EwkContext):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_base_add):
+
+2013-02-01 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_auth_request
+ https://bugs.webkit.org/show_bug.cgi?id=107806
+
+ Reviewed by Andreas Kling.
+
+ Use C API inside ewk_auth_request instead of accessing C++ internal
+ classes directly, to avoid violating layering.
+
+ * UIProcess/API/efl/ewk_auth_request.cpp:
+ (EwkAuthRequest::EwkAuthRequest):
+ (EwkAuthRequest::suggestedUsername):
+ (EwkAuthRequest::realm):
+ (EwkAuthRequest::host):
+ (EwkAuthRequest::continueWithoutCredential):
+ (EwkAuthRequest::authenticate):
+ (EwkAuthRequest::isRetrying):
+ (ewk_auth_request_authenticate):
+ * UIProcess/API/efl/ewk_auth_request_private.h:
+ (EwkAuthRequest::create):
+ (EwkAuthRequest):
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didReceiveAuthenticationChallengeInFrame):
+
+2013-02-01 Seulgi Kim <seulgikim@company100.net>
+
+ [Gtk][WK2] Fix build after recent WebKit2 changes
+ https://bugs.webkit.org/show_bug.cgi?id=108588
+
+ Reviewed by Andreas Kling.
+
+ Don't remove WorkQueue during execution.
+ Following the logic on https://bugs.webkit.org/show_bug.cgi?id=108544
+
+ * Platform/gtk/WorkQueueGtk.cpp:
+ (WorkQueue::EventSource::~EventSource):
+ (WorkQueue::EventSource::executeEventSource):
+ (WorkQueue::dispatch):
+ (WorkQueue::dispatchAfterDelay):
+ (WorkQueue::dispatchOnTermination):
+
+2013-02-01 Alexis Menard <alexis@webkit.org>
+
+ Enable unprefixed CSS transitions by default.
+ https://bugs.webkit.org/show_bug.cgi?id=108216
+
+ Reviewed by Dean Jackson.
+
+ Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
+ to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
+ guard the unprefixing work for CSS Transforms and animations.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-02-01 Jae Hyun Park <jae.park@company100.net>
+
+ Coordinated Graphics : Sort Target.pri and class declarations in alphabetical order.
+ https://bugs.webkit.org/show_bug.cgi?id=108590
+
+ Reviewed by Noam Rosenthal.
+
+ Sort class declarations in alphabetical order.
+
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
+ (WebCore):
+
+2013-02-01 Gwang Yoon Hwang <ryumiel@company100.net>
+
+ [EFL][WK2] MiniBrowser segfaults on loading google.com
+ https://bugs.webkit.org/show_bug.cgi?id=108597
+
+ Reviewed by Andreas Kling.
+
+ * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+ (CoreIPC::Connection::processMessage):
+ oolMessageBody should be properly initialized before it is used.
+
+ This patch also adds omitted break statement.
+
+2013-01-31 Jae Hyun Park <jae.park@company100.net>
+
+ [Qt] Add MessageFlags.h in Target.pri
+ https://bugs.webkit.org/show_bug.cgi?id=108583
+
+ Reviewed by Kentaro Hara.
+
+ Since MessageDecoder and MessageEncoder include MessageFlags.h, it
+ should be included in Target.pri.
+
+ * Target.pri:
+
+2013-01-31 Jae Hyun Park <jae.park@company100.net>
+
+ Coordinated Graphics : Move CoordinatedGraphics related files to WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=108149
+
+ Reviewed by Noam Rosenthal.
+
+ This patch moves Coordinated Graphics related code to WebCore. To
+ implement Threaded Coordinated Graphics, most of Coordianted Graphics
+ code should be shared. Therefore, they should reside in WebCore instead of
+ WebKit2.
+
+ When moving to WebCore, two renamings have been done.
+
+ 1. Rename LayerTreeRenderer to CoordinatedGraphicsScene.
+
+ 2. Rename WebCustomFilterProgram and WebCustomFilterOperation to
+ CoordinatedCustomFilterProgram and CoordinatedCustomFilterOperation,
+ respectively.
+
+ No new tests, covered by existing tests.
+
+ * CMakeLists.txt:
+ * Scripts/webkit2/messages.py:
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
+ * Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
+ * Target.pri:
+ * UIProcess/API/efl/EwkView.cpp:
+ * UIProcess/API/efl/EwkView.h:
+ * UIProcess/API/qt/qquickwebpage.cpp:
+ * UIProcess/API/qt/raw/qrawwebview.cpp:
+ * UIProcess/API/qt/raw/qrawwebview_p.h:
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * UIProcess/efl/PageClientBase.cpp:
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ * UIProcess/qt/QtWebPageSGNode.cpp:
+ * UIProcess/qt/QtWebPageSGNode.h:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2013-01-31 Rafael Brandao <rafael.lobo@openbossa.org>
+
+ [Qt][WK2] Another attempt to fix build after recent WebKit2 changes
+ https://bugs.webkit.org/show_bug.cgi?id=108548
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+ (CoreIPC::Connection::platformInvalidate):
+ (CoreIPC::Connection::processMessage): Change Deque to Vector and do similar
+ logic as on patch for https://bugs.webkit.org/show_bug.cgi?id=108517
+ (CoreIPC::Connection::open):
+ (CoreIPC::Connection::setShouldCloseConnectionOnProcessTermination):
+ * Platform/qt/WorkQueueQt.cpp: Reflect changes on Qt WorkQueue to increase ref
+ count when the execution is started and decrease it when the work item is deleted,
+ following the logic on https://bugs.webkit.org/show_bug.cgi?id=108544
+ (WorkQueue::WorkItemQt::~WorkItemQt):
+ (WorkQueue::WorkItemQt::execute):
+ (WorkQueue::dispatch):
+ (WorkQueue::dispatchAfterDelay):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath): This function was moved from WebProcessProxy but
+ mac specific code was not protected properly: https://bugs.webkit.org/show_bug.cgi?id=108407
+
+2013-01-31 Changhun Kang <temoochin@company100.net>
+
+ Rename from parentOrHost* to parentOrShadowHost* in Node.h.
+ https://bugs.webkit.org/show_bug.cgi?id=108308
+
+ Reviewed by Dimitri Glazkov.
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ StorageManager should be ref-counted
+ https://bugs.webkit.org/show_bug.cgi?id=108553
+
+ Reviewed by Beth Dakin.
+
+ It's likely we'd want to have the storage manager outlive its context at times, so make it
+ reference counted.
+
+ * UIProcess/Storage/StorageManager.cpp:
+ (WebKit::StorageManager::create):
+ (WebKit):
+ * UIProcess/Storage/StorageManager.h:
+ (StorageManager):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ * UIProcess/WebContext.h:
+ (WebContext):
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ WorkQueue should be a ref-counted class
+ https://bugs.webkit.org/show_bug.cgi?id=108544
+
+ Reviewed by Sam Weinig.
+
+ Make WorkQueue a ref-counted class that's implicitly ref()'d when dispatching a function to it, and then
+ implicitly deref()'d when the function is done executing. This matches the behavior of dispatch queues,
+ and ensures that the WorkQueue object won't go away while dispatched functions are running.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::Connection):
+ (CoreIPC::Connection::~Connection):
+ (CoreIPC::Connection::addQueueClient):
+ (CoreIPC::Connection::removeQueueClient):
+ (CoreIPC::Connection::invalidate):
+ (CoreIPC::Connection::sendMessage):
+ (CoreIPC::Connection::postConnectionDidCloseOnConnectionWorkQueue):
+ (CoreIPC::Connection::connectionDidClose):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::createDataAvailableSource):
+ (CoreIPC::Connection::open):
+ (CoreIPC::Connection::initializeDeadNameSource):
+ * Platform/WorkQueue.cpp:
+ (WorkQueue::create):
+ (WorkQueue::WorkQueue):
+ (WorkQueue::~WorkQueue):
+ * Platform/WorkQueue.h:
+ (WorkQueue):
+ * Platform/mac/WorkQueueMac.cpp:
+ (WorkQueue::dispatch):
+ (WorkQueue::dispatchAfterDelay):
+ * Shared/ChildProcess.cpp:
+ (WebKit::didCloseOnConnectionWorkQueue):
+ * UIProcess/Launcher/ProcessLauncher.cpp:
+ (WebKit::processLauncherWorkQueue):
+ (WebKit::ProcessLauncher::ProcessLauncher):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::pluginWorkQueue):
+ (WebKit::WebProcessProxy::getPlugins):
+
+2013-01-31 Rafael Brandao <rafael.lobo@openbossa.org>
+
+ [Qt][WK2] Fix build after removal of MessageID.h
+ https://bugs.webkit.org/show_bug.cgi?id=108534
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+ (CoreIPC::MessageInfo::MessageInfo):
+ (CoreIPC::MessageInfo::setMessageBodyIsOutOfLine):
+ (CoreIPC::MessageInfo::isMessageBodyIsOutOfLine):
+ (MessageInfo):
+ (CoreIPC::Connection::processMessage):
+ (CoreIPC::Connection::sendOutgoingMessage):
+ * Target.pri:
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ * UIProcess/DrawingAreaProxy.cpp:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ * WebProcess/soup/WebSoupRequestManager.cpp:
+
+2013-01-31 Brady Eidson <beidson@apple.com>
+
+ Assertion failure in WebResourceLoadScheduler::remove when loading .webarchives
+ <rdar://problem/12888145> and https://bugs.webkit.org/show_bug.cgi?id=108520
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::scheduleLoad): Even if it isn't to be scheduled with the
+ NetworkProcess, still add this ResourceLoader to the scheduler's records.
+
+2013-01-31 Simon Hausmann <simon.hausmann@digia.com>
+
+ Unreviewed trivial Unix build fix.
+
+ Use Vector<> instead of Deque<> when iterating
+ over m_attachments in the USE(UNIX_DOMAIN_SOCKETS)
+ case.
+
+ * Platform/CoreIPC/ArgumentDecoder.cpp:
+
+2013-01-30 Brian Weinstein <bweinstein@apple.com>
+
+ Add a call to the page UI client to determine if a plug-in should load
+ https://bugs.webkit.org/show_bug.cgi?id=108407
+ <rdar://problem/13066332>
+
+ Reviewed by Anders Carlsson.
+
+ This patch adds a client call to the WKPageUIClient to be called to determine
+ whether or not a plug-in should load.
+
+ * UIProcess/API/C/WKPage.h: Add shouldLoadPlugin.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getPluginPath): Moved from WebProcessProxy, and added a call to
+ m_uiClient.shouldInstantiatePlugin.
+ * UIProcess/WebPageProxy.h:
+ * UIProcss/WebPageProxy.messages.in: Moved GetPluginPath from WebProcessProxy to WebPageProxy.
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::getPluginPath): Moved to WebPageProxy.
+ * UIProcess/WebProcessProxy.h:
+ * UIProcess/WebUIClient.cpp:
+ (WebKit::WebUIClient::shouldInstantiatePlugin): Return that we should load the plug-in if
+ the client function isn't defined, and call the function if it is.
+ * UIProcess/WebUIClient.h:
+ * UIProcess/mac/WebInspectorProxyMac.mm:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage): Add an entry for the new
+ client function.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::createPlugin): Send the message to the WebPageProxy, not the WebProcessProxy.
+ (WebKit::WebPage::canPluginHandleResponse): Made a member function, so it can call sendSync, and
+ send the message to the WebPageProxy, not the WebProcessProxy.
+ * WebProcess/WebPage/WebPage.h:
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ Use a Vector for IPC attachments
+ https://bugs.webkit.org/show_bug.cgi?id=108517
+
+ Reviewed by Sam Weinig.
+
+ We don't need to use a Deque for attachments - we can just deserialize the attachments backwards instead.
+
+ * Platform/CoreIPC/ArgumentDecoder.cpp:
+ (CoreIPC::ArgumentDecoder::create):
+ (CoreIPC::ArgumentDecoder::ArgumentDecoder):
+ (CoreIPC::ArgumentDecoder::removeAttachment):
+ * Platform/CoreIPC/ArgumentDecoder.h:
+ (ArgumentDecoder):
+ * Platform/CoreIPC/Connection.h:
+ * Platform/CoreIPC/MessageDecoder.cpp:
+ (CoreIPC::MessageDecoder::create):
+ (CoreIPC::MessageDecoder::MessageDecoder):
+ * Platform/CoreIPC/MessageDecoder.h:
+ (MessageDecoder):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::createMessageDecoder):
+
+2013-01-31 Joseph Pecoraro <pecoraro@apple.com>
+
+ Disable ENABLE_FULLSCREEN_API on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=108250
+
+ Reviewed by Benjamin Poulain.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-31 Enrica Casucci <enrica@apple.com>
+
+ WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
+ https://bugs.webkit.org/show_bug.cgi?id=108396.
+ <rdar://problem/12920461>
+
+ Reviewed by Alexey Proskuryakov.
+
+ This patch adds new bundle client API to receive notifications
+ relative the pasteboard activity. There are 2 new API added to
+ InjectedBundleEditorClient, to receive notification before and
+ after the pasteboard content is added and one API to provide
+ additional content to add to the pasteboard.
+ In order to create content to add to the pasteboard, WKWebArchiveRef
+ and WKWebArchiveResourcesRef have been added to the set of API level
+ object.
+ This work is a joint effort with Sam Weinig who contributed the
+ support for WKWebArchiveRef, WKWebArchiveResourcesRef and related
+ files. Sam is the author of the first chunk of changes listed below.
+
+ * Shared/API/c/WKBase.h:
+ * Shared/API/c/WKSharedAPICast.h:
+ * Shared/API/c/mac/WKWebArchive.cpp: Added.
+ (WKWebArchiveGetTypeID):
+ (WKWebArchiveCreate):
+ (WKWebArchiveCreateWithData):
+ (WKWebArchiveCreateFromRange):
+ (WKWebArchiveCopyMainResource):
+ (WKWebArchiveCopySubresources):
+ (WKWebArchiveCopySubframeArchives):
+ (WKWebArchiveCopyData):
+ * Shared/API/c/mac/WKWebArchive.h: Added.
+ * Shared/API/c/mac/WKWebArchiveResource.cpp: Added.
+ (WKWebArchiveResourceGetTypeID):
+ (WKWebArchiveResourceCreate):
+ (WKWebArchiveResourceCopyData):
+ (WKWebArchiveResourceCopyURL):
+ (WKWebArchiveResourceCopyMIMEType):
+ (WKWebArchiveResourceCopyTextEncoding):
+ * Shared/API/c/mac/WKWebArchiveResource.h: Added.
+ * Shared/APIObject.h:
+ * Shared/WebArchive.cpp: Added.
+ (WebKit::WebArchive::create):
+ (WebKit::WebArchive::WebArchive):
+ (WebKit::WebArchive::~WebArchive):
+ (WebKit::WebArchive::mainResource):
+ (WebKit::WebArchive::subresources):
+ (WebKit::WebArchive::subframeArchives):
+ (WebKit::releaseCFData):
+ (WebKit::WebArchive::data):
+ (WebKit::WebArchive::coreLegacyWebArchive):
+ * Shared/WebArchive.h: Added.
+ (WebKit::WebArchive::type):
+ * Shared/WebArchiveResource.cpp: Added.
+ (WebKit::WebArchiveResource::create):
+ (WebKit::WebArchiveResource::WebArchiveResource):
+ (WebKit::WebArchiveResource::~WebArchiveResource):
+ (WebKit::releaseCFData):
+ (WebKit::WebArchiveResource::data):
+ (WebKit::WebArchiveResource::URL):
+ (WebKit::WebArchiveResource::MIMEType):
+ (WebKit::WebArchiveResource::textEncoding):
+ (WebKit::WebArchiveResource::coreArchiveResource):
+ * Shared/WebArchiveResource.h: Added.
+ (WebKit::WebArchiveResource::type):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+ * Shared/APIClientTraits.cpp: Added versioning to InjectedBundlePageEditorClient.
+ * Shared/APIClientTraits.h:
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
+ (WebKit::InjectedBundlePageEditorClient::willWriteToPasteboard): Added.
+ (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange): Added.
+ (WebKit::InjectedBundlePageEditorClient::didWriteToPasteboard): Added.
+ * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+ (WebKit::WebEditorClient::didWriteSelectionToPasteboard):
+ (WebKit::WebEditorClient::willWriteSelectionToPasteboard):
+ (WebKit::WebEditorClient::getClientPasteboardDataForRange):
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ Remove MessageID.h
+ https://bugs.webkit.org/show_bug.cgi?id=108516
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::processIncomingMessage):
+ (CoreIPC::Connection::sendOutgoingMessages):
+ (CoreIPC::Connection::dispatchSyncMessage):
+ (CoreIPC::Connection::dispatchMessage):
+ * Platform/CoreIPC/Connection.h:
+ (CoreIPC):
+ (Connection):
+ * Platform/CoreIPC/MessageID.h: Removed.
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::sendOutgoingMessage):
+ (CoreIPC::Connection::receiveSourceEventHandler):
+ * Shared/CoreIPCSupport/WebConnectionMessageKinds.h: Removed.
+ * Shared/CoreIPCSupport/WebContextMessageKinds.h:
+ * UIProcess/DrawingAreaProxy.h:
+ (CoreIPC):
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ (WebKit::WebContext::didReceiveMessage):
+ (WebKit::WebContext::didReceiveSyncMessage):
+ * UIProcess/WebCookieManagerProxy.h: