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

Unified Diff: Source/WebKit2/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
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:
+ * UIProcess/WebFrameProxy.h:
+ (CoreIPC):
+ * UIProcess/WebFullScreenManagerProxy.h:
+ (CoreIPC):
+ * UIProcess/WebIconDatabase.h:
+ (CoreIPC):
+ * UIProcess/WebPageProxy.cpp:
+ * UIProcess/WebPageProxy.h:
+ (CoreIPC):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/FullScreen/WebFullScreenManager.cpp:
+ * WebProcess/FullScreen/WebFullScreenManager.h:
+ (CoreIPC):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::postMessage):
+ (WebKit::InjectedBundle::postSynchronousMessage):
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (CoreIPC):
+ * WebProcess/WebPage/DrawingArea.h:
+ (CoreIPC):
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (CoreIPC):
+ * WebProcess/WebPage/WebPage.cpp:
+ * WebProcess/WebPage/WebPage.h:
+ (CoreIPC):
+ * WebProcess/WebPage/WebPageGroupProxy.h:
+ (CoreIPC):
+
+2013-01-31 Mike West <mkwst@chromium.org>
+
+ Cleanup: Use ScriptExecutionContext::topOrigin when relevant.
+ https://bugs.webkit.org/show_bug.cgi?id=108476
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::storageBlockingStateChanged):
+ (WebKit::PluginView::isPrivateBrowsingEnabled):
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ Get rid of IncomingMessage
+ https://bugs.webkit.org/show_bug.cgi?id=108514
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (Connection::SyncMessageState):
+ (ConnectionAndIncomingMessage):
+ (CoreIPC::Connection::SyncMessageState::~SyncMessageState):
+ (CoreIPC::Connection::SyncMessageState::processIncomingMessage):
+ (CoreIPC::Connection::SyncMessageState::dispatchMessages):
+ (CoreIPC::Connection::waitForMessage):
+ (CoreIPC::Connection::processIncomingMessage):
+ (CoreIPC::Connection::enqueueIncomingMessage):
+ (CoreIPC::Connection::dispatchMessage):
+ (CoreIPC::Connection::dispatchOneMessage):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+
+2013-01-31 Patrick Gansterer <paroga@webkit.org>
+
+ Remove PLATFORM(WIN_CAIRO) from NetscapePluginX11.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=108439
+
+ Reviewed by Brent Fulgham.
+
+ PLATFORM(WIN_CAIRO) is Windows only, where no X11 exists.
+
+ * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+
+2013-01-31 Simon Hausmann <simon.hausmann@digia.com>
+
+ Unreviewed build fix: Remove Web Intents files from
+ the Qt build system.
+
+ * Target.pri:
+
+2013-01-31 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed GTK build fix.
+ Removing build targets for Web Intents files that were removed in r141448.
+
+ * GNUmakefile.list.am:
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ Remove Web Intents code from WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=108506
+
+ Reviewed by Simon Fraser.
+
+ Since nobody builds with Web Intents enabled anymore, and since the code is going to
+ be removed from WebCore, remove it from WebKit2.
+
+ * Shared/API/c/WKBase.h:
+ * Shared/APIClientTraits.cpp:
+ (WebKit):
+ * Shared/APIObject.h:
+ * Shared/IntentData.cpp: Removed.
+ * Shared/IntentData.h: Removed.
+ * Shared/IntentServiceInfo.cpp: Removed.
+ * Shared/IntentServiceInfo.h: Removed.
+ * Shared/WebIntentServiceInfo.cpp: Removed.
+ * Shared/WebIntentServiceInfo.h: Removed.
+ * UIProcess/API/C/WKAPICast.h:
+ (WebKit):
+ * UIProcess/API/C/WKIntentData.cpp: Removed.
+ * UIProcess/API/C/WKIntentData.h: Removed.
+ * UIProcess/API/C/WKIntentServiceInfo.cpp: Removed.
+ * UIProcess/API/C/WKIntentServiceInfo.h: Removed.
+ * UIProcess/API/C/WKPage.cpp:
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebIntentData.cpp: Removed.
+ * UIProcess/WebIntentData.h: Removed.
+ * UIProcess/WebLoaderClient.cpp:
+ * UIProcess/WebLoaderClient.h:
+ (WebKit):
+ (WebLoaderClient):
+ * UIProcess/WebPageProxy.cpp:
+ * UIProcess/WebPageProxy.h:
+ (WebKit):
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebProcessProxy.cpp:
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
+ (WebKit):
+ * WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp: Removed.
+ * WebProcess/InjectedBundle/API/c/WKBundleIntent.h: Removed.
+ * WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp: Removed.
+ * WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.h: Removed.
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/InjectedBundle/InjectedBundleIntent.cpp: Removed.
+ * WebProcess/InjectedBundle/InjectedBundleIntent.h: Removed.
+ * WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp: Removed.
+ * WebProcess/InjectedBundle/InjectedBundleIntentRequest.h: Removed.
+ * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
+ * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
+ (WebKit):
+ (InjectedBundlePageLoaderClient):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
+ (WebFrameLoaderClient):
+ * WebProcess/WebPage/WebFrame.cpp:
+ * WebProcess/WebPage/WebFrame.h:
+ (WebCore):
+ (WebKit):
+ (WebFrame):
+ * WebProcess/WebPage/WebPage.cpp:
+ * WebProcess/WebPage/WebPage.h:
+ (WebCore):
+ (WebKit):
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+ * WebProcess/WebProcess.cpp:
+ * WebProcess/WebProcess.h:
+ (WebCore):
+ (WebProcess):
+ * WebProcess/WebProcess.messages.in:
+
+2013-01-31 Brady Eidson <beidson@apple.com>
+
+ Lack of a log level string should not obliterate compiled in logging channel state.
+ https://bugs.webkit.org/show_bug.cgi?id=108502
+
+ Reviewed by Alexey Proskuryakov and Sam Weinig.
+
+ * Platform/mac/Logging.mac.mm:
+ (WebKit::initializeLogChannel): If there's no log level string, leave the channel state alone.
+
+2013-01-31 Alexey Proskuryakov <ap@apple.com>
+
+ WebProcess sandbox profile overhaul.
+
+ Reviewed by Sam Weinig.
+
+ Moves some rules together by susbystem for easier maintenance.
+
+ Addresses <rdar://problem/9276393>, <rdar://problem/10844321>, <rdar://problem/12408537>,
+ <rdar://problem/12558524>.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-31 Simon Hausmann <simon.hausmann@digia.com>
+
+ Unreviewed trivial build fix: Pre C++11 the use of
+ >> in nested templates is ambiguous in the grammar and
+ requires the insertion of a space here. Since these files are
+ not Mac specific we don't require C++11 yet and a space
+ fixes the build.
+
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ * Shared/ChildProcessProxy.h:
+ (ChildProcessProxy):
+
+2013-01-31 Christophe Dumez <dchris@gmail.com>
+
+ [EFL] Disable Web Intents
+ https://bugs.webkit.org/show_bug.cgi?id=108457
+
+ Reviewed by Alexey Proskuryakov.
+
+ Remove code related to Web Intents from EFL
+ WebKit2.
+
+ * CMakeLists.txt:
+ * PlatformEfl.cmake:
+ * UIProcess/API/efl/EWebKit2.h:
+ * UIProcess/API/efl/EwkViewCallbacks.h:
+ * UIProcess/API/efl/ewk_intent.cpp: Removed.
+ * UIProcess/API/efl/ewk_intent.h: Removed.
+ * UIProcess/API/efl/ewk_intent_private.h: Removed.
+ * UIProcess/API/efl/ewk_intent_service.cpp: Removed.
+ * UIProcess/API/efl/ewk_intent_service.h: Removed.
+ * UIProcess/API/efl/ewk_intent_service_private.h: Removed.
+ * UIProcess/API/efl/ewk_view.cpp:
+ * UIProcess/API/efl/ewk_view.h:
+ * UIProcess/API/efl/tests/resources/intent-request.html: Removed.
+ * UIProcess/API/efl/tests/resources/intent-service.html: Removed.
+ * UIProcess/API/efl/tests/test_ewk2_intents.cpp: Removed.
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::PageLoadClientEfl):
+ * UIProcess/efl/PageLoadClientEfl.h:
+ (PageLoadClientEfl):
+
+2013-01-31 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12695827> PPT: Make loading file URLs work with a sandboxed NetworkProcess
+
+ Address review comments.
+
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-31 Anders Carlsson <andersca@apple.com>
+
+ Stop using OutgoingMessage
+ https://bugs.webkit.org/show_bug.cgi?id=108495
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendMessage):
+ (CoreIPC::Connection::sendOutgoingMessages):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ * Shared/ChildProcessProxy.cpp:
+ (WebKit::ChildProcessProxy::~ChildProcessProxy):
+ (WebKit::ChildProcessProxy::sendMessage):
+ (WebKit::ChildProcessProxy::didFinishLaunching):
+ * Shared/ChildProcessProxy.h:
+ (ChildProcessProxy):
+
+2013-01-31 Simon Hausmann <simon.hausmann@digia.com>
+
+ [Qt] Make it possible to compile WebKit2 Qt related files without access to internal WK2 C++ API
+ https://bugs.webkit.org/show_bug.cgi?id=108472
+
+ Reviewed by Andreas Kling.
+
+ Add a new module to the qmake build system that represents the part of the WebKit2 Qt integration
+ that doesn't depend on WebKit2 internals.
+
+ Changed qwebnavigationhistory.cpp to not use any internal headers and compile it as part of the
+ internals-free module.
+
+ * Target.pri:
+ * UIProcess/API/qt/qwebnavigationhistory.cpp:
+ * WebKit2.pro:
+ * WebKit2QML.pri: Added.
+
+2013-01-31 Simon Hausmann <simon.hausmann@digia.com>
+
+ Unreviewed trivial build fix: Add missing virtual destructor to
+ LayerTreeRendererClient. Otherwise the build with -Werror breaks, which
+ complains (rightly so) that we're deleting a sub-class where the super class
+ doesn't have a virtual destructor.
+
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (WebKit::LayerTreeRendererClient::~LayerTreeRendererClient):
+
+2013-01-31 Seulgi Kim <seulgikim@company100.net>
+
+ Coordinated Graphics: view the debug border/repaint count of the non composited layer.
+ https://bugs.webkit.org/show_bug.cgi?id=108401
+
+ Reviewed by Noam Rosenthal.
+
+ Make non-compositing layer draw debug border and show repaint counter
+ accroding to settings.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+
+2013-01-31 Paweł Forysiuk <tuxator@o2.pl>
+
+ InjectedBundle is being built even with --disable-webkit2
+ https://bugs.webkit.org/show_bug.cgi?id=108364
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * GNUmakefile.am: Wrap Injected bundle with ENABLE_WEBKIT2 condition
+
+2013-01-31 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] RequestManagerClientEfl, DownloadManagerEfl and ContextHistoryClientEfl should be based on C API
+ https://bugs.webkit.org/show_bug.cgi?id=107685
+
+ Reviewed by Benjamin Poulain.
+
+ RequestManagerClientEfl, DownloadManagerEfl and ContextHistoryClientEfl
+ should be based on C API so that API layering is not violated.
+
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::EwkContext):
+ * UIProcess/efl/ContextHistoryClientEfl.cpp:
+ (WebKit::ContextHistoryClientEfl::ContextHistoryClientEfl):
+ (WebKit::ContextHistoryClientEfl::~ContextHistoryClientEfl):
+ * UIProcess/efl/ContextHistoryClientEfl.h:
+ (WebKit::ContextHistoryClientEfl::create):
+ (ContextHistoryClientEfl):
+ * UIProcess/efl/DownloadManagerEfl.cpp:
+ (WebKit::DownloadManagerEfl::DownloadManagerEfl):
+ (WebKit::DownloadManagerEfl::~DownloadManagerEfl):
+ * UIProcess/efl/DownloadManagerEfl.h:
+ (WebKit::DownloadManagerEfl::create):
+ (DownloadManagerEfl):
+ * UIProcess/efl/RequestManagerClientEfl.cpp:
+ (WebKit::RequestManagerClientEfl::RequestManagerClientEfl):
+ * UIProcess/efl/RequestManagerClientEfl.h:
+ (WebKit::RequestManagerClientEfl::create):
+ (RequestManagerClientEfl):
+
+2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r141110.
+ http://trac.webkit.org/changeset/141110
+ https://bugs.webkit.org/show_bug.cgi?id=108349
+
+ This patch broke WK2-EFL unit tests (Requested by grzegorz on
+ #webkit).
+
+ * UIProcess/efl/TextCheckerEfl.cpp:
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+ * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
+
+2013-01-31 Jae Hyun Park <jae.park@company100.net>
+
+ Coordinated Graphics : Remove WebCoordinatedSurface dependency from CoordinatedSurface
+ https://bugs.webkit.org/show_bug.cgi?id=108259
+
+ Reviewed by Noam Rosenthal.
+
+ This is a preparation patch for Threaded Coordinated Graphics.
+
+ WebCoordinatedSurface dependency should be removed from
+ CoordinatedSurface so as to share CoordinatedSurface between
+ WebCoordinatedSurface and CoordinatedSurface of WebKit1, which will be
+ implemented for Threaded Coordinated Graphics.
+
+ This patch introduces CoordinatedSurface::Factory, which is a function
+ pointer that creates CoordinatedSurfaces. CoordinatedLayerTreeHost sets
+ static CoordinatedSurface::Factory member variable. Classes that use
+ CoordinatedSurface, which are CoordinatedImageBacking and UpdateAtlas,
+ create CoordinatedSurfaces by calling CoordinatedSurface::create, which
+ will call the function set by CoordinatedLayerTreeHost.
+
+ This way, we can remove the WebCoordinatedSurface dependency from
+ CoordinatedSurface and be able to share the code in Threaded Coordinated
+ Graphics.
+
+ No new tests. No change in behavior.
+
+ * CMakeLists.txt:
+ * Shared/CoordinatedGraphics/CoordinatedSurface.cpp: Added.
+ (WebKit):
+ (WebKit::CoordinatedSurface::setFactory):
+ (WebKit::CoordinatedSurface::create):
+ * Shared/CoordinatedGraphics/CoordinatedSurface.h:
+ (CoordinatedSurface):
+ * Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
+ * Target.pri:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+ (WebKit::CoordinatedLayerTreeHost::createCoordinatedSurface):
+ (WebKit):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2013-01-30 Tim Horton <timothy_horton@apple.com>
+
+ Unreviewed build fix after http://trac.webkit.org/changeset/141372.
+
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ (WebKit::PDFPlugin::performDictionaryLookupAtLocation):
+
+2013-01-30 Jae Hyun Park <jae.park@company100.net>
+
+ Coordinated Graphics : Remove CoordinatedLayerTreeHostProxy dependency from LayerTreeRenderer
+ https://bugs.webkit.org/show_bug.cgi?id=108164
+
+ Reviewed by Benjamin Poulain.
+
+ This is a preparation patch for Threaded Coordinated Graphics.
+
+ LayerTreeRenderer should not depend on CoordinatedLayerTreeHostProxy so that it
+ can be moved to WebCore. This patch introduces LayerTreeRendererClient which
+ is implemented in CoordinatedLayerTreeHostProxy. LayerTreeRenderer uses this
+ client, instead of using CoordinatedLayerTreeHostProxy directly.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::LayerTreeRenderer):
+ (WebKit::LayerTreeRenderer::animationFrameReady):
+ (WebKit::LayerTreeRenderer::updateViewport):
+ (WebKit::LayerTreeRenderer::renderNextFrame):
+ (WebKit::LayerTreeRenderer::purgeBackingStores):
+ (WebKit::LayerTreeRenderer::detach):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (WebKit):
+ (LayerTreeRendererClient):
+ (LayerTreeRenderer):
+
+2013-01-30 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Should respond to three-finger tap for dictionary definitions
+ https://bugs.webkit.org/show_bug.cgi?id=108418
+ <rdar://problem/13121409>
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h: Add default implementation of performDictionaryLookupAtLocation.
+ * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add getSelectionForWordAtPoint and searchInDictionaryWithSelection.
+ * WebProcess/Plugins/PDF/PDFPlugin.h: Add performDictionaryLookupAtLocation.
+ * WebProcess/Plugins/PDF/PDFPlugin.mm: Grab a PDFSelection representing the word encompassing the given point, and
+ throw up a dictionary popover.
+ (WebKit::PDFPlugin::performDictionaryLookupAtLocation):
+ * WebProcess/Plugins/PDF/SimplePDFPlugin.h: Add default implementation of performDictionaryLookupAtLocation.
+ * WebProcess/Plugins/Plugin.h: Add performDictionaryLookupAtLocation.
+ * WebProcess/Plugins/PluginProxy.h: Add default implementation of performDictionaryLookupAtLocation.
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::performDictionaryLookupAtLocation): Forward performDictionaryLookupAtLocation to the plugin.
+ * WebProcess/Plugins/PluginView.h: Add performDictionaryLookupAtLocation.
+ * WebProcess/WebPage/mac/WebPageMac.mm:
+ (WebKit::WebPage::performDictionaryLookupAtLocation): Intercept performDictionaryLookupAtLocation, and give
+ the main-frame plugin (if it exists) a chance to handle it.
+
+2013-01-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [WK2] Cleanup MessageID parameter after r141332
+ https://bugs.webkit.org/show_bug.cgi?id=108419
+
+ Unreviewed to fix build breaks.
+
+ r141332 didn't remove MessageID parameter on some features.
+ (battery, vibration, coordinate graphics, network info and so on)
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/DrawingAreaProxyImpl.cpp:
+ (WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage):
+ * UIProcess/WebBatteryManagerProxy.h:
+ (WebBatteryManagerProxy):
+ * UIProcess/WebNetworkInfoManagerProxy.h:
+ (WebNetworkInfoManagerProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveMessage):
+ * UIProcess/WebVibrationProxy.h:
+ (WebVibrationProxy):
+ * UIProcess/soup/WebSoupRequestManagerProxy.h:
+ (WebSoupRequestManagerProxy):
+ * WebProcess/Battery/WebBatteryManager.h:
+ (WebBatteryManager):
+ * WebProcess/NetworkInfo/WebNetworkInfoManager.h:
+ (WebNetworkInfoManager):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didReceiveMessage):
+ * WebProcess/soup/WebSoupRequestManager.h:
+ (WebSoupRequestManager):
+
+2013-01-30 Anders Carlsson <andersca@apple.com>
+
+ Remove MessageID from MessageSender
+ https://bugs.webkit.org/show_bug.cgi?id=108413
+
+ Reviewed by Andreas Kling.
+
+ This is another step towards eliminating MessageID.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
+ (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage):
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ (NetworkConnectionToWebProcess):
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::didReceiveMessage):
+ (WebKit::NetworkProcess::didReceiveSyncMessage):
+ * NetworkProcess/NetworkProcess.h:
+ (NetworkProcess):
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::processIncomingMessage):
+ (CoreIPC::Connection::dispatchSyncMessage):
+ (CoreIPC::Connection::dispatchMessage):
+ * Platform/CoreIPC/Connection.h:
+ (QueueClient):
+ (CoreIPC::Connection::waitForAndDispatchImmediately):
+ * Platform/CoreIPC/MessageReceiver.h:
+ (MessageReceiver):
+ (CoreIPC::MessageReceiver::didReceiveSyncMessage):
+ * Platform/CoreIPC/MessageReceiverMap.cpp:
+ (CoreIPC::MessageReceiverMap::dispatchMessage):
+ (CoreIPC::MessageReceiverMap::dispatchSyncMessage):
+ * Platform/CoreIPC/MessageReceiverMap.h:
+ (MessageReceiverMap):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::didReceiveMessage):
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ * PluginProcess/WebProcessConnection.cpp:
+ (WebKit::WebProcessConnection::didReceiveMessage):
+ (WebKit::WebProcessConnection::didReceiveSyncMessage):
+ * PluginProcess/WebProcessConnection.h:
+ (WebProcessConnection):
+ * Scripts/webkit2/messages.py:
+ (forward_declarations_and_headers):
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+ * Shared/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::didReceiveMessage):
+ * Shared/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * Shared/ChildProcessProxy.cpp:
+ (WebKit::ChildProcessProxy::sendMessage):
+ * Shared/ChildProcessProxy.h:
+ (ChildProcessProxy):
+ (WebKit::ChildProcessProxy::send):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (WebKit::CustomProtocolManager::didReceiveMessage):
+ * Shared/Plugins/NPRemoteObjectMap.cpp:
+ (WebKit::NPRemoteObjectMap::didReceiveSyncMessage):
+ * Shared/Plugins/NPRemoteObjectMap.h:
+ (NPRemoteObjectMap):
+ * Shared/WebConnection.cpp:
+ (WebKit::WebConnection::didReceiveMessage):
+ * Shared/WebConnection.h:
+ (WebConnection):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * SharedWorkerProcess/SharedWorkerProcess.cpp:
+ (WebKit::SharedWorkerProcess::didReceiveMessage):
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ (SharedWorkerProcess):
+ * UIProcess/Downloads/DownloadProxy.cpp:
+ (WebKit::DownloadProxy::didReceiveMessage):
+ (WebKit::DownloadProxy::didReceiveSyncMessage):
+ * UIProcess/Downloads/DownloadProxy.h:
+ (DownloadProxy):
+ * UIProcess/DrawingAreaProxy.cpp:
+ (WebKit::DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage):
+ * UIProcess/DrawingAreaProxy.h:
+ (DrawingAreaProxy):
+ * UIProcess/DrawingAreaProxyImpl.cpp:
+ (WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage):
+ * UIProcess/DrawingAreaProxyImpl.h:
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
+ (CustomProtocolManagerProxy):
+ * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
+ (WebKit::CustomProtocolManagerProxy::didReceiveMessage):
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didReceiveMessage):
+ (WebKit::NetworkProcessProxy::didReceiveSyncMessage):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ (NetworkProcessProxy):
+ * UIProcess/Notifications/WebNotificationManagerProxy.h:
+ (WebNotificationManagerProxy):
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didReceiveMessage):
+ * UIProcess/Plugins/PluginProcessProxy.h:
+ (PluginProcessProxy):
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp:
+ (WebKit::SharedWorkerProcessProxy::didReceiveMessage):
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
+ (SharedWorkerProcessProxy):
+ * UIProcess/WebApplicationCacheManagerProxy.cpp:
+ (WebKit::WebApplicationCacheManagerProxy::didReceiveMessage):
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ (WebApplicationCacheManagerProxy):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::dispatchMessage):
+ (WebKit::WebContext::dispatchSyncMessage):
+ (WebKit::WebContext::didReceiveMessage):
+ (WebKit::WebContext::didReceiveSyncMessage):
+ * UIProcess/WebContext.h:
+ (WebContext):
+ * UIProcess/WebCookieManagerProxy.cpp:
+ (WebKit::WebCookieManagerProxy::didReceiveMessage):
+ * UIProcess/WebCookieManagerProxy.h:
+ (WebCookieManagerProxy):
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ (WebKit::WebDatabaseManagerProxy::didReceiveMessage):
+ * UIProcess/WebDatabaseManagerProxy.h:
+ (WebDatabaseManagerProxy):
+ * UIProcess/WebFullScreenManagerProxy.cpp:
+ (WebKit::WebFullScreenManagerProxy::didReceiveMessage):
+ (WebKit::WebFullScreenManagerProxy::didReceiveSyncMessage):
+ * UIProcess/WebFullScreenManagerProxy.h:
+ (WebFullScreenManagerProxy):
+ * UIProcess/WebGeolocationManagerProxy.h:
+ (WebGeolocationManagerProxy):
+ * UIProcess/WebIconDatabase.h:
+ (WebIconDatabase):
+ * UIProcess/WebKeyValueStorageManagerProxy.h:
+ (WebKeyValueStorageManagerProxy):
+ * UIProcess/WebMediaCacheManagerProxy.h:
+ (WebMediaCacheManagerProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveMessage):
+ (WebKit::WebPageProxy::didReceiveSyncMessage):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessage):
+ (WebKit::WebProcessProxy::didReceiveSyncMessage):
+ (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/WebResourceCacheManagerProxy.h:
+ (WebResourceCacheManagerProxy):
+ * UIProcess/mac/RemoteLayerTreeHost.h:
+ (RemoteLayerTreeHost):
+ * UIProcess/mac/RemoteLayerTreeHost.mm:
+ (WebKit::RemoteLayerTreeHost::didReceiveMessage):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::didReceiveMessage):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebApplicationCacheManager):
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit::WebCookieManager::didReceiveMessage):
+ * WebProcess/Cookies/WebCookieManager.h:
+ (WebCookieManager):
+ * WebProcess/FullScreen/WebFullScreenManager.cpp:
+ (WebKit::WebFullScreenManager::didReceiveMessage):
+ * WebProcess/FullScreen/WebFullScreenManager.h:
+ (WebFullScreenManager):
+ * WebProcess/Geolocation/WebGeolocationManager.h:
+ (WebGeolocationManager):
+ * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
+ (WebIconDatabaseProxy):
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ (WebMediaCacheManager):
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ (WebKit::NetworkProcessConnection::didReceiveMessage):
+ (WebKit::NetworkProcessConnection::didReceiveSyncMessage):
+ * WebProcess/Network/NetworkProcessConnection.h:
+ (NetworkProcessConnection):
+ * WebProcess/Notifications/WebNotificationManager.h:
+ (WebNotificationManager):
+ * WebProcess/Plugins/PluginProcessConnection.cpp:
+ (WebKit::PluginProcessConnection::didReceiveMessage):
+ (WebKit::PluginProcessConnection::didReceiveSyncMessage):
+ * WebProcess/Plugins/PluginProcessConnection.h:
+ (PluginProcessConnection):
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ (WebResourceCacheManager):
+ * WebProcess/Storage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::didReceiveMessage):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebPage/DrawingArea.h:
+ (DrawingArea):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (LayerTreeHost):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didReceiveMessage):
+ (WebKit::WebPage::didReceiveSyncMessage):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPageGroupProxy.h:
+ (WebPageGroupProxy):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveSyncMessage):
+ (WebKit::WebProcess::didReceiveMessage):
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-01-30 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Update scrollbars if PDFLayerController's display mode changes
+ https://bugs.webkit.org/show_bug.cgi?id=108412
+ <rdar://problem/13002261>
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add pdfLayerController:didChangeDisplayMode:
+ * WebProcess/Plugins/PDF/PDFPlugin.h: Add notifyDisplayModeChanged().
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ (-[WKPDFLayerControllerDelegate pdfLayerController:didChangeDisplayMode:]): Forward didChangeDisplayMode to notifyDisplayModeChanged.
+ (WebKit::PDFPlugin::notifyDisplayModeChanged): Update content size and scrollbar size when display mode changes.
+
+2013-01-30 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12695827> PPT: Make loading file URLs work with a sandboxed NetworkProcess
+
+ Reviewed by Sam Weinig.
+
+ * DerivedSources.make: Preprocess a .sb.in file to build the profile.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ Don't prevent entering the sandbox. Override sandbox path, because service
+ gets a differnt one by default.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in: Added.
+
+2013-01-30 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: LayerTreeRenderer manages the surface of UpdateAtlas.
+ https://bugs.webkit.org/show_bug.cgi?id=107224
+
+ Reviewed by Benjamin Poulain.
+
+ Currently, CoordinatedLayerTreeHostProxy manages the surface of UpdateAtlas, but
+ all other resources are managed by LayerTreeRenderer. This patch matches the
+ surface of UpdateAtlas to other resources.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::updateTileForLayer):
+ (WebKit::CoordinatedLayerTreeHostProxy::createUpdateAtlas):
+ (WebKit::CoordinatedLayerTreeHostProxy::removeUpdateAtlas):
+ (WebKit::CoordinatedLayerTreeHostProxy::purgeBackingStores):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::updateTile):
+ (WebKit::LayerTreeRenderer::createUpdateAtlas):
+ (WebKit):
+ (WebKit::LayerTreeRenderer::removeUpdateAtlas):
+ (WebKit::LayerTreeRenderer::purgeGLResources):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (TileUpdate):
+ (WebKit::LayerTreeRenderer::TileUpdate::TileUpdate):
+ (LayerTreeRenderer):
+
+2013-01-30 Anders Carlsson <andersca@apple.com>
+
+ Remove MessageID parameter from generated message receivers
+ https://bugs.webkit.org/show_bug.cgi?id=108379
+
+ Reviewed by Beth Dakin.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
+ (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage):
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ (NetworkConnectionToWebProcess):
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::didReceiveMessage):
+ * NetworkProcess/NetworkProcess.h:
+ (NetworkProcess):
+ * PluginProcess/PluginControllerProxy.h:
+ (PluginControllerProxy):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::didReceiveMessage):
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ * PluginProcess/WebProcessConnection.cpp:
+ (WebKit::WebProcessConnection::didReceiveMessage):
+ (WebKit::WebProcessConnection::didReceiveSyncMessage):
+ * PluginProcess/WebProcessConnection.h:
+ (WebProcessConnection):
+ * Scripts/webkit2/messages.py:
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+ * Shared/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::didReceiveMessage):
+ * Shared/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (WebKit::CustomProtocolManager::didReceiveMessage):
+ * Shared/Plugins/NPObjectMessageReceiver.h:
+ (NPObjectMessageReceiver):
+ * Shared/Plugins/NPRemoteObjectMap.cpp:
+ (WebKit::NPRemoteObjectMap::didReceiveSyncMessage):
+ * Shared/WebConnection.cpp:
+ (WebKit::WebConnection::didReceiveMessage):
+ * Shared/WebConnection.h:
+ (WebConnection):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h:
+ (SecItemShim):
+ * SharedWorkerProcess/SharedWorkerProcess.cpp:
+ (WebKit::SharedWorkerProcess::didReceiveMessage):
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ (SharedWorkerProcess):
+ * UIProcess/Downloads/DownloadProxy.cpp:
+ (WebKit::DownloadProxy::didReceiveMessage):
+ (WebKit::DownloadProxy::didReceiveSyncMessage):
+ * UIProcess/Downloads/DownloadProxy.h:
+ (DownloadProxy):
+ * UIProcess/DrawingAreaProxy.h:
+ (DrawingAreaProxy):
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
+ (CustomProtocolManagerProxy):
+ * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
+ (WebKit::CustomProtocolManagerProxy::didReceiveMessage):
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didReceiveMessage):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ (NetworkProcessProxy):
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didReceiveMessage):
+ * UIProcess/Plugins/PluginProcessProxy.h:
+ (PluginProcessProxy):
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp:
+ (WebKit::SharedWorkerProcessProxy::didReceiveMessage):
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
+ (SharedWorkerProcessProxy):
+ * UIProcess/WebApplicationCacheManagerProxy.cpp:
+ (WebKit::WebApplicationCacheManagerProxy::didReceiveMessage):
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ (WebApplicationCacheManagerProxy):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::didReceiveMessage):
+ (WebKit::WebContext::didReceiveSyncMessage):
+ * UIProcess/WebContext.h:
+ (WebContext):
+ * UIProcess/WebCookieManagerProxy.cpp:
+ (WebKit::WebCookieManagerProxy::didReceiveMessage):
+ * UIProcess/WebCookieManagerProxy.h:
+ (WebCookieManagerProxy):
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ (WebKit::WebDatabaseManagerProxy::didReceiveMessage):
+ * UIProcess/WebDatabaseManagerProxy.h:
+ (WebDatabaseManagerProxy):
+ * UIProcess/WebFullScreenManagerProxy.cpp:
+ (WebKit::WebFullScreenManagerProxy::didReceiveMessage):
+ (WebKit::WebFullScreenManagerProxy::didReceiveSyncMessage):
+ * UIProcess/WebFullScreenManagerProxy.h:
+ (WebFullScreenManagerProxy):
+ * UIProcess/WebInspectorProxy.h:
+ (WebInspectorProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveMessage):
+ (WebKit::WebPageProxy::didReceiveSyncMessage):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessage):
+ (WebKit::WebProcessProxy::didReceiveSyncMessage):
+ (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/mac/RemoteLayerTreeHost.h:
+ (RemoteLayerTreeHost):
+ * UIProcess/mac/RemoteLayerTreeHost.mm:
+ (WebKit::RemoteLayerTreeHost::didReceiveMessage):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h:
+ (SecItemShimProxy):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::didReceiveMessage):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebApplicationCacheManager):
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit::WebCookieManager::didReceiveMessage):
+ * WebProcess/Cookies/WebCookieManager.h:
+ (WebCookieManager):
+ * WebProcess/FullScreen/WebFullScreenManager.cpp:
+ (WebKit::WebFullScreenManager::didReceiveMessage):
+ * WebProcess/FullScreen/WebFullScreenManager.h:
+ (WebFullScreenManager):
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ (WebKit::NetworkProcessConnection::didReceiveMessage):
+ (WebKit::NetworkProcessConnection::didReceiveSyncMessage):
+ * WebProcess/Network/WebResourceLoader.h:
+ (WebResourceLoader):
+ * WebProcess/Plugins/PluginProcessConnection.cpp:
+ (WebKit::PluginProcessConnection::didReceiveMessage):
+ (WebKit::PluginProcessConnection::didReceiveSyncMessage):
+ * WebProcess/Plugins/PluginProcessConnection.h:
+ (PluginProcessConnection):
+ * WebProcess/Plugins/PluginProxy.h:
+ (PluginProxy):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::didReceiveMessage):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebPage/DrawingArea.h:
+ (DrawingArea):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebPage/EventDispatcher.h:
+ (EventDispatcher):
+ * WebProcess/WebPage/WebInspector.h:
+ (WebInspector):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didReceiveMessage):
+ (WebKit::WebPage::didReceiveSyncMessage):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveMessage):
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+
+2013-01-30 Christophe Dumez <dchris@gmail.com>
+
+ [WK2][UNIX] g_spawn_sync() generates warning in PluginProcessProxy::scanPlugin()
+ https://bugs.webkit.org/show_bug.cgi?id=108371
+
+ Reviewed by Martin Robinson.
+
+ g_spawn_sync() was sometimes displaying a warning about the SIGCHLD
+ signal disposition not being set to SIG_DFL, despite the fix in r133755.
+ The reason was that the code was only setting the disposition to SIG_DFL
+ if the previous disposition was SIG_IGN.
+
+ In this patch, we set the SIGCHLD signal disposition to SIG_DFL, no
+ matter what its previous disposition was. Also, the signal disposition
+ is now restored to its previous state after the call to g_spawn_sync()
+ to avoid side effects. Finally, we now use SIGCHLD instead of SIDCLD
+ since this is the more compatible POSIX name.
+
+ * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
+ (WebKit::spawnProcessSync):
+ (WebKit):
+ (WebKit::PluginProcessProxy::scanPlugin):
+
+2013-01-30 Huang Dongsung <luxtella@company100.net>
+
+ [EFL][Qt][WK2] We should consider a page scale factor in WebCore instead of our own scale factor.
+ https://bugs.webkit.org/show_bug.cgi?id=105978
+
+ Reviewed by Simon Fraser.
+
+ Currently, PageViewportController sends a page scale factor to Coordinated
+ Graphics System regardless of the page scale factor in WebCore. This patch makes
+ Coordinated Graphics System use the page scale factor in WebCore to match other
+ ports.
+
+ When it is needed to change a page scale, PageViewportController sends the scale
+ to Page in Web Process via WebPageProxy::scalePage. When the page scale in
+ WebCore is changed, CoordinatedGraphicsLayer gets notified via
+ deviceOrPageScaleFactorChanged callback. CoordinatedGraphicsLayer uses the page
+ scale factor like previous our own scale factor.
+
+ We set true to applyDeviceScaleFactorInCompositor and
+ ApplyPageScaleFactorInCompositor in Settings like chromium, because
+ TiledBackingStore that is a backing store of each GraphicsLayer applies the
+ scale to our raster graphics engines instead of applying the scale to the local
+ transform of each render object.
+
+ Thank Kenneth Rohde Christiansen for implementing the base patch of this patch.
+
+ No new tests. Covered by existing tests.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewLegacyPrivate::updateViewportSize):
+ * UIProcess/API/qt/raw/qrawwebview.cpp:
+ (QRawWebView::setSize):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
+ (WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect):
+ Does not receive a pageScaleFactor argument because
+ PageViewportController sends a page scale factor to Page.
+ However, this method still receives a scroll position because we
+ enable delegates scrolling.
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/DrawingAreaProxy.h:
+ (WebKit::DrawingAreaProxy::setVisibleContentsRect):
+ * UIProcess/DrawingAreaProxyImpl.cpp:
+ (WebKit::DrawingAreaProxyImpl::setVisibleContentsRect):
+ * UIProcess/DrawingAreaProxyImpl.h:
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::didRenderFrame):
+ (WebKit::PageViewportController::didChangeContentsVisibility):
+ (WebKit::PageViewportController::syncVisibleContents):
+ (WebKit::PageViewportController::applyScaleAfterRenderingContents):
+ (WebKit::PageViewportController::applyPositionAfterRenderingContents):
+ * UIProcess/efl/PageClientLegacyImpl.cpp:
+ (WebKit::PageClientLegacyImpl::updateViewportSize):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
+ (WebCore::CoordinatedGraphicsLayer::deviceOrPageScaleFactorChanged):
+ (WebCore::CoordinatedGraphicsLayer::effectiveContentsScale):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+ (WebKit::CoordinatedLayerTreeHost::createGraphicsLayer):
+ (WebKit::CoordinatedLayerTreeHost::deviceScaleFactor):
+ (WebKit):
+ (WebKit::CoordinatedLayerTreeHost::pageScaleFactor):
+ (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
+ (WebKit::CoordinatedLayerTreeHost::deviceOrPageScaleFactorChanged):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (CoordinatedLayerTreeHost):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setUseFixedLayout):
+
+2013-01-30 Zoltan Arvai <zarvai@inf.u-szeged.hu>
+
+ [Qt] Fix Win build after r141177
+ https://bugs.webkit.org/show_bug.cgi?id=108325
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/win/ConnectionWin.cpp:
+ (CoreIPC::Connection::readEventHandler):
+ (CoreIPC::Connection::sendOutgoingMessage):
+
+2013-01-30 Thiago Marcos P. Santos <thiago.santos@intel.com>
+
+ REGRESSION (r141051): Broke plugin support on non-Mac WebKit2 Ports
+ https://bugs.webkit.org/show_bug.cgi?id=108182
+
+ Reviewed by Sam Weinig.
+
+ Send the plugin path to the PluginProcess as a parameter.
+
+ * PluginProcess/qt/PluginProcessMainQt.cpp:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/unix/PluginProcessMainUnix.cpp:
+ (WebKit::PluginProcessMainUnix):
+ * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+ * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+ * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+ * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
+ (WebKit::PluginProcessProxy::platformInitializeLaunchOptions):
+ * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
+ (WebKit::PluginProcessProxy::platformInitializeLaunchOptions):
+
+2013-01-30 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_window_features
+ https://bugs.webkit.org/show_bug.cgi?id=107924
+
+ Reviewed by Sam Weinig.
+
+ Use C API inside ewk_window_features instead of accessing
+ internal C++ classes directly, to avoid violating API
+ layering.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::createNewPage):
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+ * UIProcess/API/efl/ewk_window_features.cpp:
+ (EwkWindowFeatures::EwkWindowFeatures):
+ (getWindowFeatureValue):
+ (EwkWindowFeatures::getWindowFeatureBoolValue):
+ (EwkWindowFeatures::getWindowFeatureDoubleValue):
+ (ewk_window_features_geometry_get):
+ * UIProcess/API/efl/ewk_window_features_private.h:
+ (EwkWindowFeatures::create):
+ (EwkWindowFeatures::geometry):
+ (EwkWindowFeatures::setGeometry):
+ (EwkWindowFeatures):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::createNewPage):
+
+2013-01-30 Zeno Albisser <zeno@webkit.org>
+
+ [Qt] Fix Qt/Mac build after r141024 and r141037
+ https://bugs.webkit.org/show_bug.cgi?id=108318
+
+ Reviewed by Kentaro Hara.
+
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::platformInvalidate):
+ Replace nullptr with 0 to allow compiling without C++11 support.
+
+2013-01-30 Kondapally Kalyan <kalyan.kondapally@intel.com>
+
+ [EFL][Qt][WebGL] Avoid deleting an uncreated canvas.
+ https://bugs.webkit.org/show_bug.cgi?id=106878
+
+ Reviewed by Benjamin Poulain.
+
+ setContentsToCanvas is responsible for marking canvas for creation or deletion.
+ The issue here is that the canvas is marked for deletion even though it has not
+ been created. This causes an assert in LayerTreeRenderer::destroyCanvas.
+ This patch adds a seperate check to ensure that CoordinatedGraphicsLayer
+ tries to issue a request for canvas deletion only after request for canvas
+ creation has been handled.
+
+ New test: fast/canvas/webgl/canvas-resize-crash.html
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
+ (WebCore::CoordinatedGraphicsLayer::setContentsToCanvas):
+ (WebCore::CoordinatedGraphicsLayer::destroyCanvasIfNeeded):
+ (WebCore::CoordinatedGraphicsLayer::createCanvasIfNeeded):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayer):
+ (WebCore::CoordinatedGraphicsLayer::fixedToViewport):
+
+2013-01-30 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed GTK build fix.
+
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp: Include GraphicsLayerTextureMapper.h
+ as a forwarding header from WebCore.
+
+2013-01-30 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Remove m_pendingSyncBackingStores in LayerTreeRenderer.
+ https://bugs.webkit.org/show_bug.cgi?id=107099
+
+ Reviewed by Noam Rosenthal.
+
+ Instead of queuing the setting of backing stores in LayerTreeRenderer,
+ and then setting them directly to TextureMapperLayer, we allow
+ GraphicsLayerTextureMapper's existing queuing mechanism to handle that.
+ Instead of a m_pendingSyncBackingStores queue, we have a m_backingStores
+ queue which can be applied much more easily to the layer tree.
+
+ In addition, LayerTreeRenderer::purgeGLResources() does not call
+ TextureMapperLayer::clearBackingStoresRecursive() because
+ TextureMapperLayer will be destructed soon.
+
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::deleteLayer):
+ (WebKit::LayerTreeRenderer::createBackingStoreIfNeeded):
+ (WebKit::LayerTreeRenderer::removeBackingStoreIfNeeded):
+ (WebKit::LayerTreeRenderer::resetBackingStoreSizeToLayerSize):
+ (WebKit::LayerTreeRenderer::createTile):
+ (WebKit::LayerTreeRenderer::removeTile):
+ (WebKit::LayerTreeRenderer::updateTile):
+ (WebKit::LayerTreeRenderer::commitPendingBackingStoreOperations):
+ (WebKit::LayerTreeRenderer::purgeGLResources):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Update the expected generated message results
+ https://bugs.webkit.org/show_bug.cgi?id=108293
+
+ Reviewed by Beth Dakin.
+
+ * Scripts/webkit2/messages.py:
+ (generate_messages_header):
+ * Scripts/webkit2/messages_unittest.py:
+
+2013-01-29 Sam Weinig <sam@webkit.org>
+
+ Replace unnecessary ArgumentDecoder member functions with decode overloads
+ https://bugs.webkit.org/show_bug.cgi?id=102013
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/ArgumentCoders.cpp:
+ (CoreIPC::::decode):
+ * Platform/CoreIPC/ArgumentCoders.h:
+ * Platform/CoreIPC/ArgumentDecoder.cpp:
+ (CoreIPC::ArgumentDecoder::decodeVariableLengthByteArray):
+ (CoreIPC::ArgumentDecoder::decode):
+ * Platform/CoreIPC/ArgumentDecoder.h:
+ (ArgumentDecoder):
+ (CoreIPC::ArgumentDecoder::decodeEnum):
+ (CoreIPC):
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::dispatchSyncMessage):
+ * Platform/CoreIPC/MessageDecoder.cpp:
+ (CoreIPC::MessageDecoder::MessageDecoder):
+ * Platform/mac/SharedMemoryMac.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * Platform/win/SharedMemoryWin.cpp:
+ (WebKit::SharedMemory::Handle::decode):
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::::decode):
+ (CoreIPC::decodeTimingFunction):
+ * Shared/DictionaryPopupInfo.cpp:
+ (WebKit::DictionaryPopupInfo::decode):
+ * Shared/UserMessageCoders.h:
+ (WebKit::UserMessageDecoder::baseDecode):
+ * Shared/cf/ArgumentCodersCF.cpp:
+ (CoreIPC::decode):
+ * Shared/mac/ArgumentCodersMac.mm:
+ (CoreIPC::decode):
+ * Shared/mac/ObjCObjectGraphCoders.mm:
+ (WebKit::ObjCObjectGraphDecoder::baseDecode):
+ * Shared/mac/SandboxExtensionMac.mm:
+ (WebKit::SandboxExtension::HandleArray::decode):
+ * Shared/mac/SecItemRequestData.cpp:
+ (WebKit::SecItemRequestData::decode):
+ * Shared/mac/SecItemResponseData.cpp:
+ (WebKit::SecItemResponseData::decode):
+ * Shared/qt/ArgumentCodersQt.cpp:
+ (CoreIPC::::decode):
+ * Shared/qt/QtNetworkReplyData.cpp:
+ (WebKit::QtNetworkReplyData::decode):
+ * WebProcess/WebPage/DecoderAdapter.cpp:
+ (WebKit::DecoderAdapter::decodeBool):
+ (WebKit::DecoderAdapter::decodeUInt16):
+ (WebKit::DecoderAdapter::decodeUInt32):
+ (WebKit::DecoderAdapter::decodeUInt64):
+ (WebKit::DecoderAdapter::decodeInt32):
+ (WebKit::DecoderAdapter::decodeInt64):
+ (WebKit::DecoderAdapter::decodeFloat):
+ (WebKit::DecoderAdapter::decodeDouble):
+
+2013-01-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [WK2] Adjust missing MessageID removals to fix build breaks
+ https://bugs.webkit.org/show_bug.cgi?id=108276
+
+ Unreviewed to fix build breaks.
+
+ Some MessageID removals wasn't adjusted into ConnectionUnix.cpp and coordinated graphics.
+
+ * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+ (CoreIPC::MessageInfo::MessageInfo):
+ (CoreIPC::MessageInfo::setMessageBodyIsOutOfLine):
+ (CoreIPC::MessageInfo::isMessageBodyIsOutOfLine):
+ (CoreIPC::Connection::processMessage):
+ (CoreIPC::Connection::sendOutgoingMessage):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveMessage):
+ * UIProcess/WebProcessProxy.cpp:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didReceiveMessage):
+
+2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r140983.
+ http://trac.webkit.org/changeset/140983
+ https://bugs.webkit.org/show_bug.cgi?id=108277
+
+ Unfortunately, this API has one last client (Requested by
+ abarth on #webkit).
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Remove MessageID parameter from Connection::sendMessage
+ https://bugs.webkit.org/show_bug.cgi?id=108269
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendMessage):
+ (CoreIPC::Connection::sendSyncReply):
+ (CoreIPC::Connection::sendSyncMessage):
+ (CoreIPC::Connection::sendSyncMessageFromSecondaryThread):
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ (CoreIPC::Connection::send):
+ (CoreIPC::Connection::sendSync):
+ * Platform/CoreIPC/MessageSender.h:
+ (CoreIPC::MessageSender::send):
+ (CoreIPC::MessageSender::sendMessage):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::open):
+ * Shared/ChildProcessProxy.cpp:
+ (WebKit::ChildProcessProxy::sendMessage):
+ (WebKit::ChildProcessProxy::didFinishLaunching):
+ * Shared/WebConnection.cpp:
+ (WebKit::WebConnection::postMessage):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::postMessage):
+ (WebKit::InjectedBundle::postSynchronousMessage):
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Stop generating the message kind enum
+ https://bugs.webkit.org/show_bug.cgi?id=108258
+
+ Reviewed by Beth Dakin.
+
+ * Platform/CoreIPC/Connection.h:
+ (CoreIPC::Connection::send):
+ (CoreIPC::Connection::sendSync):
+ (CoreIPC::Connection::waitForAndDispatchImmediately):
+ * Platform/CoreIPC/MessageSender.h:
+ (CoreIPC::MessageSender::send):
+ * Scripts/webkit2/messages.py:
+ (surround_in_condition):
+ (message_to_struct_declaration):
+ (generate_messages_header):
+ * Scripts/webkit2/messages_unittest.py:
+ * Scripts/webkit2/model.py:
+ (Message.__init__):
+ * Shared/ChildProcessProxy.h:
+ (WebKit::ChildProcessProxy::send):
+ * Shared/WebConnection.cpp:
+ (WebKit::WebConnection::postMessage):
+
+2013-01-29 Kiran Muppala <cmuppala@apple.com>
+
+ Fix erroneous semicolon causing build failure: if statement has empty body [-Werror,-Wempty-body]
+ https://bugs.webkit.org/show_bug.cgi?id=108241
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::addExistingWebPage): Remove erroneous
+ semicolon following the if condition.
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Remove almost everything from MessageID
+ https://bugs.webkit.org/show_bug.cgi?id=108244
+
+ Reviewed by Beth Dakin.
+
+ * Platform/CoreIPC/MessageID.h:
+ (CoreIPC::MessageID::MessageID):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC):
+ (CoreIPC::Connection::sendOutgoingMessage):
+ (CoreIPC::createMessageDecoder):
+ (CoreIPC::Connection::receiveSourceEventHandler):
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Get rid of MessageID::is()
+ https://bugs.webkit.org/show_bug.cgi?id=108234
+
+ Reviewed by Beth Dakin.
+
+ Add explicit message receiver name equality checks instead of using MessageID::is.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
+ (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage):
+ * Platform/CoreIPC/MessageID.h:
+ * PluginProcess/WebProcessConnection.cpp:
+ (WebKit::WebProcessConnection::didReceiveMessage):
+ (WebKit::WebProcessConnection::didReceiveSyncMessage):
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didReceiveMessage):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::didReceiveMessage):
+ (WebKit::WebContext::didReceiveSyncMessage):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveMessage):
+ (WebKit::WebPageProxy::didReceiveSyncMessage):
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didReceiveMessage):
+ (WebKit::WebProcessProxy::didReceiveSyncMessage):
+ (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.cpp:
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ (WebKit::NetworkProcessConnection::didReceiveMessage):
+ (WebKit::NetworkProcessConnection::didReceiveSyncMessage):
+ * WebProcess/Plugins/PluginProcessConnection.cpp:
+ (WebKit::PluginProcessConnection::didReceiveSyncMessage):
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::didReceiveMessageOnConnectionWorkQueue):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::didReceiveMessage):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::didReceiveMessage):
+ (WebKit::WebProcess::didReceiveMessageOnConnectionWorkQueue):
+
+2012-11-28 Jer Noble <jer.noble@apple.com>
+
+ Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
+ https://bugs.webkit.org/show_bug.cgi?id=103558
+ <rdar://problem/12763112>
+
+ Reviewed by Benjamin Poulain.
+
+ Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
+ view when in full screen mode. Add a simple accessor for the existing placeholder view to
+ WKFullScreenWindowController and WKView.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView fullScreenPlaceholderView]): Added simple accessor.
+ * UIProcess/API/mac/WKViewPrivate.h:
+ * UIProcess/mac/WKFullScreenWindowController.h:
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+ (-[WKFullScreenWindowController webViewPlaceholder]): Added simple accessor.
+
+2013-01-29 Huang Dongsung <luxtella@company100.net>
+
+ [WK2] Call LayerTreeHost::deviceOrPageScaleFactorChanged() when a device or page scale factor is changed.
+ https://bugs.webkit.org/show_bug.cgi?id=107802
+
+ Reviewed by Simon Fraser.
+
+ Currently, LayerTreeHostMac and *GTK call deviceOrPageScaleFactorChanged()
+ of the non compositing GraphicsLayer when a device scale factor is changed.
+
+ There are two problems.
+ 1. We don't notify LayerTreeHost when a page scale factor is changed.
+ 2. When using TiledCoreAnimationDrawingAreaProxy, LayerTreeHostMac does
+ not receive the device scale factor changed callback.
+
+ So this patch changes three points.
+ 1. Rename from deviceScaleFactorDidChange() to deviceOrPageScaleFactorChanged()
+ in LayerTreeHost.
+ 2. WebPage::setDeviceScaleFactor() calls LayerTreeHost::deviceScaleFactorDidChange()
+ because of dealing with TiledCoreAnimationDrawingAreaProxy.
+ 3. WebPage::pageScaleFactor() calls LayerTreeHost::deviceScaleFactorDidChange()
+ to call deviceOrPageScaleFactorChanged() of the non compositing GraphicsLayer.
+
+ Unfortunately, I couldn't think of a way to test this in an automated fashion.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (WebKit::CoordinatedLayerTreeHost::deviceOrPageScaleFactorChanged):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::updateBackingStoreState):
+ Don't call LayerTreeHost::deviceScaleFactorDidChange() because this
+ method calls WebPage::setDeviceScaleFactor() and then
+ LayerTreeHost::deviceScaleFactorDidChange() is called.
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (LayerTreeHost):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::scalePage):
+ (WebKit::WebPage::setDeviceScaleFactor):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
+ (WebKit::LayerTreeHostGtk::deviceOrPageScaleFactorChanged):
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
+ (LayerTreeHostGtk):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.h:
+ (LayerTreeHostMac):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
+ (WebKit::LayerTreeHostMac::deviceOrPageScaleFactorChanged):
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Get rid of MessageID::get()
+ https://bugs.webkit.org/show_bug.cgi?id=108235
+
+ Reviewed by Beth Dakin.
+
+ Just check for the message receiver name and message name explicitly instead.
+
+ * Platform/CoreIPC/MessageID.h:
+ (CoreIPC::MessageID::is):
+ * Shared/CoreIPCSupport/WebContextMessageKinds.h:
+ (WebContextLegacyMessage::messageReceiverName):
+ (WebContextLegacyMessage):
+ (WebContextLegacyMessage::postMessageMessageName):
+ (WebContextLegacyMessage::postSynchronousMessageMessageName):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::didReceiveMessage):
+ (WebKit::WebContext::didReceiveSyncMessage):
+
+2013-01-29 Kiran Muppala <cmuppala@apple.com>
+
+ Add support for enabling process suppression in WebProcesses with no visible pages
+ https://bugs.webkit.org/show_bug.cgi?id=108054
+
+ Reviewed by Anders Carlsson.
+
+ Provide a preference to enable process suppression in WebProcesses with
+ no visible pages even if the application is not completely occluded.
+ This provides more opportunities for process suppression to take effect.
+
+ Replace the messaging of application occlusion status from UI process to
+ ChildProcesses with messages that indicate the current required process
+ suppression state. WebProcessProxy should determine if the process is
+ eligible for process suppression based on both application occlusion
+ and page visibility. When either of these parameters changes,
+ the proxy should message the child process of the updated process
+ suppression state.
+
+ * NetworkProcess/NetworkProcess.messages.in: Rename
+ SetApplicationIsOccluded to SetProcessSuppressionEnabled.
+ * PluginProcess/PluginProcess.messages.in: Ditto.
+ * Shared/ChildProcess.h:
+ (WebKit::ChildProcess::processSuppressionEnabled): Rename
+ applicationIsOccluded.
+ * Shared/WebPreferencesStore.h: Add a new preference
+ pageVisibilityBasedProcessSuppressionEnabled, to enabled/disable
+ process suppression of WebProcesses when all pages are hidden.
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::setProcessSuppressionEnabled): Rename
+ setApplicationIsOccluded.
+ (WebKit::ChildProcess::platformInitialize): Replace call to
+ setApplicationIsOccluded with setProcessSuppressionEnabled.
+ * SharedWorkerProcess/SharedWorkerProcess.messages.in: Rename
+ SetApplicationIsOccluded to SetProcessSuppressionEnabled.
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetPageVisibilityBasedProcessSuppressionEnabled):
+ (WKPreferencesGetPageVisibilityBasedProcessSuppressionEnabled):
+ * UIProcess/API/C/WKPreferencesPrivate.h:
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didFinishLaunching): Use setter
+ to update process suppression state instead of messaging directly.
+ Use WebContext::canEnableProcessSuppressionForNetworkProcess() helper
+ method to determine if process suppression should be enabled.
+ * UIProcess/Network/NetworkProcessProxy.h: Rename
+ setApplicationIsOccluded to setProcessSuppresionEnabled.
+ * UIProcess/Network/mac/NetworkProcessProxyMac.mm:
+ (WebKit::NetworkProcessProxy::setProcessSuppressionEnabled): Ditto.
+ * UIProcess/Plugins/PluginProcessManager.h: Ditto.
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didFinishLaunching): Use setter
+ to update process suppression state instead of messaging directly.
+ Use WebContext::canEnableProcessSuppressionForGlobalChildProcesses()
+ helper method to determine if process suppression should be enabled.
+ * UIProcess/Plugins/PluginProcessProxy.h: Rename
+ setApplicationIsOccluded to setProcessSuppresionEnabled.
+ * UIProcess/Plugins/mac/PluginProcessManagerMac.mm:
+ (WebKit::PluginProcessManager::setProcessSuppressionEnabled): Ditto.
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::PluginProcessProxy::setProcessSuppressionEnabled): Ditto.
+ * UIProcess/SharedWorkers/SharedWorkerProcessManager.h: Ditto.
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp:
+ (WebKit::SharedWorkerProcessProxy::didFinishLaunching): Use setter
+ to update process suppression state instead of messaging directly.
+ Use WebContext::canEnableProcessSuppressionForGlobalChildProcesses()
+ helper method to determine if process suppression should be enabled.
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h: Rename
+ setApplicationIsOccluded to setProcessSuppresionEnabled.
+ * UIProcess/SharedWorkers/mac/SharedWorkerProcessManagerMac.mm:
+ (WebKit::SharedWorkerProcessManager::setProcessSuppressionEnabled):
+ Ditto.
+ * UIProcess/SharedWorkers/mac/SharedWorkerProcessProxyMac.mm:
+ (WebKit::SharedWorkerProcessProxy::setProcessSuppressionEnabled): Ditto.
+ * UIProcess/WebContext.h: Replace applicationIsOccluded() getter with
+ helper methods to determine if a child process can have process
+ suppression enabled.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::viewStateDidChange): Notify WebProcessProxy of
+ page visibility change.
+ (WebKit::WebPageProxy::preferencesDidChange): Notify WebProcessProxy of
+ change in preferences.
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::WebProcessProxy): Initialize member variable
+ tracking process suppression state to false.
+ (WebKit::WebProcessProxy::createWebPage): Update set of pages which can
+ be process suppressed and the resulting process suppression state for
+ the child process.
+ (WebKit::WebProcessProxy::addExistingWebPage): Ditto.
+ (WebKit::WebProcessProxy::removeWebPage): Ditto.
+ (WebKit::WebProcessProxy::pageVisibilityChanged): Ditto.
+ (WebKit::WebProcessProxy::pagePreferencesChanged): Ditto.
+ (WebKit::WebProcessProxy::didFinishLaunching): Call
+ updateProcessSuppressionState().
+ * UIProcess/WebProcessProxy.h:
+ * UIProcess/mac/WebContextMac.mm:
+ (WebKit::updateProcessSuppressionStateOfGlobalChildProcesses): Use new
+ helper method canEnableProcessSuppressionForGlobalChildProcesses() to
+ determine if process suppression should be enabled.
+ (WebKit::applicationOcclusionStateChanged): Update renamed methods
+ and variables.
+ (WebKit::enableOcclusionNotifications): Move OmitProcessSuppression
+ user default check into canEnableProcessSuppression methods.
+ (WebKit::omitProcessSuppression):
+ (WebKit::WebContext::updateProcessSuppressionStateOfChildProcesses):
+ Use new helper method canEnableProcessSuppressionForNetworkProcess() to
+ determine if process suppression should be enabled for NetworkProcess.
+ Let WebProcess update process suppression state based on application
+ occlusion state and page visibility.
+ (WebKit::WebContext::canEnableProcessSuppressionForNetworkProcess):
+ (WebKit::WebContext::canEnableProcessSuppressionForWebProcess):
+ (WebKit::WebContext::canEnableProcessSuppressionForGlobalChildProcesses):
+ (WebKit::WebContext::processSuppressionEnabledChanged): Reevaluate if
+ process suppression is enabled for all contexts and update process
+ suppression state of global child processes.
+ * UIProcess/mac/WebProcessProxyMac.mm:
+ (WebKit::WebProcessProxy::pageIsProcessSuppressible):
+ (WebKit::WebProcessProxy::allPagesAreProcessSuppressible):
+ (WebKit::WebProcessProxy::updateProcessSuppressionState):
+ * WebProcess/WebProcess.messages.in:
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Start using the message flag in MessageEncoder/MessageDecoder
+ https://bugs.webkit.org/show_bug.cgi?id=108227
+
+ Reviewed by Beth Dakin.
+
+ Stop using the flags in MessageID and store the flags directly in the message instead.
+ This is another step towards eliminating MessageID.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::SyncMessageState::processIncomingMessage):
+ (CoreIPC::Connection::createSyncMessageEncoder):
+ (CoreIPC::Connection::sendMessage):
+ (CoreIPC::Connection::sendSyncMessage):
+ (CoreIPC::Connection::sendSyncMessageFromSecondaryThread):
+ (CoreIPC::Connection::dispatchSyncMessage):
+ (CoreIPC::Connection::dispatchMessage):
+ * Platform/CoreIPC/Connection.h:
+ * Platform/CoreIPC/MessageDecoder.cpp:
+ (CoreIPC::MessageDecoder::MessageDecoder):
+ (CoreIPC::MessageDecoder::isSyncMessage):
+ (CoreIPC):
+ (CoreIPC::MessageDecoder::shouldDispatchMessageWhenWaitingForSyncReply):
+ * Platform/CoreIPC/MessageDecoder.h:
+ (MessageDecoder):
+ * Platform/CoreIPC/MessageEncoder.cpp:
+ (CoreIPC):
+ (CoreIPC::MessageEncoder::MessageEncoder):
+ (CoreIPC::MessageEncoder::~MessageEncoder):
+ (CoreIPC::MessageEncoder::setIsSyncMessage):
+ (CoreIPC::MessageEncoder::setShouldDispatchMessageWhenWaitingForSyncReply):
+ * Platform/CoreIPC/MessageEncoder.h:
+ (MessageEncoder):
+ * Platform/CoreIPC/MessageFlags.h: Copied from Source/WebKit2/Platform/CoreIPC/MessageEncoder.h.
+ (CoreIPC):
+ * Platform/CoreIPC/MessageID.h:
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-29 Anders Carlsson <andersca@apple.com>
+
+ Encode/decode message send flags in the message
+ https://bugs.webkit.org/show_bug.cgi?id=108208
+
+ Reviewed by Beth Dakin.
+
+ This is another step towards getting rid of MessageID.
+
+ * Platform/CoreIPC/ArgumentDecoder.cpp:
+ (CoreIPC::ArgumentDecoder::decodeUInt8):
+ (CoreIPC):
+ * Platform/CoreIPC/ArgumentDecoder.h:
+ (ArgumentDecoder):
+ (CoreIPC::ArgumentDecoder::decode):
+ (CoreIPC):
+ * Platform/CoreIPC/ArgumentEncoder.cpp:
+ (CoreIPC::ArgumentEncoder::encode):
+ (CoreIPC):
+ * Platform/CoreIPC/ArgumentEncoder.h:
+ (ArgumentEncoder):
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendMessage):
+ * Platform/CoreIPC/MessageDecoder.cpp:
+ (CoreIPC::MessageDecoder::MessageDecoder):
+ * Platform/CoreIPC/MessageDecoder.h:
+ (CoreIPC::MessageDecoder::messageSendFlags):
+ (MessageDecoder):
+ * Platform/CoreIPC/MessageEncoder.cpp:
+ (CoreIPC):
+ (CoreIPC::MessageEncoder::MessageEncoder):
+ (CoreIPC::MessageEncoder::~MessageEncoder):
+ (CoreIPC::MessageEncoder::setMessageSendFlags):
+ * Platform/CoreIPC/MessageEncoder.h:
+ (MessageEncoder):
+ * UIProcess/Authentication/AuthenticationChallengeProxy.h:
+ (CoreIPC):
+
+2013-01-29 Mario Sanchez Prada <mario.prada@samsung.com>
+
+ [GTK] Missing build flags when building with Harfbuzz
+ https://bugs.webkit.org/show_bug.cgi?id=108174
+
+ Reviewed by Martin Robinson.
+
+ Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
+ parameter will be added to linking lines when needed.
+
+ * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
+ * UIProcess/API/gtk/tests/GNUmakefile.am: Ditto.
+
+2013-01-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
+
+ [EFL] Unified text checker implementation.
+ https://bugs.webkit.org/show_bug.cgi?id=107682
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/efl/TextCheckerEfl.cpp:
+ (WebKit):
+ (WebKit::TextChecker::checkTextOfParagraph):
+ Allow to check spelling for multiple words,
+ their misspelling location and length are saved to the vector.
+
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+ * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:
+ (WebKit::WebEditorClient::checkTextOfParagraph):
+ (WebKit):
+ As spelling implementation is exposed to UIProcess,
+ send a meesage to UIProcess to call TextChecker::checkTextOfParagraph.
+
+2013-01-29 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Add API to prefetch DNS of a given hostname to WebKit2 GTK+ API
+ https://bugs.webkit.org/show_bug.cgi?id=99695
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (webkit_web_context_prefetch_dns): Public method to resolve the
+ domain name in advance for the given hostname.
+ * UIProcess/API/gtk/WebKitWebContext.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add
+ webkit_web_context_prefetch_dns.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp:
+ (webkitWebExtensionDidReceiveMessage): Parse PrefetchDNS message
+ and call WebCore::prefetchDNS() with the given hostname.
+ (didReceiveMessage): Call webkitWebExtensionDidReceiveMessage().
+ (webkitWebExtensionCreate): Add implementation for
+ didReceiveMessage callback.
+
+2013-01-29 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Implement resources API using injected bundle
+ https://bugs.webkit.org/show_bug.cgi?id=107457
+
+ Reviewed by Sam Weinig.
+
+ The ResourceLoaderClient was removed from the UI process in
+ r140285, and most of the GTK+ API depends on resources. This patch
+ implements the same API using the ResourceLoaderClient from
+ injected bundle. It fixes the resources unit tests, as well as
+ other 14 unit tests that are timing out because they depend on
+ resource API.
+
+ * GNUmakefile.list.am: Add new files to compilation.
+ * Shared/UserMessageCoders.h:
+ (WebKit::UserMessageEncoder::baseEncode): Add support for encoding
+ WebURLResponse and WebError objects in user messages.
+ (WebKit::UserMessageDecoder::baseDecode): Add support for decoding
+ WebURLResponse and WebError objects from user messages.
+ * UIProcess/API/gtk/WebKitInjectedBundleClient.cpp: Added.
+ (didReceiveWebViewMessageFromInjectedBundle): Handle messages sent
+ to the WebView. For now it hanldes all the sresource loader client
+ messages.
+ (didReceiveMessageFromInjectedBundle): Handle messages received
+ from injected bundle.
+ (attachInjectedBundleClientToContext): Initialize the injected
+ bundle client.
+ * UIProcess/API/gtk/WebKitInjectedBundleClient.h: Added.
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (_WebKitWebContextPrivate): Add a HashMap to map page IDs to
+ WebKitWebViews.
+ (createDefaultWebContext): Call
+ attachInjectedBundleClientToContext() to intialize the injected
+ bundle client.
+ (webkitWebContextCreatePageForWebView): Use
+ webkitWebViewBaseCreateWebPage() to create and initialize a new
+ WebPageProxy and map the newly created page with the given
+ WebKitWebView.
+ (webkitWebContextWebViewDestroyed): Called when the given
+ WebKitWebView is being destroyed to remove it from the views map.
+ (webkitWebContextGetWebViewForPage): Returns the WebKitWebView
+ associated to the given page ID.
+ * UIProcess/API/gtk/WebKitWebContextPrivate.h:
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewConstructed): Use
+ webkitWebContextCreatePageForWebView() instead of
+ webkitWebViewBaseCreateWebPage() directly.
+ (webkitWebViewDispose): Call webkitWebContextWebViewDestroyed() to
+ notify the context.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
+ (didInitiateLoadForResource): Send a message to the UI process
+ with the callback parameters encoded.
+ (willSendRequestForFrame): Ditto.
+ (didReceiveResponseForResource): Ditto.
+ (didReceiveContentLengthForResource): Ditto.
+ (didFinishLoadForResource): Ditto.
+ (didFailLoadForResource): Ditto.
+ (webkitWebPageCreate): Initialize the
+ WKBundlePageResourceLoadClient.
+
+2013-01-29 Laszlo Gombos <l.gombos@samsung.com>
+
+ [Qt] Remove misspelled ENABLE(SPEECH_INPUT) guard
+ https://bugs.webkit.org/show_bug.cgi?id=105683
+
+ Reviewed by Simon Hausmann.
+
+ The ENABLE(SPEECH_INPUT) guard is only used in one location
+ in the source tree and as such it is always 0.
+
+ I believe that this guard is a left over and is not needed any more
+ as the code guarded is not guarded anywhere else.
+
+ * WebProcess/qt/WebProcessQt.cpp:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+
+2013-01-29 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed build fix after r141024.
+ Adding new files to the build.
+
+ * GNUmakefile.am:
+ * GNUmakefile.list.am:
+
+2013-01-29 Jinwoo Song <jinwoo7.song@samsung.com>
+
+ [WK2] Fix unused parameter build warning
+ https://bugs.webkit.org/show_bug.cgi?id=108156
+
+ Reviewed by Kentaro Hara.
+
+ Comment out the unused parameters to fix the build warnings.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+ * WebProcess/Plugins/PluginProxy.h:
+
+2013-01-28 Jae Hyun Park <jae.park@company100.net>
+
+ [Qt] Build fix
+ https://bugs.webkit.org/show_bug.cgi?id=108142
+
+ Reviewed by Gyuyoung Kim.
+
+ Build fix. Though StorageManager was added to WK2 in r141024,
+ it is not added to Target.pri for qt port.
+
+ * Target.pri:
+
+2013-01-28 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Refactor code related to debug border and repaint count.
+ https://bugs.webkit.org/show_bug.cgi?id=107910
+
+ Reviewed by Noam Rosenthal.
+
+ There are two big changes:
+ 1. CoordinatedGraphicsLayer sends debugging visuals to UI Process.
+ 2. When updating a backing store, increment a repaint count.
+
+ In addition, we don't use QT_WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS
+ environment. EFL, GTK and QT will use WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS
+ after http://webkit.org/b/107198.
+
+ * Shared/CoordinatedGraphics/CoordinatedLayerInfo.h:
+ (WebKit::CoordinatedLayerInfo::CoordinatedLayerInfo):
+ (CoordinatedLayerInfo):
+ * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
+ (WebKit::CoordinatedBackingStore::removeAllTiles):
+ (WebKit::CoordinatedBackingStore::updateTile):
+ (WebKit::CoordinatedBackingStore::texture):
+ (WebKit::CoordinatedBackingStore::paintTilesToTextureMapper):
+ (WebKit::CoordinatedBackingStore::adjustedTransformForRect):
+ (WebKit::CoordinatedBackingStore::paintToTextureMapper):
+ (WebKit):
+ (WebKit::CoordinatedBackingStore::drawBorder):
+ Override TextureMapperPlatformLayer::drawBorder() to draw the border
+ for each tile.
+ (WebKit::CoordinatedBackingStore::drawRepaintCounter):
+ (WebKit::CoordinatedBackingStore::commitTileOperations):
+ * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h:
+ (WebKit::CoordinatedBackingStoreTile::CoordinatedBackingStoreTile):
+ (CoordinatedBackingStoreTile):
+ (CoordinatedBackingStore):
+ (WebKit::CoordinatedBackingStore::rect):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::setLayerRepaintCount):
+ (WebKit):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::setLayerRepaintCount):
+ (WebKit):
+ (WebKit::LayerTreeRenderer::setLayerState):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (LayerTreeRenderer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::setShowDebugBorder):
+ (WebCore):
+ (WebCore::CoordinatedGraphicsLayer::setShowRepaintCounter):
+ (WebCore::CoordinatedGraphicsLayer::syncLayerState):
+ (WebCore::CoordinatedGraphicsLayer::setDebugBorder):
+ (WebCore::CoordinatedGraphicsLayer::tiledBackingStorePaintEnd):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayerClient):
+ (CoordinatedGraphicsLayer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::setLayerRepaintCount):
+ (WebKit):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2013-01-28 Sam Weinig <sam@webkit.org>
+
+ Remove support from ArgumentEncoder for deprecated encode functions
+ https://bugs.webkit.org/show_bug.cgi?id=108155
+
+ Reviewed by Dan Bernstein.
+
+ * Platform/CoreIPC/ArgumentEncoder.h:
+ (CoreIPC::ArgumentEncoder::encode):
+
+2013-01-28 Sam Weinig <sam@webkit.org>
+
+ Disable default use of the Plug-in XPCService until we can
+ figure out how to deal with the 32-bit one.
+
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::shouldUseXPC):
+ (WebKit::PluginProcessProxy::platformInitializeLaunchOptions):
+
+2013-01-28 Sam Weinig <sam@webkit.org>
+
+ Plug-ins should initialize their sandbox at creation time
+ https://bugs.webkit.org/show_bug.cgi?id=108098
+
+ Reviewed by Anders Carlsson.
+
+ Add the ability to add string key/value pairs to process creation parameters
+ to allow the plugin process to get passed the plugin path which in turn allows
+ the plugin to initialize its sandbox at the correct time.
+
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm:
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm:
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkServiceEntryPoint.mm:
+ (NetworkServiceInitializer):
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
+ (WebKit::PluginProcessMainDelegate::getExtraData):
+ (PluginProcessMainDelegate):
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm:
+ * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm:
+ (WebKit):
+ (PluginServiceInitializerDelegate):
+ (WebKit::PluginServiceInitializerDelegate::PluginServiceInitializerDelegate):
+ (WebKit::PluginServiceInitializerDelegate::getExtraData):
+ (PluginServiceInitializer):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::initializeProcess):
+ (WebKit::PluginProcess::initializePluginProcess):
+ (WebKit::PluginProcess::initializeProcessName):
+ (WebKit::PluginProcess::initializeSandbox):
+ * PluginProcess/PluginProcess.h:
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ (WebKit::PluginProcess::platformInitializeProcess):
+ (WebKit::PluginProcess::initializeProcessName):
+ (WebKit::PluginProcess::initializeSandbox):
+ * Shared/ChildProcess.h:
+ (ChildProcessInitializationParameters):
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h:
+ (ChildProcessMainDelegate):
+ (WebKit::ChildProcessMain):
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm:
+ (WebKit::ChildProcessMainDelegate::getExtraData):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
+ (WebKit::XPCServiceEventHandler):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h:
+ (WebKit::XPCServiceEventHandler):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h: Added.
+ (XPCServiceInitializerDelegate):
+ (WebKit::XPCServiceInitializerDelegate::XPCServiceInitializerDelegate):
+ (WebKit::XPCServiceInitializer):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: Added.
+ (WebKit::XPCServiceInitializerDelegate::~XPCServiceInitializerDelegate):
+ (WebKit::XPCServiceInitializerDelegate::getConnectionIdentifier):
+ (WebKit::XPCServiceInitializerDelegate::getClientIdentifier):
+ (WebKit::XPCServiceInitializerDelegate::getClientProcessName):
+ (WebKit::XPCServiceInitializerDelegate::getExtraData):
+ * Shared/Plugins/PluginProcessCreationParameters.cpp:
+ (WebKit::PluginProcessCreationParameters::encode):
+ (WebKit::PluginProcessCreationParameters::decode):
+ * Shared/Plugins/PluginProcessCreationParameters.h:
+ (PluginProcessCreationParameters):
+ * UIProcess/Launcher/ProcessLauncher.h:
+ (LaunchOptions):
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+ (WebKit::connectToService):
+ (WebKit::connectToReExecService):
+ (WebKit::createService):
+ (WebKit::createProcess):
+ (WebKit::ProcessLauncher::launchProcess):
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didFinishLaunching):
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::PluginProcessProxy::platformInitializeLaunchOptions):
+ (WebKit::PluginProcessProxy::platformInitializePluginProcess):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
+ (WebContentServiceInitializer):
+
+2013-01-28 Kiran Muppala <cmuppala@apple.com>
+
+ Add window occlusion criteria to determine page visibility on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=107494
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/API/mac/PageClientImpl.mm:
+ (WebKit::PageClientImpl::isViewVisible): Add window occlusion check.
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView dealloc]): Remove self from the all views vector.
+ (-[WKView addWindowObserversForWindow:]): Register observer for
+ NSWindowWillOrderOffScreenNotification.
+ (-[WKView removeWindowObservers]): Unregister observer for
+ NSWindowWillOrderOffScreenNotification.
+ (-[WKView viewWillMoveToWindow:]): Disable occlusion notifications.
+ (-[WKView viewDidMoveToWindow]): Enable occlusion notifications.
+ (-[WKView _windowWillOrderOffScreen:]): Disable occlusion notifications.
+ (-[WKView _windowDidOrderOnScreen:]): Enable occlusion notifications.
+ This notification ensures that occlusion notifications are registered
+ correctly even if the NSWindow object is assigned a window number after
+ the viewDidMoveToWindow notification has been received. This occurs
+ for instance during application launch.
+ (-[WKView _setIsWindowOccluded:]):
+ (-[WKView _enableWindowOcclusionNotifications]):
+ (-[WKView _disableWindowOcclusionNotifications]):
+ (windowBecameVisible):
+ (windowBecameOccluded):
+ (+[WKView _registerWindowOcclusionNotificationHandlers]):
+ (+[WKView _unregisterWindowOcclusionNotificationHandlers]):
+ (+[WKView _allViews]):
+ (-[WKView _isWindowOccluded]):
+ (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): Add
+ self to the all views vector.
+ * UIProcess/API/mac/WKViewInternal.h:
+
+2013-01-28 Huang Dongsung <luxtella@company100.net>
+
+ [TexMap] Enable debug borders and repaint counter via Settings.
+ https://bugs.webkit.org/show_bug.cgi?id=107198
+
+ Reviewed by Benjamin Poulain.
+
+ Currently, if the environment variable WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS
+ is set to 1, only CoordinatedBacking shows debug borders and repaint counter.
+
+ This patch makes the environment variable change Settings.
+
+ In addition, Qt uses WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS instead of
+ QT_WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS from now.
+
+ After Bug 105787, all backing stores and platform layers in TextureMapper can
+ show debug borders and repaint counter.
+
+ * UIProcess/API/efl/EwkView.cpp:
+ (EwkView::EwkView):
+ * UIProcess/API/gtk/WebKitSettings.cpp:
+ (webKitSettingsSetProperty):
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+
+2013-01-28 Anders Carlsson <andersca@apple.com>
+
+ Move Mach port handling from WorkQueue to Connection
+ https://bugs.webkit.org/show_bug.cgi?id=108140
+
+ Reviewed by Sam Weinig.
+
+ Instead of having WorkQueue know about Mach port sources, just fold that
+ functionality directly into Connection. This lets us get rid of the generic source
+ handling from WorkQueue.
+
+ * Platform/CoreIPC/Connection.h:
+ (Connection):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::platformInvalidate):
+ (CoreIPC::createDataAvailableSource):
+ (CoreIPC):
+ (CoreIPC::Connection::open):
+ (CoreIPC::Connection::initializeDeadNameSource):
+ * Platform/WorkQueue.h:
+ (WorkQueue::dispatchQueue):
+ (WorkQueue):
+ * Platform/mac/WorkQueueMac.cpp:
+ (WorkQueue::platformInvalidate):
+
+2013-01-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Add StorageManager class to cmake ports
+
+ Unreviewed build fix. Though StorageManager was added to WK2 in r141024,
+ it is not added to cmake ports(EFL).
+
+ * CMakeLists.txt:
+ * PlatformEfl.cmake:
+
+2013-01-28 Sam Weinig <sam@webkit.org>
+
+ <rdar://problem/13098777>
+ Add (allow mach-lookup (global-name "com.apple.tccd.system"))
+
+ Reviewed by Maciej Stachowiak.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-28 Brady Eidson <beidson@apple.com>
+
+ WebKit2 should notify the client if the NetworkProcess crashes.
+ <rdar://problem/13090513> and https://bugs.webkit.org/show_bug.cgi?id=108126
+
+ Reviewed by Sam Weinig.
+
+ Add new client callback to the ContextClient:
+ * UIProcess/API/C/WKContext.h:
+ * UIProcess/WebContextClient.cpp:
+ (WebKit::WebContextClient::networkProcessDidCrash):
+ * UIProcess/WebContextClient.h:
+
+ Call out to the client when the NetworkProcess crashes:
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::networkProcessCrashed):
+ * UIProcess/WebContext.h:
+
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::networkProcessCrashedOrFailedToLaunch):
+
+2013-01-28 Pratik Solanki <psolanki@apple.com>
+
+ PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
+ https://bugs.webkit.org/show_bug.cgi?id=108101
+
+ Reviewed by Benjamin Poulain.
+
+ Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
+ __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface):
+
+2013-01-28 Anders Carlsson <andersca@apple.com>
+
+ Add StorageManager class
+ https://bugs.webkit.org/show_bug.cgi?id=108127
+
+ Reviewed by Sam Weinig.
+
+ The StorageManager will be in charge of handling access to local and session storage
+ in the UI process.
+
+ * UIProcess/Storage/StorageManager.cpp: Added.
+ * UIProcess/Storage/StorageManager.h: Added.
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-28 Anders Carlsson <andersca@apple.com>
+
+ More work on UI side local storage
+ https://bugs.webkit.org/show_bug.cgi?id=108119
+
+ Reviewed by Beth Dakin.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Storage/StorageNamespaceProxy.cpp:
+ (WebKit::StorageNamespaceProxy::createSessionStorageNamespace):
+ Rename create to createSessionStorageNamespace and make it take a WebPage.
+
+ (WebKit::StorageNamespaceProxy::StorageNamespaceProxy):
+ Add WebPage parameter.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::sessionStorageNamespace):
+ Add an #ifdef for enabling UI side storage.
+
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit::WebFrame::page):
+ Call new WebPage::fromCorePage helper.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::fromCorePage):
+ Add new function for getting a WebPage from a WebCore::Page.
+
+2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
+
+ Improve PageVisibility API with enums
+ https://bugs.webkit.org/show_bug.cgi?id=107364
+
+ Reviewed by Sam Weinig.
+
+ * Shared/API/c/WKPageVisibilityTypes.h: Added.
+ * Shared/API/c/WKSharedAPICast.h:
+ (WebKit::toPageVisibilityState):
+ Create an enum for page visibility APIs and a conversion function
+ for the WK2 values to WebCore values.
+
+ * Target.pri:
+ * GNUmakefile.list.am:
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add WKPageVisibilityTypes.h to the build as a private export.
+
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageSetVisibilityState):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setVisibilityState):
+ UIProcess API to set visibility state. WebPageProxy already
+ had m_visibilityState, so update that when setter is used.
+
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ Remove the old SPI for WebKitTestRunner. Tests now use the C API.
+
+ * WebProcess/WebPage/WebPage.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setVisibilityState):
+ * WebProcess/WebPage/WebPage.messages.in:
+ Update the existing WebPage API to use uint32_t, which matches
+ other enum message types.
+
+2013-01-28 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_download_job
+ https://bugs.webkit.org/show_bug.cgi?id=107810
+
+ Reviewed by Anders Carlsson.
+
+ Use C API inside ewk_download_job instead of accessing internal C++
+ classes directly, to avoid violating API layering.
+
+ * UIProcess/API/C/WKDownload.cpp:
+ (WKDownloadGetID): Add C API to get the download ID as we need it to
+ support our public API and it seems like a useful addition.
+ * UIProcess/API/C/WKDownload.h:
+ * UIProcess/API/efl/ewk_download_job.cpp:
+ (EwkDownloadJob::EwkDownloadJob):
+ (EwkDownloadJob::id):
+ (EwkDownloadJob::request):
+ (EwkDownloadJob::cancel):
+ * UIProcess/API/efl/ewk_download_job_private.h:
+ (EwkDownloadJob::create):
+ (EwkDownloadJob):
+ * UIProcess/efl/DownloadManagerEfl.cpp:
+ (WebKit::DownloadManagerEfl::decideDestinationWithSuggestedFilename):
+ (WebKit::DownloadManagerEfl::didReceiveResponse):
+ (WebKit::DownloadManagerEfl::didCreateDestination):
+ (WebKit::DownloadManagerEfl::didReceiveData):
+ (WebKit::DownloadManagerEfl::didFail):
+ (WebKit::DownloadManagerEfl::didCancel):
+ (WebKit::DownloadManagerEfl::didFinish):
+ (WebKit::DownloadManagerEfl::registerDownloadJob): Rename
+ registerDownload() to registerDownloadJob() for consistency with
+ unregisterDownloadJob().
+ (WebKit::DownloadManagerEfl::ewkDownloadJob): Rename downloadJob() to
+ ewkDownloadJob() for clarity since it returns a EwkDownload object.
+ Also take a WKDownloadRef in argument instead of an identifier since
+ all the callers have a WKDownloadRef and it makes their code simpler.
+ Finally, make the getter non-const since it returns a non-const pointer.
+ (WebKit::DownloadManagerEfl::unregisterDownloadJob): Take a
+ WKDownloadRef in argument instead of an identifier since all the
+ callers have a WKDownloadRef and it makes their code simpler.
+ * UIProcess/efl/DownloadManagerEfl.h:
+ (DownloadManagerEfl):
+ * UIProcess/efl/PageClientBase.cpp:
+ (WebKit::PageClientBase::handleDownloadRequest):
+
+2013-01-28 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: getMainResourceDataOfFrame should return PDFPlugin's data so that Save... works
+ https://bugs.webkit.org/show_bug.cgi?id=108060
+ <rdar://problem/13075454>
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h: Implement getResourceData.
+ * WebProcess/Plugins/PDF/SimplePDFPlugin.h:
+ * WebProcess/Plugins/PDF/SimplePDFPlugin.mm: Implement getResourceData, returning the accumulated
+ data if it exists and has finished loading.
+ (WebKit::SimplePDFPlugin::getResourceData):
+ * WebProcess/Plugins/Plugin.h: Add getResourceData, which hands out a raw pointer/size pair
+ to the plugin's "main resource" data.
+ * WebProcess/Plugins/PluginProxy.h: Implement getResourceData.
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::getResourceData): Forward getResourceData through to the plugin.
+ * WebProcess/Plugins/PluginView.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::getMainResourceDataOfFrame): If the requested frame is backed by a PluginDocument,
+ attempt to ask the PluginView for its resource data.
+
+2013-01-28 Tim Horton <timothy_horton@apple.com>
+
+ [wk2] WKView's intrinsicContentSize should only report a flexible width if the content width is less than the minimum width
+ https://bugs.webkit.org/show_bug.cgi?id=108056
+
+ Reviewed by Simon Fraser.
+
+ We're currently reporting a flexible width if the intrinsic
+ content size is less than *or equal* to the minimum layout
+ width. This is wrong and causes ping-ponging between flexible
+ and inflexible width in cases where autolayout fits our
+ view to exactly the intrinsic content size. It should be strictly
+ less than instead.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView _setIntrinsicContentSize:]):
+
+2013-01-28 Anders Carlsson <andersca@apple.com>
+
+ Add StorageStrategy member functions to WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=108105
+
+ Reviewed by Tim Horton.
+
+ Add default implementations that just chain up to the base class for now.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::localStorageNamespace):
+ (WebKit::WebPlatformStrategies::sessionStorageNamespace):
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+ (WebPlatformStrategies):
+
+2013-01-28 Adam Barth <abarth@webkit.org>
+
+ Remove webkitNotifications.createHTMLNotification
+ https://bugs.webkit.org/show_bug.cgi?id=107598
+
+ Reviewed by Benjamin Poulain.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-28 Andy Estes <aestes@apple.com>
+
+ Fix non-fat builds by excluding PluginService.32 as a target dependency for WebKit2.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-28 Renata Hodovan <reni@webkit.org>
+
+ [Qt][Win][WK2] Build fix after r140957.
+
+ Rubber-stamped by Csaba Osztrogonác.
+
+ <sys/wait.h> is only needed and available on linux therefore it's moved into an ifdef block.
+
+ * WebProcess/qt/WebProcessMainQt.cpp:
+
+2013-01-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][WK2] Use C API inside ewk_url_response
+ https://bugs.webkit.org/show_bug.cgi?id=107826
+
+ Reviewed by Andreas Kling.
+
+ * Shared/API/c/WKURLResponse.cpp:
+ (WKURLResponseGetExpectedContentsLength):
+ * Shared/API/c/WKURLResponse.h:
+
+ Add new WK2 C API to get the expected contents length.
+
+ * UIProcess/API/efl/ewk_url_response.cpp:
+ (EwkUrlResponse::EwkUrlResponse):
+ (EwkUrlResponse::httpStatusCode):
+ (EwkUrlResponse::contentLength):
+ * UIProcess/API/efl/ewk_url_response_private.h:
+ (EwkUrlResponse::create):
+ (EwkUrlResponse):
+
+ Change the methods to not call WebCore methods.
+
+2013-01-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [WK2][EFL] Remove unneeded private methods
+ https://bugs.webkit.org/show_bug.cgi?id=107693
+
+ Reviewed by Andreas Kling.
+
+ Care has been taken to verify that the wrappers can
+ never be null when called.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::displayTimerFired):
+ (EwkViewImpl::createGLSurface):
+ * UIProcess/API/efl/EwkViewImpl.h:
+ (EwkViewImpl):
+
+2013-01-28 Renata Hodovan <reni@webkit.org>
+
+ [WK2] Putting QtWebProcess into a chrooted sandbox
+ https://bugs.webkit.org/show_bug.cgi?id=90005
+
+ Reviewed by Anders Carlsson and Zoltan Herczeg.
+
+ This new feature makes possible to run WebProcess inside a chroot. In this case UIProcess calls the
+ internal SandboxProcess binary what makes up an environment for WebProcess inside the sandbox and runs the WebProcess.
+ SandboxProcess first creates two needed device files (random and urandom), mounts filesystems (proc and shared memory),
+ then links run-time dependencies of WebProcess. After this, SandboxProcess moves to a new pid namespace (cloning with
+ CLONE_NEWPID flag). Then after an other cloning (with CLONE_FS flag) we share our filesystem with our children. This is
+ needed because we want to call chroot() function from here and jail our child (WebProcess) too. This will be performed
+ when WebProcess sends a request for it via an socketpair. If sandboxing is done, SandboxProcess exits.
+ Since chroot() system call needs sudoer rights SandboxProcess binary should have set its suid flag. However we can reduce
+ its capabilites. First we restrict the capabilities of the process and the number of its possible resources. Furthermore
+ we fallback to the nobody or the real user.
+
+ * Configurations/FeatureDefines.xcconfig:
+ * SandboxProcess.pro: Added.
+ * Shared/linux/SandboxProcess/SandboxEnvironmentLinux.cpp: Added.
+ (launchChangeRootHelper):
+ (setEnvironmentVariablesForChangeRootHelper):
+ (prepareAndStartChangeRootHelper):
+ (setCapabilities):
+ (dropPrivileges):
+ (fileExists):
+ (directoryPermissions):
+ (createDirectory):
+ (createDirectoryPath):
+ (createDeviceFiles):
+ (mountFileSystems):
+ (linkFile):
+ (linkDirectory):
+ (collectRunTimeDependencies):
+ (setupXauthorityForNobodyUser):
+ (initSandbox):
+ (restrictCapabilities):
+ (moveToNewPidNamespace):
+ (run):
+ (main):
+ * Shared/linux/SandboxProcess/SandboxEnvironmentLinux.h: Added.
+ * Shared/linux/SandboxProcess/StringOperations.cpp: Added.
+ (stringCopy):
+ (stringConcat):
+ (stringAppend):
+ * Shared/linux/SandboxProcess/StringOperations.h: Added.
+ * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+ * WebKit2.pri:
+ * WebProcess.pro:
+ * WebProcess/qt/WebProcessMainQt.cpp:
+ (WebKit):
+ (WebKit::chrootMe):
+ (WebKit::WebProcessMainQt):
+
+2013-01-28 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Rely more on C API in ewk_favicon_database
+ https://bugs.webkit.org/show_bug.cgi?id=108035
+
+ Reviewed by Benjamin Poulain.
+
+ Rely less on internal C++ API in ewk_favicon_database and use C API
+ instead of avoid breaking API layering.
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/C/cairo/WKIconDatabaseCairo.cpp: Added.
+ (WKIconDatabaseTryGetCairoSurfaceForURL): Add C API for getting the
+ favicon for a given page URL as a cairo_surface_t*.
+ * UIProcess/API/C/cairo/WKIconDatabaseCairo.h: Added.
+ * UIProcess/API/efl/ewk_favicon_database.cpp:
+ (EwkFaviconDatabase::didChangeIconForPageURL):
+ (EwkFaviconDatabase::getIconSurfaceSynchronously):
+ (EwkFaviconDatabase::iconDataReadyForPageURL):
+
+2013-01-27 Alexey Proskuryakov <ap@apple.com>
+
+ Fix location of sandbox profiles in built products
+ https://bugs.webkit.org/show_bug.cgi?id=108026
+
+ Reviewed by Sam Weinig.
+
+ * WebKit2.xcodeproj/project.pbxproj: Sandbox profiles go into WebKit2 framework resources.
+
+2013-01-27 Zoltan Arvai <zarvai@inf.u-szeged.hu>
+
+ Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
+ https://bugs.webkit.org/show_bug.cgi?id=106740
+
+ Reviewed by Benjamin Poulain.
+
+ * config.h:
+
+2013-01-27 Sam Weinig <sam@webkit.org>
+
+ Add support for launching WebKit2 plugins using XPC
+ https://bugs.webkit.org/show_bug.cgi?id=108040
+
+ Reviewed by Dan Bernstein.
+
+ * Configurations/PluginService.32.xcconfig: Copied from Source/WebKit2/Configurations/WebContentService.xcconfig.
+ * Configurations/PluginService.64.xcconfig: Copied from Source/WebKit2/Configurations/WebContentService.xcconfig.
+ * Configurations/PluginService.Development.xcconfig: Copied from Source/WebKit2/Configurations/WebContentService.xcconfig.
+ Add configurations.
+
+ * PluginProcess/EntryPoint/mac/XPCService: Added.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32: Added.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/Info.plist: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.32/PluginService.32.Main.mm: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64: Added.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/Info.plist: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.64/PluginService.64.Main.mm: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development: Added.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist: Added.
+ * PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/PluginService.Development.Main.mm: Added.
+ (main):
+ * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm: Copied from Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkServiceEntryPoint.mm.
+ (initializePluginService):
+ Add entry points.
+
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+ (WebKit::serviceName):
+ Add plugin process service names and move into correct #ifdef.
+
+ * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
+ (WebKit::shouldUseXPC):
+ (WebKit::PluginProcessProxy::platformInitializeLaunchOptions):
+ Opt into xpc using the same rules as the WebProcess.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add files.
+
+2013-01-26 Alexey Proskuryakov <ap@apple.com>
+
+ Use shared ChildProcess code to enter plug-in sandbox.
+
+ Reviewed by Sam Weinig.
+
+ There is one known behavior change from this refactoring: getpwuid_r is used
+ instead of NSHomeDirectory for home directory, mathcing other client processes.
+
+ * PluginProcess/PluginProcess.cpp: (WebKit::PluginProcess::enterSandbox):
+ * PluginProcess/PluginProcess.h:
+ PluginProcess prevents ChildProcess attempt to enter the sandbox immediately on
+ launch for now, because we don't have a sandbox profile directory path yet.
+ It now keeps a copy of ChildProcessInitializationParameters, so that
+ ChildProcess::initializeSandbox() could be called later.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializeProcess): Store a copy of ChildProcessInitializationParameters
+ for later.
+ (WebKit::loadSandboxProfile): Build a sandbox profile from a common prefix and
+ a plugin-specific part.
+ (WebKit::PluginProcess::platformInitializePluginProcess): We can enter the sandbox now.
+ (WebKit::PluginProcess::enterSandbox): Prepare SandboxInitializationParameters,
+ and call ChildProcess::initializeSandbox().
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::initializeSandbox): Actually handle system directory suffix
+ from parameters.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.h: Removed.
+ * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm: Removed.
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Add support for running the networking process as an XPCService
+ https://bugs.webkit.org/show_bug.cgi?id=108025
+
+ Reviewed by Dan Bernstein.
+
+ * Configurations/NetworkService.Development.xcconfig: Copied from Source/WebKit2/Configurations/WebContentService.Development.xcconfig.
+ * Configurations/NetworkService.xcconfig: Copied from Source/WebKit2/Configurations/WebContentService.xcconfig.
+ Add configurations.
+
+ * NetworkProcess/EntryPoint/mac/XPCService: Added.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService: Added.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development: Added.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info.plist: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info.plist.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/NetworkServiceMain.Development.mm: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info.plist: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info.plist.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/NetworkServiceMain.mm: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm.
+ * NetworkProcess/EntryPoint/mac/XPCService/NetworkServiceEntryPoint.mm: Copied from Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm.
+ (initializeNetworkService):
+ Add entry points.
+
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+ (WebKit::serviceName):
+ (WebKit::connectToServiceForDevelopment):
+ (WebKit::createServiceForDevelopment):
+ (WebKit::createService):
+ (WebKit::createProcess):
+ (WebKit::ProcessLauncher::launchProcess):
+ Rework service creation to work for arbitrary services.
+
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::~NetworkProcessProxy):
+ (WebKit::NetworkProcessProxy::getLaunchOptions):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ * UIProcess/Network/mac/NetworkProcessProxyMac.mm:
+ (WebKit::shouldUseXPC):
+ (WebKit::NetworkProcessProxy::platformGetLaunchOptions):
+ Opt into xpc using the same rules as the WebProcess.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Update files.
+
+ * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
+ (initializeWebContentService):
+ Fix the comment to refer to the shim correctly.
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Simplify environment creation in XPC service re-exec
+ https://bugs.webkit.org/show_bug.cgi?id=108017
+
+ Reviewed by Dan Bernstein.
+
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
+ (WebKit::XPCServiceEventHandler):
+ There is no need to copy these strings.
+
+2013-01-26 Alexey Proskuryakov <ap@apple.com>
+
+ Remove code for handling NetworkProcess authentication challenges in WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=108003
+
+ Reviewed by Sam Weinig.
+
+ * DerivedSources.make:
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * NetworkProcess/NetworkResourceLoader.messages.in: Removed. We no longer have
+ an messages to NetworkResourceLoader.
+
+ * Shared/WebCoreArgumentCoders.cpp:
+ (CoreIPC::::encode):
+ (CoreIPC::::decode):
+ There is no longer an identifier inside AuthenticationChallenge.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::didReceiveAuthenticationChallenge):
+ (WebKit::NetworkResourceLoader::didCancelAuthenticationChallenge):
+ * NetworkProcess/NetworkResourceLoader.h:
+ Removed code for receiving authentication responses from WebProcess. Removed
+ m_currentAuthenticationChallenge - AuthenticationMAnager now keeps track of that.
+
+ * WebProcess/Network/WebResourceLoader.cpp:
+ * WebProcess/Network/WebResourceLoader.h:
+ * WebProcess/Network/WebResourceLoader.messages.in:
+ Removed code for handling authentication challenges. They are now sent directly to
+ UI Process. The only thing WebProcess still does is decide whether is can authenticate
+ against a particular authentication space.
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Fix the development build.
+
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h:
+ (WebKit::XPCServiceEventHandler):
+ Use the right stringizer.
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Refactor XPCService initialization to make it easier to add more services
+ https://bugs.webkit.org/show_bug.cgi?id=108015
+
+ Reviewed by Dan Bernstein.
+
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.Development.h: Added.
+ (WebKit::XPCServiceEventHandler):
+ * Shared/EntryPointUtilities/mac/XPCService/XPCServiceBootstrapper.h: Added.
+ (WebKit::XPCServiceEventHandler):
+ Move bootstrapping to Shared (like we have for the legacy process). For now, we use
+ a macro to define the actual initialization point function to use, in the future, we
+ could consider alternatives, such as getting the function name from the bundle.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Update files.
+
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm:
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm:
+ Simplify to use the new XPCServiceBootstrapper.
+
+ * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: Copied from Source/WebKit2/WebProcess/mac/WebProcessServiceEntryPoints.mm.
+ (initializeWebContentService):
+ * WebProcess/mac/WebProcessServiceEntryPoints.h: Removed.
+ * WebProcess/mac/WebProcessServiceEntryPoints.mm: Removed.
+ Move the entry point to where it belongs and extract the bootstrapping parts.
+
+2013-01-26 Adenilson Cavalcanti <cavalcantii@gmail.com>
+
+ [Qt]Qt build fix
+ https://bugs.webkit.org/show_bug.cgi?id=108013
+
+ Changes on process initialization classes broke webkit building with Qt5. This
+ patch fix it.
+
+ Reviewed by Sam Weinig.
+
+ * PluginProcess/qt/PluginProcessMainQt.cpp:
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Hoist command line parsing into ChildProcessMain
+ https://bugs.webkit.org/show_bug.cgi?id=108010
+
+ Reviewed by Dan Bernstein.
+
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm:
+ (NetworkProcessMain):
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
+ (PluginProcessMain):
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h:
+ (WebKit::ChildProcessMain):
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm:
+ (SharedWorkerProcessMain):
+ * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
+ (WebContentProcessMain):
+
+2013-01-26 Sam Weinig <sam@webkit.org>
+
+ Move LegacyProcess entry points into new EntryPoint directories
+ https://bugs.webkit.org/show_bug.cgi?id=108008
+
+ Reviewed by Anders Carlsson.
+
+ Also refactors to remove the need for the overly general WebKitMain, by putting the
+ framework lazy loading into a helper function each legacy process can call (in ChildProcessMainBootstrapper.h)
+
+ * Configurations/NetworkProcess.xcconfig:
+ * Configurations/PluginProcess.xcconfig:
+ * Configurations/SharedWorkerProcess.xcconfig:
+ * Configurations/WebProcess.xcconfig:
+ * NetworkProcess/EntryPoint: Added.
+ * NetworkProcess/EntryPoint/mac: Added.
+ * NetworkProcess/EntryPoint/mac/LegacyProcess: Added.
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist: Copied from Source/WebKit2/NetworkProcess/Info.plist.
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm: Copied from Source/WebKit2/NetworkProcess/mac/NetworkProcessMainMac.mm.
+ (NetworkProcessMain):
+ * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMainBootstrapper.cpp: Added.
+ (main):
+ * NetworkProcess/Info.plist: Removed.
+ * NetworkProcess/NetworkProcessMain.h: Removed.
+ * NetworkProcess/mac/NetworkProcessMainMac.mm: Removed.
+ * PluginProcess/EntryPoint: Added.
+ * PluginProcess/EntryPoint/mac: Added.
+ * PluginProcess/EntryPoint/mac/LegacyProcess: Added.
+ * PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist: Copied from Source/WebKit2/PluginProcess/Info.plist.
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm: Copied from Source/WebKit2/PluginProcess/mac/PluginProcessMainMac.mm.
+ (PluginProcessMain):
+ * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMainBootstrapper.cpp: Added.
+ (main):
+ * PluginProcess/Info.plist: Removed.
+ * PluginProcess/PluginProcessMain.h: Removed.
+ * PluginProcess/mac/PluginProcessMainMac.mm: Removed.
+ * Shared/EntryPointUtilities: Added.
+ * Shared/EntryPointUtilities/mac: Added.
+ * Shared/EntryPointUtilities/mac/LegacyProcess: Added.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: Copied from Source/WebKit2/Shared/mac/ChildProcessMain.h.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm: Copied from Source/WebKit2/Shared/mac/ChildProcessMain.mm.
+ * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMainBootstrapper.h: Added.
+ (closeUnusedFileDescriptors):
+ (getBootstrapMainFunction):
+ * Shared/EntryPointUtilities/mac/XPCService: Added.
+ * Shared/mac/ChildProcessMain.h: Removed.
+ * Shared/mac/ChildProcessMain.mm: Removed.
+ * SharedWorkerProcess/EntryPoint: Added.
+ * SharedWorkerProcess/EntryPoint/mac: Added.
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess: Added.
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/Info.plist: Copied from Source/WebKit2/SharedWorkerProcess/Info.plist.
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm: Copied from Source/WebKit2/SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm.
+ (SharedWorkerProcessMain):
+ * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMainBootstrapper.cpp: Added.
+ (main):
+ * SharedWorkerProcess/Info.plist: Removed.
+ * SharedWorkerProcess/SharedWorkerProcessMain.h: Removed.
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm: Removed.
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/EntryPoint/mac/LegacyProcess/Info.plist: Copied from Source/WebKit2/WebProcess/Info.plist.
+ * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm: Copied from Source/WebKit2/WebProcess/mac/WebProcessMainMac.mm.
+ (WebKit::WebContentProcessMainDelegate::WebContentProcessMainDelegate):
+ (WebKit):
+ (WebContentProcessMain):
+ * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMainBootstrapper.cpp: Added.
+ (main):
+ * WebProcess/Info.plist: Removed.
+ * WebProcess/WebKitMain.cpp: Removed.
+ * WebProcess/WebProcessMain.h: Removed.
+ * WebProcess/mac/WebProcessMainMac.mm: Removed.
+ * mac/MainMacProcess.cpp: Removed.
+
+2013-01-25 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_database_manager and ewk_storage_manager
+ https://bugs.webkit.org/show_bug.cgi?id=107920
+
+ Reviewed by Benjamin Poulain.
+
+ Use C API inside ewk_database_manager and ewk_storage_manager instead
+ of accessing internal C++ classes directly, to avoid violating API
+ layering.
+
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::EwkContext):
+ * UIProcess/API/efl/ewk_database_manager.cpp:
+ (EwkDatabaseManager::EwkDatabaseManager):
+ (EwkDatabaseManager::getDatabaseOrigins):
+ * UIProcess/API/efl/ewk_database_manager_private.h:
+ (EwkDatabaseManager::create):
+ (EwkDatabaseManager):
+ * UIProcess/API/efl/ewk_storage_manager.cpp:
+ (EwkStorageManager::EwkStorageManager):
+ (EwkStorageManager::getStorageOrigins):
+ * UIProcess/API/efl/ewk_storage_manager_private.h:
+ (EwkStorageManager::create):
+ (EwkStorageManager):
+
+2013-01-25 Andreas Kling <akling@apple.com>
+
+ [Mac] Defer loading the Web Inspector bundle until it's necessary.
+ <http://webkit.org/b/107999>
+ <rdar://problem/13091861>
+
+ Reviewed by Anders Carlsson.
+
+ Don't instantiate an NSBundle for the Web Inspector before it's needed.
+ 1.51MB progression on Membuster3.
+
+ * WebProcess/WebPage/WebInspector.cpp:
+ (WebKit::WebInspector::WebInspector):
+ * WebProcess/WebPage/WebInspector.h:
+ (WebInspector):
+ * WebProcess/WebPage/mac/WebInspectorMac.mm:
+ (WebKit::WebInspector::setInspectorUsesWebKitUserInterface):
+ (WebKit::WebInspector::localizedStringsURL):
+
+2013-01-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ [EFL][WK2] Fix build break after r140891.
+
+ Unreviewed build fix. SerializedScriptValue needs to use PassRefPtr in WK2 as well.
+
+ * Shared/WebSerializedScriptValue.h:
+ (WebKit::WebSerializedScriptValue::create):
+
+2013-01-25 Mark Rowe <mrowe@apple.com>
+
+ Don't crash when the WKBundlePageUIClient doesn't implement createPlugInExtraStyleSheet.
+
+ Reviewed by Dean Jackson.
+
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
+ (WebKit::InjectedBundlePageUIClient::plugInExtraStyleSheet): Check that createPlugInExtraStyleSheet
+ is provided before calling it.
+
+2013-01-25 Andy Estes <aestes@apple.com>
+
+ Wrap content filtering code in an object
+ https://bugs.webkit.org/show_bug.cgi?id=107914
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
+
+2013-01-25 Brady Eidson <beidson@apple.com>
+
+ HTTP Authentication should be directly between the NetworkProcess and the UIProcess
+ <rdar://problem/13074829> and https://bugs.webkit.org/show_bug.cgi?id=107974
+
+ Reviewed by Alexey Proskuryakov.
+
+ Some of this patch is refactoring to enable more flexibility in the authentication mechanism
+ and the rest is actually implementing Network->UI process authentication.
+
+ Expose the same AuthenticationManager to anyone in the NetworkProcess asking for it:
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::authenticationManager):
+ (WebKit::NetworkProcess::downloadsAuthenticationManager):
+ * NetworkProcess/NetworkProcess.h:
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::didReceiveAuthenticationChallenge): Instead of messaging to
+ the WebProcess, tell the NetworkProcess AuthenticationManager.
+
+ Add WebPageID and WebFrameID members to SchedulableLoader that they receive from
+ * NetworkProcess/SchedulableLoader.cpp:
+ * NetworkProcess/SchedulableLoader.h:
+ (WebKit::SchedulableLoader::webPageID):
+ (WebKit::SchedulableLoader::webFrameID):
+
+ Add a 3rd form of "didReceiveAuthenticationChallenge" for NetworkProcess use:
+ * Shared/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::mapChallengeToIdentifier):
+ (WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
+ * Shared/Authentication/AuthenticationManager.h:
+ * Shared/Authentication/mac/AuthenticationManager.mac.mm:
+ (WebKit::AuthenticationManager::tryUsePlatformCertificateInfoForChallenge): Remove a now obsolete comment
+
+ Include the WebPage and WebFrame ID for the originator of this request in case it results in a challenge:
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::NetworkResourceLoadParameters):
+ (WebKit::NetworkResourceLoadParameters::encode):
+ (WebKit::NetworkResourceLoadParameters::decode):
+ * Shared/Network/NetworkResourceLoadParameters.h:
+ (WebKit::NetworkResourceLoadParameters::webPageID):
+ (WebKit::NetworkResourceLoadParameters::webFrameID):
+
+ Create a AuthenticationChallengeProxy pointing back to the NetworkProcess (instead of a WebProcess),
+ and send the challenge to the appropriate WebPageProxy:
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didReceiveAuthenticationChallenge):
+ * UIProcess/Network/NetworkProcessProxy.h:
+ * UIProcess/Network/NetworkProcessProxy.messages.in:
+
+ Refactor didReceiveAuthenticationChallenge so an outsider can directly hand over an AuthenticationChallengeProxy:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveAuthenticationChallenge):
+ (WebKit::WebPageProxy::didReceiveAuthenticationChallengeProxy):
+ * UIProcess/WebPageProxy.h:
+
+ Add a global WebPageID -> WebPageProxy map so parties with an ID don't need to know which process it belongs to:
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::globalPageMap):
+ (WebKit::WebProcessProxy::webPage):
+ (WebKit::WebProcessProxy::createWebPage):
+ (WebKit::WebProcessProxy::addExistingWebPage):
+ (WebKit::WebProcessProxy::removeWebPage):
+ * UIProcess/WebProcessProxy.h:
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::scheduleLoad):
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::loadResourceSynchronously): Pass 0 for WebFrameID and WebPageID since synchronous
+ loads don't go through "normal" authentication channels and don't need them. Yet.
+
+2013-01-25 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13089261> Crash in WKSandboxExtensionGetSerializedFormat when opening Web Inspector
+
+ Reviewed by Brady Eidson.
+
+ * WebProcess/com.apple.WebProcess.sb.in: Should be able to issue extensions for
+ Inspector files.
+
+2013-01-25 Sam Weinig <sam@webkit.org>
+
+ Try to fix the debug build.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-25 Sam Weinig <sam@webkit.org>
+
+ Move the WebContentServices to WebProcess/EntryPoint/mac/XPCService/.
+
+ Reviewed by Anders Carlsson.
+
+ * Configurations/WebContentService.Development.xcconfig:
+ * Configurations/WebContentService.xcconfig:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/EntryPoint: Added.
+ * WebProcess/EntryPoint/mac: Added.
+ * WebProcess/EntryPoint/mac/LegacyProcess: Added.
+ * WebProcess/EntryPoint/mac/XPCService: Added.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService: Copied from WebProcessService.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development: Copied from WebProcessServiceForWebKitDevelopment.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebContentServiceMain.Development.mm: Copied from WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/WebProcessServiceForWebKitDevelopmentMain.mm: Removed.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebContentServiceMain.mm: Copied from WebProcessService/WebProcessServiceMain.mm.
+ * WebProcess/EntryPoint/mac/XPCService/WebContentService/WebProcessServiceMain.mm: Removed.
+ * WebProcessService: Removed.
+ * WebProcessService/Info.plist: Removed.
+ * WebProcessService/WebProcessServiceMain.mm: Removed.
+ * WebProcessServiceForWebKitDevelopment: Removed.
+ * WebProcessServiceForWebKitDevelopment/Info.plist: Removed.
+ * WebProcessServiceForWebKitDevelopment/WebProcessServiceForWebKitDevelopmentMain.mm: Removed.
+
+2013-01-25 Ivan Krstić <ike@apple.com>
+
+ Prepend common plugin sandbox profile to specific per-plugin one.
+ <rdar://problem/13044349>
+
+ Reviewed by Alexey Proskuryakov.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::initializeSandbox):
+
+2013-01-25 Dean Jackson <dino@apple.com>
+
+ Add a user agent stylesheet for plugins
+ https://bugs.webkit.org/show_bug.cgi?id=107890
+
+ Reviewed by Alexey Proskuryakov.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Rename client callbacks
+ to have a "create" prefix, making it clear that these generate new Strings.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Actually call into
+ the injected bundle to retrieve any custom stylesheet for plugins.
+ (WebKit::InjectedBundlePageUIClient::plugInExtraStyleSheet):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient): Add override keyword onto virtual functions now
+ that the base class has implementations.
+
+2013-01-25 Alexey Proskuryakov <ap@apple.com>
+
+ NetworkProcess cannot load files with non-ASCII names
+ https://bugs.webkit.org/show_bug.cgi?id=107977
+
+ Reviewed by Brady Eidson.
+
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::encode): Use the correct path accessor.
+
+2013-01-25 Alexey Proskuryakov <ap@apple.com>
+
+ REGRESSION: System directory prefix doesn't have a "+"
+ https://bugs.webkit.org/show_bug.cgi?id=107971
+
+ Reviewed by Brady Eidson.
+
+ * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::initializeSandbox):
+ Re-added the "+".
+
+2013-01-25 Brady Eidson <beidson@apple.com>
+
+ New NetworkProcess can ASSERT after old NetworkProcess crashes
+ https://bugs.webkit.org/show_bug.cgi?id=107970
+
+ Reviewed by Alexey Proskuryakov.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::removeLoadIdentifier): Don't tell the scheduler
+ to remove a loader that doesn't exist, as we might be recovering from a crash.
+
+2013-01-25 Alexey Proskuryakov <ap@apple.com>
+
+ Send sandbox extensions for local files to NetworkProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107872
+
+ Reviewed by Brady Eidson.
+
+ Send sandbox extensions in NetworkResourceLoadParameters, and consume/invalidate
+ them during loading. Changed NetworkProcess code to only use that class for IPC,
+ not for actual implementation.
+
+ * NetworkProcess/HostRecord.cpp:
+ (WebKit::HostRecord::scheduleResourceLoader):
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::scheduleLoader):
+ (WebKit::NetworkResourceLoadScheduler::removeLoader):
+ (WebKit::NetworkResourceLoadScheduler::receivedRedirect):
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::destinationID):
+ (WebKit::NetworkResourceLoader::start):
+ (WebKit::NetworkResourceLoader::resourceHandleStopped):
+ (WebKit::NetworkResourceLoader::didReceiveResponse):
+ (WebKit::NetworkResourceLoader::didFinishLoading):
+ (WebKit::NetworkResourceLoader::didFail):
+ (WebKit::NetworkResourceLoader::shouldUseCredentialStorage):
+ * NetworkProcess/SchedulableLoader.cpp:
+ (WebKit::SchedulableLoader::SchedulableLoader):
+ (WebKit::SchedulableLoader::consumeSandboxExtensions):
+ (WebKit::SchedulableLoader::invalidateSandboxExtensions):
+ * NetworkProcess/SchedulableLoader.h:
+ (WebKit::SchedulableLoader::identifier):
+ (WebKit::SchedulableLoader::request):
+ (WebKit::SchedulableLoader::priority):
+ (WebKit::SchedulableLoader::contentSniffingPolicy):
+ (WebKit::SchedulableLoader::allowStoredCredentials):
+ (WebKit::SchedulableLoader::inPrivateBrowsingMode):
+ (SchedulableLoader):
+ * NetworkProcess/SyncNetworkResourceLoader.cpp:
+ (WebKit::SyncNetworkResourceLoader::start):
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::encode):
+ (WebKit::NetworkResourceLoadParameters::decode):
+ * Shared/Network/NetworkResourceLoadParameters.h:
+ (WebKit::NetworkResourceLoadParameters::requestBodyExtensions):
+ (WebKit::NetworkResourceLoadParameters::resourceSandboxExtension):
+
+2013-01-25 Claudio Saavedra <csaavedra@igalia.com>
+
+ Remove stale class include
+ https://bugs.webkit.org/show_bug.cgi?id=107945
+
+ Reviewed by Andreas Kling.
+
+ * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h:
+ GeolocationPermissionRequestProxy has nothing to do here.
+
+2013-01-25 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed.
+
+ Now searching for *.messages.in in Source/WebKit2/WebProcess/Storage
+ instead of Source/WebKit2/WebProcess/KeyValueStorage after the
+ WebKeyValueStorageManager.messages.in was moved there.
+
+ * GNUmakefile.am:
+
+2013-01-25 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed.
+
+ Reincluding the input file for WebKeyValueStorageManager IPC messages
+ into the extra distribution list after the file was moved.
+
+ * GNUmakefile.am:
+
+2013-01-25 Zan Dobersek <zdobersek@igalia.com>
+
+ Further GTK build fixing.
+ Adding Source/WebKit2/WebProcess/Storage to the list of directories
+ to be searched for header inclusion.
+
+ * GNUmakefile.am:
+
+2013-01-25 Zan Dobersek <zdobersek@igalia.com>
+
+ Unreviewed GTK build fix.
+ Adjusting the build targets after WebKeyValueStorageManager.cpp was moved
+ to a different directory.
+
+ * GNUmakefile.list.am:
+
+2013-01-25 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2][EFL] PagePolicyClientEfl should be based on C WK2 API
+ https://bugs.webkit.org/show_bug.cgi?id=107854
+
+ Reviewed by Benjamin Poulain.
+
+ PagePolicyClientEfl should be based on C WK2 API in order not to
+ break API layering.
+
+ * UIProcess/efl/PagePolicyClientEfl.cpp:
+ (WebKit::PagePolicyClientEfl::decidePolicyForResponseCallback):
+
+2013-01-25 Huang Dongsung <luxtella@company100.net>
+
+ [Qt][Gtk] build fix after r140752.
+ https://bugs.webkit.org/show_bug.cgi?id=107908
+
+ Reviewed by Kentaro Hara.
+
+ Build break after r140752.
+
+ Move Authentication and Downloads to Shared.
+
+ * DerivedSources.pri:
+ * GNUmakefile.am:
+ * WebKit2.pri:
+
+2013-01-24 Tim Horton <timothy_horton@apple.com>
+
+ [wk2] Page overlays should do their own animation, instead of relying on implicit animation
+ https://bugs.webkit.org/show_bug.cgi?id=107896
+ <rdar://problem/12900058>
+
+ Reviewed by Sam Weinig.
+
+ Use PageOverlay's animation instead of CA implicit animations for uninstallPageOverlay.
+
+ Make WKBundlePageInstallPageOverlay/WKBundlePageUninstallPageOverlay default to no animation.
+
+ Add WKBundlePageInstallPageOverlayWithAnimation/WKBundlePageUninstallPageOverlayWithAnimation.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+ (WKBundlePageUninstallPageOverlay): The default for shouldFadeOut is now false, so we don't need to pass it.
+ (WKBundlePageInstallPageOverlayWithAnimation): Add a version of WKBundlePageInstallPageOverlay that fades in.
+ (WKBundlePageUninstallPageOverlayWithAnimation): Add a version of WKBundlePageUninstallPageOverlay that fades out.
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+ * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
+ (WebKit::WebInspectorClient::highlight): installPageOverlay used to animate by default, now we need to ask for it.
+ (WebKit::WebInspectorClient::hideHighlight): uninstallPageOverlay used to implicitly animate accidentally, now we need to ask for it.
+ * WebProcess/WebPage/FindController.cpp:
+ (WebKit::FindController::updateFindUIAfterPageScroll): Ditto.
+ (WebKit::FindController::hideFindUI): Ditto.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::installPageOverlay): Add shouldFadeIn parameter.
+ (WebKit::WebPage::uninstallPageOverlay):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage): Add shouldFadeIn to installPageOverlay; make both it and uninstallPageOverlay's shouldFade out default to false.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::destroyPageOverlayLayer): Disable implicit animations when removing a page overlay.
+
+2013-01-24 Huang Dongsung <luxtella@company100.net>
+
+ [EFL] Unreviewed build fix after r140752.
+ https://bugs.webkit.org/show_bug.cgi?id=107886
+
+ Build break after r140752.
+
+ * PlatformEfl.cmake: Move DownloadSoupErrorsEfl and DownloadSoup to Shared/Downloads.
+
+2013-01-24 Tim Horton <timothy_horton@apple.com>
+
+ Fix NetworkProcess loading after r140730.
+
+ Reviewed by Sam Weinig.
+
+ If a process' sandbox profile path is empty, don't try to initialize the sandbox.
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::initializeSandbox):
+
+2013-01-24 Ryosuke Niwa <rniwa@webkit.org>
+
+ Mac build fix after r140752.
+
+ * DerivedSources.make:
+
+2013-01-24 Jae Hyun Park <jae.park@company100.net>
+
+ Redundant LegacyReceiver attribute in WebPage.messages.in
+ https://bugs.webkit.org/show_bug.cgi?id=107875
+
+ Reviewed by Anders Carlsson.
+
+ To generate WebPageMessageReceiver with legacy, just one LegacyReceiver
+ attribute in WebPage.messages.in is enough. This patch removes this
+ redundant attribute.
+
+ * WebProcess/WebPage/WebPage.messages.in:
+
+2013-01-24 Anders Carlsson <andersca@apple.com>
+
+ Fix release build.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ (WebKit::StorageAreaProxy::length):
+
+2013-01-24 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/9971916> [WK2] Update sandbox extension usage
+ https://bugs.webkit.org/show_bug.cgi?id=107861
+
+ Reviewed by Sam Weinig.
+
+ * Shared/SandboxExtension.h:
+ * Shared/mac/SandboxExtensionMac.mm:
+ (WebKit::wkSandboxExtensionType):
+ * UIProcess/Downloads/DownloadProxy.cpp:
+ (WebKit::DownloadProxy::decideDestinationWithSuggestedFilename):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::createNewWebProcess):
+ (WebKit::WebContext::processDidFinishLaunching):
+ (WebKit::WebContext::startMemorySampler):
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-24 Brady Eidson <beidson@apple.com>
+
+ Move Authentication and Downloads from WebProcess to Shared.
+ https://bugs.webkit.org/show_bug.cgi?id=107879
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/Authentication/AuthenticationManager.cpp: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.cpp.
+ * Shared/Authentication/AuthenticationManager.h: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h.
+ * Shared/Authentication/AuthenticationManager.messages.in: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.messages.in.
+ * Shared/Authentication/mac/AuthenticationManager.mac.mm: Renamed from Source/WebKit2/WebProcess/Authentication/mac/AuthenticationManager.mac.mm.
+ * Shared/Downloads/Download.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/Download.cpp.
+ * Shared/Downloads/Download.h: Renamed from Source/WebKit2/WebProcess/Downloads/Download.h.
+ * Shared/Downloads/DownloadAuthenticationClient.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadAuthenticationClient.cpp.
+ * Shared/Downloads/DownloadAuthenticationClient.h: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadAuthenticationClient.h.
+ * Shared/Downloads/DownloadManager.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadManager.cpp.
+ * Shared/Downloads/DownloadManager.h: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadManager.h.
+ * Shared/Downloads/cfnet/DownloadCFNet.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/cfnet/DownloadCFNet.cpp.
+ * Shared/Downloads/curl/DownloadCurl.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/curl/DownloadCurl.cpp.
+ * Shared/Downloads/efl/DownloadSoupErrorsEfl.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp.
+ * Shared/Downloads/gtk/DownloadSoupErrorsGtk.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/gtk/DownloadSoupErrorsGtk.cpp.
+ * Shared/Downloads/mac/DownloadMac.mm: Renamed from Source/WebKit2/WebProcess/Downloads/mac/DownloadMac.mm.
+ * Shared/Downloads/qt/DownloadQt.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/qt/DownloadQt.cpp.
+ * Shared/Downloads/qt/QtFileDownloader.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.cpp.
+ * Shared/Downloads/qt/QtFileDownloader.h: Renamed from Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.h.
+ * Shared/Downloads/soup/DownloadSoup.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp.
+ * Shared/Downloads/soup/DownloadSoupErrors.h: Renamed from Source/WebKit2/WebProcess/Downloads/soup/DownloadSoupErrors.h.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-24 Seokju Kwon <seokju.kwon@gmail.com>
+
+ [EFL] Unreviewed build fix after r140711
+ https://bugs.webkit.org/show_bug.cgi?id=107873
+
+ Unreviewed build fix.
+
+ Build break after r140711.
+
+ * CMakeLists.txt: Move WebKeyValueStorageManager to WebProcess/Storage.
+
+2013-01-24 Jae Hyun Park <jae.park@company100.net>
+
+ Coordinated Graphics: remove SurfaceUpdateInfo::encode/decode
+ https://bugs.webkit.org/show_bug.cgi?id=107794
+
+ Reviewed by Anders Carlsson.
+
+ We want to remove the dependency on CoreIPC from SurfaceUpdateInfo
+ because we will extract Coordinated Graphics from WK2. Since
+ SurfaceUpdateInfo is only used in Coordinated Graphics, this patch
+ moves it to Shared/CoordinatedGraphics, and removes CoreIPC
+ dependency.
+
+ No new tests, no change in behavior.
+
+ * CMakeLists.txt:
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::::encode):
+ (CoreIPC):
+ (CoreIPC::::decode):
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
+ (WebKit):
+ * Shared/CoordinatedGraphics/SurfaceUpdateInfo.h: Renamed from Source/WebKit2/Shared/SurfaceUpdateInfo.h.
+ (WebKit):
+ (SurfaceUpdateInfo):
+ (WebKit::SurfaceUpdateInfo::SurfaceUpdateInfo):
+ * Shared/SurfaceUpdateInfo.cpp: Removed.
+ * Target.pri:
+
+2013-01-24 Anders Carlsson <andersca@apple.com>
+
+ More StorageAreaProxy cleanup
+ https://bugs.webkit.org/show_bug.cgi?id=107870
+
+ Reviewed by Beth Dakin.
+
+ Remove some unnecessary 'WebCore::' qualifications,
+ and implement StorageNamespaceProxy::storageArea.
+
+ * WebProcess/Storage/StorageAreaProxy.cpp:
+ * WebProcess/Storage/StorageAreaProxy.h:
+ * WebProcess/Storage/StorageNamespaceProxy.cpp:
+
+2013-01-24 Sam Weinig <sam@webkit.org>
+
+ Cleanup sandbox initialization a bit
+ https://bugs.webkit.org/show_bug.cgi?id=107847
+
+ Reviewed by Alexey Proskuryakov.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeSandbox):
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::initializeSandbox):
+ * PluginProcess/PluginProcess.h:
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::initialize):
+ (WebKit::ChildProcess::initializeSandbox):
+ * Shared/ChildProcess.h:
+ (ChildProcess):
+ * Shared/SandboxInitializationParameters.h:
+ (SandboxInitializationParameters):
+ (WebKit::SandboxInitializationParameters::mode):
+ (WebKit::SandboxInitializationParameters::setOverrideSandboxProfilePath):
+ (WebKit::SandboxInitializationParameters::overrideSandboxProfilePath):
+ (WebKit::SandboxInitializationParameters::setSandboxProfile):
+ (WebKit::SandboxInitializationParameters::sandboxProfile):
+ (WebKit::SandboxInitializationParameters::SandboxInitializationParameters):
+ (WebKit::SandboxInitializationParameters::~SandboxInitializationParameters):
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::platformInitialize):
+ (WebKit::ChildProcess::initializeSandbox):
+ * Shared/mac/SandboxInitialiationParametersMac.mm:
+ (WebKit::SandboxInitializationParameters::SandboxInitializationParameters):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeSandbox):
+ * WebProcess/WebProcess.h:
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::ChildProcess::initializeSandbox):
+
+2013-01-24 Anders Carlsson <andersca@apple.com>
+
+ Add stubbed out StorageAreaProxy class
+ https://bugs.webkit.org/show_bug.cgi?id=107864
+
+ Reviewed by Beth Dakin.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Storage/StorageAreaProxy.cpp: Added.
+ * WebProcess/Storage/StorageAreaProxy.h: Added.
+
+2013-01-24 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed trivial buildfix after r140711.
+
+ * DerivedSources.pri:
+ * Target.pri:
+
+2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
+
+ Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
+ https://bugs.webkit.org/show_bug.cgi?id=107327
+
+ Reviewed by Filip Pizlo.
+
+ We're renaming these two files, so we have to replace the names everywhere.
+
+ * WebProcess/WebPage/WebPage.cpp:
+
+2013-01-24 Dean Jackson <dino@apple.com>
+
+ Allow some plugin snapshot UI content to come from Injected Bundle
+ https://bugs.webkit.org/show_bug.cgi?id=107852
+
+ Reviewed by Anders Carlsson.
+
+ Hook up three new methods: plugInStartLabelTitle, plugInStartLabelSubtitle and
+ plugInExtraStyleSheet to allow some custom styling and content to come
+ from the InjectedBundle.
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Callbacks added to
+ WKBundlePageUIClient structure.
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Stub implementations
+ of the three new methods.
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle):
+ (WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle):
+ (WebKit::InjectedBundlePageUIClient::plugInExtraStyleSheet):
+ * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
+ (InjectedBundlePageUIClient):
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp: Call into the injected bundle
+ for each of these methods.
+ (WebKit::WebChromeClient::plugInStartLabelTitle):
+ (WebKit::WebChromeClient::plugInStartLabelSubtitle):
+ (WebKit::WebChromeClient::plugInExtraStyleSheet):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient): Declare the virtual methods in the Chrome
+ Client so that they can accessed from WebCore eventually.
+
+2013-01-24 Anders Carlsson <andersca@apple.com>
+
+ Add stubbed out StorageNamespaceProxy class
+ https://bugs.webkit.org/show_bug.cgi?id=107846
+
+ Reviewed by Sam Weinig.
+
+ Add new class.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Storage/StorageNamespaceProxy.cpp: Added.
+ * WebProcess/Storage/StorageNamespaceProxy.h: Added.
+
+2013-01-24 Anders Carlsson <andersca@apple.com>
+
+ Move WebKeyValueStorageManager to WebProcess/Storage.
+
+ Rubber-stamped by Sam Weinig.
+
+ Try this again, with DerivedSources.make correctly updated this time.
+
+ * DerivedSources.make:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Storage/WebKeyValueStorageManager.cpp: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp.
+ * WebProcess/Storage/WebKeyValueStorageManager.h: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.h.
+ * WebProcess/Storage/WebKeyValueStorageManager.messages.in: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in.
+
+2013-01-24 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_favicon_database
+ https://bugs.webkit.org/show_bug.cgi?id=107680
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Use C API inside ewk_favicon_database instead of
+ accessible the C++ classes and violating layering.
+ We still rely on some C++ methods but this will be
+ addressed later since there is no equivalent in
+ the C API and it will require more refactoring.
+
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::ensureFaviconDatabase):
+ * UIProcess/API/efl/ewk_favicon_database.cpp:
+ (EwkFaviconDatabase::EwkFaviconDatabase):
+ (EwkFaviconDatabase::~EwkFaviconDatabase):
+ (EwkFaviconDatabase::iconURLForPageURL):
+ (EwkFaviconDatabase::iconForPageURL):
+ (EwkFaviconDatabase::getIconSurfaceSynchronously):
+ (EwkFaviconDatabase::iconDataReadyForPageURL):
+ (ewk_favicon_database_async_icon_get):
+ * UIProcess/API/efl/ewk_favicon_database_private.h:
+ (EwkFaviconDatabase::create):
+ (EwkFaviconDatabase):
+
+2013-01-24 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] Rename EwkViewImpl class to EwkView
+ https://bugs.webkit.org/show_bug.cgi?id=107719
+
+ Reviewed by Andreas Kling.
+
+ Rename EwkViewImpl class to EwkView, due to ewk view
+ refactoring plan (https://bugs.webkit.org/show_bug.cgi?id=107662#c1).
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewCreate):
+ (WKViewCreateWithFixedLayout):
+ (WKViewGetPage):
+ (WKViewCreateSnapshot):
+ * UIProcess/API/efl/EwkView.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp.
+ (pageViewMap):
+ (EwkView::addToPageViewMap):
+ (EwkView::removeFromPageViewMap):
+ (EwkView::viewFromPageViewMap):
+ (EwkView::EwkView):
+ (EwkView::~EwkView):
+ (EwkView::smartData):
+ (EwkView::fromEvasObject):
+ (EwkView::wkPage):
+ (EwkView::setCursor):
+ (EwkView::setDeviceScaleFactor):
+ (EwkView::deviceScaleFactor):
+ (EwkView::transformFromScene):
+ (EwkView::transformToScene):
+ (EwkView::transformToScreen):
+ (EwkView::layerTreeRenderer):
+ (EwkView::displayTimerFired):
+ (EwkView::update):
+ (EwkView::enterFullScreen):
+ (EwkView::exitFullScreen):
+ (EwkView::windowGeometry):
+ (EwkView::setWindowGeometry):
+ (EwkView::setImageData):
+ (EwkView::size):
+ (EwkView::isFocused):
+ (EwkView::isVisible):
+ (EwkView::title):
+ (EwkView::inputMethodContext):
+ (EwkView::themePath):
+ (EwkView::setThemePath):
+ (EwkView::customTextEncodingName):
+ (EwkView::setCustomTextEncodingName):
+ (EwkView::setMouseEventsEnabled):
+ (EwkView::setTouchEventsEnabled):
+ (EwkView::informIconChange):
+ (EwkView::createGLSurface):
+ (EwkView::enterAcceleratedCompositingMode):
+ (EwkView::exitAcceleratedCompositingMode):
+ (EwkView::requestColorPicker):
+ (EwkView::dismissColorPicker):
+ (EwkView::showContextMenu):
+ (EwkView::hideContextMenu):
+ (EwkView::requestPopupMenu):
+ (EwkView::closePopupMenu):
+ (EwkView::requestJSAlertPopup):
+ (EwkView::requestJSConfirmPopup):
+ (EwkView::requestJSPromptPopup):
+ (EwkView::informDatabaseQuotaReached):
+ (EwkView::informURLChange):
+ (EwkView::windowFeatures):
+ (EwkView::createNewPage):
+ (EwkView::close):
+ (EwkView::onMouseDown):
+ (EwkView::onMouseUp):
+ (EwkView::onMouseMove):
+ (EwkView::feedTouchEvents):
+ (EwkView::onTouchDown):
+ (EwkView::onTouchUp):
+ (EwkView::onTouchMove):
+ (EwkView::onFaviconChanged):
+ (EwkView::takeSnapshot):
+ * UIProcess/API/efl/EwkView.h: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.h.
+ (WebKit):
+ (WebCore):
+ (EwkView):
+ (EwkView::view):
+ (EwkView::page):
+ (EwkView::ewkContext):
+ (EwkView::settings):
+ (EwkView::backForwardList):
+ (EwkView::url):
+ (EwkView::faviconURL):
+ (EwkView::mouseEventsEnabled):
+ (EwkView::touchEventsEnabled):
+ (EwkView::setNeedsSurfaceResize):
+ (EwkView::smartCallback):
+ (EwkView::pageClient):
+ (EwkView::setPageScaleFactor):
+ (EwkView::pageScaleFactor):
+ (EwkView::setPagePosition):
+ (EwkView::pagePosition):
+ (EwkView::isHardwareAccelerated):
+ (EwkView::setDrawsBackground):
+ (EwkView::evasGLContext):
+ (EwkView::evasGLSurface):
+ * UIProcess/API/efl/ewk_context_menu.cpp:
+ (EwkContextMenu::EwkContextMenu):
+ * UIProcess/API/efl/ewk_context_menu_private.h:
+ (EwkContextMenu::create):
+ (EwkContextMenu):
+ * UIProcess/API/efl/ewk_download_job.cpp:
+ (EwkDownloadJob::EwkDownloadJob):
+ (EwkDownloadJob::view):
+ * UIProcess/API/efl/ewk_download_job_private.h:
+ (EwkDownloadJob::create):
+ (EwkDownloadJob):
+ * UIProcess/API/efl/ewk_popup_menu.cpp:
+ (EwkPopupMenu::EwkPopupMenu):
+ (EwkPopupMenu::close):
+ * UIProcess/API/efl/ewk_popup_menu_private.h:
+ (EwkPopupMenu::create):
+ (EwkPopupMenu):
+ * UIProcess/API/efl/ewk_settings.cpp:
+ (EwkSettings::preferences):
+ * UIProcess/API/efl/ewk_settings_private.h:
+ (EwkSettings::create):
+ (EwkSettings::EwkSettings):
+ (EwkSettings):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (createEwkView):
+ (ewk_view_base_add):
+ * UIProcess/API/efl/ewk_view.h:
+ * UIProcess/API/efl/ewk_view_private.h:
+ * UIProcess/API/efl/ewk_window_features.cpp:
+ (EwkWindowFeatures::EwkWindowFeatures):
+ (EwkWindowFeatures::setToolbarVisible):
+ (EwkWindowFeatures::setStatusBarVisible):
+ (EwkWindowFeatures::setMenuBarVisible):
+ (EwkWindowFeatures::setResizable):
+ * UIProcess/API/efl/ewk_window_features_private.h:
+ (EwkWindowFeatures::create):
+ (EwkWindowFeatures):
+ * 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/ContextMenuClientEfl.cpp:
+ (ContextMenuClientEfl::ContextMenuClientEfl):
+ * UIProcess/efl/ContextMenuClientEfl.h:
+ (WebKit::ContextMenuClientEfl::create):
+ (ContextMenuClientEfl):
+ * UIProcess/efl/DownloadManagerEfl.cpp:
+ (WebKit::DownloadManagerEfl::decideDestinationWithSuggestedFilename):
+ (WebKit::DownloadManagerEfl::didFail):
+ (WebKit::DownloadManagerEfl::didCancel):
+ (WebKit::DownloadManagerEfl::didFinish):
+ (WebKit::DownloadManagerEfl::registerDownload):
+ * UIProcess/efl/DownloadManagerEfl.h:
+ (DownloadManagerEfl):
+ * UIProcess/efl/FindClientEfl.cpp:
+ (WebKit::FindClientEfl::didFindString):
+ (WebKit::FindClientEfl::didFailToFindString):
+ (WebKit::FindClientEfl::FindClientEfl):
+ * UIProcess/efl/FindClientEfl.h:
+ (WebKit::FindClientEfl::create):
+ (FindClientEfl):
+ * UIProcess/efl/FormClientEfl.cpp:
+ (WebKit::FormClientEfl::willSubmitForm):
+ (WebKit::FormClientEfl::FormClientEfl):
+ * UIProcess/efl/FormClientEfl.h:
+ (WebKit::FormClientEfl::create):
+ (FormClientEfl):
+ * UIProcess/efl/InputMethodContextEfl.cpp:
+ (WebKit::InputMethodContextEfl::InputMethodContextEfl):
+ (WebKit::InputMethodContextEfl::onIMFInputSequenceComplete):
+ (WebKit::InputMethodContextEfl::onIMFPreeditSequenceChanged):
+ (WebKit::InputMethodContextEfl::updateTextInputState):
+ * UIProcess/efl/InputMethodContextEfl.h:
+ (WebKit::InputMethodContextEfl::create):
+ (InputMethodContextEfl):
+ * UIProcess/efl/PageClientBase.cpp:
+ (WebKit::PageClientBase::PageClientBase):
+ (WebKit::PageClientBase::view):
+ (WebKit::PageClientBase::createDrawingAreaProxy):
+ (WebKit::PageClientBase::setViewNeedsDisplay):
+ (WebKit::PageClientBase::viewSize):
+ (WebKit::PageClientBase::isViewFocused):
+ (WebKit::PageClientBase::isViewVisible):
+ (WebKit::PageClientBase::processDidCrash):
+ (WebKit::PageClientBase::didRelaunchProcess):
+ (WebKit::PageClientBase::toolTipChanged):
+ (WebKit::PageClientBase::setCursor):
+ (WebKit::PageClientBase::createPopupMenuProxy):
+ (WebKit::PageClientBase::createContextMenuProxy):
+ (WebKit::PageClientBase::enterAcceleratedCompositingMode):
+ (WebKit::PageClientBase::exitAcceleratedCompositingMode):
+ (WebKit::PageClientBase::updateTextInputState):
+ (WebKit::PageClientBase::handleDownloadRequest):
+ * UIProcess/efl/PageClientBase.h:
+ (PageClientBase):
+ * UIProcess/efl/PageClientDefaultImpl.cpp:
+ (WebKit::PageClientDefaultImpl::PageClientDefaultImpl):
+ (WebKit::PageClientDefaultImpl::updateViewportSize):
+ (WebKit::PageClientDefaultImpl::convertToDeviceSpace):
+ (WebKit::PageClientDefaultImpl::convertToUserSpace):
+ (WebKit::PageClientDefaultImpl::didChangeContentsSize):
+ * UIProcess/efl/PageClientDefaultImpl.h:
+ (WebKit::PageClientDefaultImpl::create):
+ (PageClientDefaultImpl):
+ * UIProcess/efl/PageClientLegacyImpl.cpp:
+ (WebKit::PageClientLegacyImpl::PageClientLegacyImpl):
+ (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:
+ (WebKit::PageClientLegacyImpl::create):
+ (PageClientLegacyImpl):
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didReceiveTitleForFrame):
+ (WebKit::PageLoadClientEfl::didReceiveIntentForFrame):
+ (WebKit::PageLoadClientEfl::registerIntentServiceForFrame):
+ (WebKit::PageLoadClientEfl::didChangeProgress):
+ (WebKit::PageLoadClientEfl::didFinishLoadForFrame):
+ (WebKit::PageLoadClientEfl::didFailLoadWithErrorForFrame):
+ (WebKit::PageLoadClientEfl::didStartProvisionalLoadForFrame):
+ (WebKit::PageLoadClientEfl::didReceiveServerRedirectForProvisionalLoadForFrame):
+ (WebKit::PageLoadClientEfl::didFailProvisionalLoadWithErrorForFrame):
+ (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
+ (WebKit::PageLoadClientEfl::didChangeBackForwardList):
+ (WebKit::PageLoadClientEfl::didSameDocumentNavigationForFrame):
+ (WebKit::PageLoadClientEfl::didReceiveAuthenticationChallengeInFrame):
+ (WebKit::PageLoadClientEfl::PageLoadClientEfl):
+ * UIProcess/efl/PageLoadClientEfl.h:
+ (WebKit::PageLoadClientEfl::create):
+ (PageLoadClientEfl):
+ (WebKit::PageLoadClientEfl::view):
+ * UIProcess/efl/PagePolicyClientEfl.cpp:
+ (WebKit::PagePolicyClientEfl::decidePolicyForNavigationAction):
+ (WebKit::PagePolicyClientEfl::decidePolicyForNewWindowAction):
+ (WebKit::PagePolicyClientEfl::PagePolicyClientEfl):
+ * UIProcess/efl/PagePolicyClientEfl.h:
+ (WebKit::PagePolicyClientEfl::create):
+ (PagePolicyClientEfl):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::PageUIClientEfl):
+ (WebKit::PageUIClientEfl::close):
+ (WebKit::PageUIClientEfl::takeFocus):
+ (WebKit::PageUIClientEfl::focus):
+ (WebKit::PageUIClientEfl::unfocus):
+ (WebKit::PageUIClientEfl::runJavaScriptAlert):
+ (WebKit::PageUIClientEfl::runJavaScriptConfirm):
+ (WebKit::PageUIClientEfl::runJavaScriptPrompt):
+ (WebKit::PageUIClientEfl::toolbarsAreVisible):
+ (WebKit::PageUIClientEfl::setToolbarsAreVisible):
+ (WebKit::PageUIClientEfl::menuBarIsVisible):
+ (WebKit::PageUIClientEfl::setMenuBarIsVisible):
+ (WebKit::PageUIClientEfl::statusBarIsVisible):
+ (WebKit::PageUIClientEfl::setStatusBarIsVisible):
+ (WebKit::PageUIClientEfl::isResizable):
+ (WebKit::PageUIClientEfl::setIsResizable):
+ (WebKit::PageUIClientEfl::getWindowFrame):
+ (WebKit::PageUIClientEfl::setWindowFrame):
+ (WebKit::PageUIClientEfl::exceededDatabaseQuota):
+ (WebKit::PageUIClientEfl::runOpenPanel):
+ (WebKit::PageUIClientEfl::createNewPage):
+ (WebKit::PageUIClientEfl::showColorPicker):
+ (WebKit::PageUIClientEfl::hideColorPicker):
+ * UIProcess/efl/PageUIClientEfl.h:
+ (WebKit::PageUIClientEfl::create):
+ (PageUIClientEfl):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::PageViewportControllerClientEfl):
+ (WebKit::PageViewportControllerClientEfl::drawingArea):
+ (WebKit::PageViewportControllerClientEfl::updateViewportSize):
+ (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+ (WebKit::PageViewportControllerClientEfl::setViewportPosition):
+ (WebKit::PageViewportControllerClientEfl::setPageScaleFactor):
+ (WebKit::PageViewportControllerClientEfl::didResumeContent):
+ (WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ (WebKit::PageViewportControllerClientEfl::create):
+ (PageViewportControllerClientEfl):
+ * UIProcess/efl/VibrationClientEfl.cpp:
+ (VibrationClientEfl::vibrateCallback):
+ (VibrationClientEfl::cancelVibrationCallback):
+ (VibrationClientEfl::create):
+ (VibrationClientEfl::VibrationClientEfl):
+ (VibrationClientEfl::~VibrationClientEfl):
+ * UIProcess/efl/VibrationClientEfl.h:
+ (VibrationClientEfl):
+ * UIProcess/efl/WebContextMenuProxyEfl.cpp:
+ (WebKit::WebContextMenuProxyEfl::WebContextMenuProxyEfl):
+ (WebKit::WebContextMenuProxyEfl::showContextMenu):
+ (WebKit::WebContextMenuProxyEfl::hideContextMenu):
+ * UIProcess/efl/WebContextMenuProxyEfl.h:
+ (WebKit::WebContextMenuProxyEfl::create):
+ (WebContextMenuProxyEfl):
+ * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
+ (WebKit::WebFullScreenManagerProxy::enterFullScreen):
+ (WebKit::WebFullScreenManagerProxy::exitFullScreen):
+ * UIProcess/efl/WebInspectorProxyEfl.cpp:
+ (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ * UIProcess/efl/WebPageProxyEfl.cpp:
+ (WebKit::WebPageProxy::viewWidget):
+ * UIProcess/efl/WebPopupMenuProxyEfl.cpp:
+ (WebKit::WebPopupMenuProxyEfl::WebPopupMenuProxyEfl):
+ (WebKit::WebPopupMenuProxyEfl::showPopupMenu):
+ (WebKit::WebPopupMenuProxyEfl::hidePopupMenu):
+ * UIProcess/efl/WebPopupMenuProxyEfl.h:
+ (WebKit::WebPopupMenuProxyEfl::create):
+ (WebPopupMenuProxyEfl):
+
+2013-01-24 Andras Becsi <andras.becsi@digia.com>
+
+ Remove nonexistent header from WebKit2/Target.pri
+
+ Unreviewed cleanup after r139919.
+
+ * Target.pri:
+
+2013-01-24 Michael Brüning <michael.bruning@digia.com>
+
+ [Qt][WK2] Pages / resources cannot be loaded from qrc files.
+ https://bugs.webkit.org/show_bug.cgi?id=107031
+
+ Reviewed by Jocelyn Turcotte.
+
+ Enables WebKit2 Qt applications to load files from the bundled
+ qrc files. This is achieved by adding a url scheme handler for
+ the "qrc" scheme using the application scheme handler and ignoring
+ all handlers for the qrc application scheme that the application might
+ set.
+
+ * UIProcess/API/qt/qquickurlschemedelegate.cpp:
+ (QQuickQrcSchemeDelegate::QQuickQrcSchemeDelegate):
+ (QQuickQrcSchemeDelegate::readResourceAndSend):
+ * UIProcess/API/qt/qquickurlschemedelegate_p.h:
+ (QQuickQrcSchemeDelegate):
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ (QQuickWebViewExperimental::schemeDelegates_Append):
+ (QQuickWebViewExperimental::invokeApplicationSchemeHandler):
+ * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml:
+ * UIProcess/API/qt/tests/qmltests/common/qrctest.html: Added.
+ * UIProcess/API/qt/tests/qmltests/resources.qrc:
+
+2013-01-24 Krzysztof Czech <k.czech@samsung.com>
+
+ [EFL][WK2] Expose accessibility hierarchy in WebKit2-EFL.
+ https://bugs.webkit.org/show_bug.cgi?id=106216
+
+ Reviewed by Andreas Kling.
+
+ Create WebPage's accessibility object on WebPage initialization.
+ Wrap around WebCore's accessibility objects.
+ Updating accessibility hierarchy. Expands accessibility implementation
+ of WebKit-GTK to be used in EFL.
+
+ * PlatformEfl.cmake:
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
+ (webPageAccessibilityObjectGetIndexInParent):
+ (web_page_accessibility_object_init):
+ * WebProcess/WebPage/efl/WebPageEfl.cpp:
+ (WebKit::WebPage::platformInitialize):
+ (WebKit):
+ (WebKit::WebPage::updateAccessibilityTree):
+
+2013-01-23 Seokju Kwon <seokju.kwon@gmail.com>
+
+ [EFL] Unreviewed build fix after r140605
+ https://bugs.webkit.org/show_bug.cgi?id=107787
+
+ Unreviewed build fix.
+
+ Build break after r140605.
+
+ * UIProcess/WebBatteryManagerProxy.cpp:
+ * UIProcess/WebBatteryManagerProxy.h:
+ (WebBatteryManagerProxy):
+ * UIProcess/WebNetworkInfoManagerProxy.cpp:
+ * UIProcess/WebNetworkInfoManagerProxy.h:
+ (WebNetworkInfoManagerProxy):
+ * UIProcess/WebVibrationProxy.cpp:
+ * UIProcess/WebVibrationProxy.h:
+ (WebVibrationProxy):
+ * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
+ * UIProcess/soup/WebSoupRequestManagerProxy.h:
+ (WebSoupRequestManagerProxy):
+ * WebProcess/Battery/WebBatteryManager.cpp:
+ * WebProcess/Battery/WebBatteryManager.h:
+ (WebBatteryManager):
+ * WebProcess/NetworkInfo/WebNetworkInfoManager.cpp:
+ * WebProcess/NetworkInfo/WebNetworkInfoManager.h:
+ (WebNetworkInfoManager):
+ * WebProcess/soup/WebSoupRequestManager.cpp:
+ * WebProcess/soup/WebSoupRequestManager.h:
+ (WebSoupRequestManager):
+
+2013-01-23 Sam Weinig <sam@webkit.org>
+
+ Cleanup the names of the WebKit2 xpc services
+ https://bugs.webkit.org/show_bug.cgi?id=107759
+
+ Reviewed by Anders Carlsson.
+
+ Renames:
+ com.apple.WebKit2.WebProcessService -> com.apple.WebKit.WebContent
+ com.apple.WebKit2.WebProcessServiceForWebKitDevelopment -> com.apple.WebKit.WebContent.Development
+
+ * Configurations/BaseXPCService.xcconfig: Copied from Source/WebKit2/Configurations/WebProcessService.xcconfig.
+ * Configurations/WebContentService.xcconfig: Copied from Source/WebKit2/Configurations/WebProcessService.xcconfig.
+ * Configurations/WebContentServiceForDevelopment.xcconfig: Copied from Source/WebKit2/Configurations/WebProcessServiceForWebKitDevelopment.xcconfig.
+ * Configurations/WebProcessService.xcconfig: Removed.
+ * Configurations/WebProcessServiceForWebKitDevelopment.xcconfig: Removed.
+ Rename config files to match new service names and add base config.
+
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+ (WebKit::connectToWebProcessServiceForWebKitDevelopment):
+ (WebKit::createWebProcessServiceForWebKitDevelopment):
+ (WebKit::createWebProcessService):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebKit2Service: Removed.
+ * WebProcessService/Info.plist:
+ * WebProcessServiceForWebKitDevelopment/Info.plist:
+ Update for new names.
+
+2013-01-23 Seulgi Kim <seulgikim@company100.net>
+
+ Coordinated Graphics : Reduce the number of calls to Functional and number of IPC messages by sending the created/deleted layers in a vector.
+ https://bugs.webkit.org/show_bug.cgi?id=107625
+
+ Reviewed by Benjamin Poulain.
+
+ Currently, the number of messages sent by CoordinatedLayerTreeHost is
+ equal to the number of layers created/deleted even though they requested
+ in the same cycle.
+ It's not good since CoreIPC creates functional before sending messages,
+ and CoordinatedLayerTreeHostProxy creates functional before
+ create/delete layers.
+
+ This patch makes CoordinatedLayerTreeHost send just one
+ CreateCompositingLayers message and CoordinatedLayerTreeHostProxy create
+ just one functional in a cycle. The same work has been done with
+ DeleteCompositingLayers message.
+
+ This patch will reduce the number of calls to Functional and number of
+ IPC messages by sending the created/deleted layers in a vector.
+
+ No new tests, no change in behavior.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::createCompositingLayers):
+ (WebKit::CoordinatedLayerTreeHostProxy::deleteCompositingLayers):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::createLayers):
+ (WebKit):
+ (WebKit::LayerTreeRenderer::deleteLayers):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (LayerTreeRenderer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::createCompositingLayers):
+ (WebKit::CoordinatedLayerTreeHost::deleteCompositingLayers):
+
+2013-01-23 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Add LegacyReceiver to messages.in files.
+ https://bugs.webkit.org/show_bug.cgi?id=107760
+
+ Reviewed by Anders Carlsson.
+
+ After r140605, LegacyReceiver attribute is needed to use recevier specific
+ memeber functions.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in:
+
+2013-01-23 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r140612.
+ http://trac.webkit.org/changeset/140612
+ https://bugs.webkit.org/show_bug.cgi?id=107768
+
+ broke the build (Requested by smfr on #webkit).
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp: Renamed from Source/WebKit2/WebProcess/Storage/WebKeyValueStorageManager.cpp.
+ (WebKit):
+ (WebKit::WebKeyValueStorageManager::supplementName):
+ (WebKit::WebKeyValueStorageManager::WebKeyValueStorageManager):
+ (WebKit::WebKeyValueStorageManager::initialize):
+ (WebKit::keyValueStorageOriginIdentifiers):
+ (WebKit::WebKeyValueStorageManager::dispatchDidGetKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManager::getKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManager::didFinishLoadingOrigins):
+ (WebKit::WebKeyValueStorageManager::dispatchDidModifyOrigin):
+ (WebKit::WebKeyValueStorageManager::deleteEntriesForOrigin):
+ (WebKit::WebKeyValueStorageManager::deleteAllEntries):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h: Renamed from Source/WebKit2/WebProcess/Storage/WebKeyValueStorageManager.h.
+ (WebKit):
+ (WebKeyValueStorageManager):
+ (WebKit::WebKeyValueStorageManager::localStorageDirectory):
+ (WebKit::WebKeyValueStorageManager::indexedDBDatabaseDirectory):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in: Renamed from Source/WebKit2/WebProcess/Storage/WebKeyValueStorageManager.messages.in.
+
+2013-01-23 Ian Vollick <vollick@chromium.org>
+
+ Introduce the "stacking container" concept.
+ https://bugs.webkit.org/show_bug.cgi?id=107734
+
+ Reviewed by Simon Fraser.
+
+ A stacking container is treated just like a stacking context. That
+ is, it has z-order lists, it and its descendants are stacked as a
+ unit, and when the RenderLayerCompositor does its overlap testing,
+ the composited regions for all layer lists take effect only once the
+ stacking container is done being processed.
+
+ This patch also adds the function RenderLayer::isStackingContainer().
+ Currently, this is equivalent to RenderLayer::isStackingContext(),
+ but in future, the definition of stacking container will be broadened
+ to encompass more than just stacking contexts.
+
+ Other than the addition of this extra function, the patch is mostly
+ comprised of name changes. Any code that used to refer to the
+ stacking context concept, but didn't necessarily require a stacking
+ context in the strict, CSS-sense, was switched to refer to stacking
+ container. No functionality was changed.
+
+ No new tests, no change in functionality.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::updateOffsetFromViewportForSelf):
+
+2013-01-23 Anders Carlsson <andersca@apple.com>
+
+ Move Move WebKeyValueStorageManager to WebProcess/Storage.
+
+ Rubber-stamped by Sam Weinig.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/Storage/WebKeyValueStorageManager.cpp: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp.
+ * WebProcess/Storage/WebKeyValueStorageManager.h: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.h.
+ * WebProcess/Storage/WebKeyValueStorageManager.messages.in: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in.
+
+2013-01-23 Anders Carlsson <andersca@apple.com>
+
+ Remove LegacyReceiver from a couple of .messages.in files
+ https://bugs.webkit.org/show_bug.cgi?id=107749
+
+ Reviewed by Beth Dakin.
+
+ * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
+ (WebKit):
+ * UIProcess/Notifications/WebNotificationManagerProxy.h:
+ (WebNotificationManagerProxy):
+ * UIProcess/Notifications/WebNotificationManagerProxy.messages.in:
+ * UIProcess/WebGeolocationManagerProxy.cpp:
+ * UIProcess/WebGeolocationManagerProxy.h:
+ (WebGeolocationManagerProxy):
+ * UIProcess/WebGeolocationManagerProxy.messages.in:
+ * UIProcess/WebIconDatabase.cpp:
+ * UIProcess/WebIconDatabase.h:
+ (WebIconDatabase):
+ * UIProcess/WebIconDatabase.messages.in:
+ * UIProcess/WebKeyValueStorageManagerProxy.cpp:
+ * UIProcess/WebKeyValueStorageManagerProxy.h:
+ (WebKeyValueStorageManagerProxy):
+ * UIProcess/WebKeyValueStorageManagerProxy.messages.in:
+ * UIProcess/WebMediaCacheManagerProxy.cpp:
+ * UIProcess/WebMediaCacheManagerProxy.h:
+ (WebMediaCacheManagerProxy):
+ * UIProcess/WebMediaCacheManagerProxy.messages.in:
+ * UIProcess/WebResourceCacheManagerProxy.cpp:
+ * UIProcess/WebResourceCacheManagerProxy.h:
+ (WebResourceCacheManagerProxy):
+ * UIProcess/WebResourceCacheManagerProxy.messages.in:
+ * WebProcess/Geolocation/WebGeolocationManager.cpp:
+ * WebProcess/Geolocation/WebGeolocationManager.h:
+ (WebGeolocationManager):
+ * WebProcess/Geolocation/WebGeolocationManager.messages.in:
+ * WebProcess/IconDatabase/WebIconDatabaseProxy.cpp:
+ * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
+ (WebIconDatabaseProxy):
+ * WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in:
+ * WebProcess/MediaCache/WebMediaCacheManager.cpp:
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ (WebMediaCacheManager):
+ * WebProcess/MediaCache/WebMediaCacheManager.messages.in:
+ * WebProcess/Notifications/WebNotificationManager.cpp:
+ * WebProcess/Notifications/WebNotificationManager.h:
+ (WebNotificationManager):
+ * WebProcess/Notifications/WebNotificationManager.messages.in:
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ (WebResourceCacheManager):
+ * WebProcess/ResourceCache/WebResourceCacheManager.messages.in:
+ * WebProcess/WebPage/WebPageGroupProxy.cpp:
+ (WebKit):
+ * WebProcess/WebPage/WebPageGroupProxy.h:
+ (WebPageGroupProxy):
+ * WebProcess/WebPage/WebPageGroupProxy.messages.in:
+
+2013-01-23 Anders Carlsson <andersca@apple.com>
+
+ Message receiver generation should work in terms of MessageReceiver objects
+ https://bugs.webkit.org/show_bug.cgi?id=107742
+
+ Reviewed by Beth Dakin.
+
+ The generated message receiver code should generate the MessageReceiver
+ member functions didReceiveMessage and didReceiveSyncMessage instead of
+ receiver specific member functions.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+ * NetworkProcess/NetworkProcess.messages.in:
+ * NetworkProcess/NetworkResourceLoader.messages.in:
+ * PluginProcess/PluginControllerProxy.messages.in:
+ * PluginProcess/PluginProcess.messages.in:
+ * PluginProcess/WebProcessConnection.messages.in:
+ * Scripts/webkit2/messages.py:
+ (generate_message_handler):
+ * Scripts/webkit2/messages_unittest.py:
+ * Scripts/webkit2/model.py:
+ (MessageReceiver.__init__):
+ (MessageReceiver.has_attribute):
+ * Scripts/webkit2/parser.py:
+ (parse):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
+ * Shared/Plugins/NPObjectMessageReceiver.messages.in:
+ * Shared/WebConnection.messages.in:
+ * Shared/mac/SecItemShim.messages.in:
+ * SharedWorkerProcess/SharedWorkerProcess.messages.in:
+ * UIProcess/Downloads/DownloadProxy.messages.in:
+ * UIProcess/DrawingAreaProxy.messages.in:
+ * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in:
+ * UIProcess/Network/NetworkProcessProxy.messages.in:
+ * UIProcess/Notifications/WebNotificationManagerProxy.messages.in:
+ * UIProcess/Plugins/PluginProcessProxy.messages.in:
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.messages.in:
+ * UIProcess/WebApplicationCacheManagerProxy.messages.in:
+ * UIProcess/WebContext.messages.in:
+ * UIProcess/WebCookieManagerProxy.messages.in:
+ * UIProcess/WebDatabaseManagerProxy.messages.in:
+ * UIProcess/WebFullScreenManagerProxy.messages.in:
+ * UIProcess/WebGeolocationManagerProxy.messages.in:
+ * UIProcess/WebIconDatabase.messages.in:
+ * UIProcess/WebInspectorProxy.messages.in:
+ * UIProcess/WebKeyValueStorageManagerProxy.messages.in:
+ * UIProcess/WebMediaCacheManagerProxy.messages.in:
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebProcessProxy.messages.in:
+ * UIProcess/WebResourceCacheManagerProxy.messages.in:
+ * UIProcess/mac/RemoteLayerTreeHost.messages.in:
+ * UIProcess/mac/SecItemShimProxy.messages.in:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in:
+ * WebProcess/Authentication/AuthenticationManager.h:
+ * WebProcess/Authentication/AuthenticationManager.messages.in:
+ * WebProcess/Cookies/WebCookieManager.messages.in:
+ * WebProcess/FullScreen/WebFullScreenManager.messages.in:
+ * WebProcess/Geolocation/WebGeolocationManager.messages.in:
+ * WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in:
+ * WebProcess/MediaCache/WebMediaCacheManager.messages.in:
+ * WebProcess/Network/NetworkProcessConnection.messages.in:
+ * WebProcess/Network/WebResourceLoader.messages.in:
+ * WebProcess/Notifications/WebNotificationManager.messages.in:
+ * WebProcess/Plugins/PluginProcessConnection.messages.in:
+ * WebProcess/Plugins/PluginProxy.messages.in:
+ * WebProcess/ResourceCache/WebResourceCacheManager.messages.in:
+ * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
+ * WebProcess/WebPage/DrawingArea.messages.in:
+ * WebProcess/WebPage/EventDispatcher.messages.in:
+ * WebProcess/WebPage/WebInspector.messages.in:
+ * WebProcess/WebPage/WebPage.messages.in:
+ * WebProcess/WebPage/WebPageGroupProxy.messages.in:
+ * WebProcess/WebProcess.messages.in:
+
+2013-01-23 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: remove CoordinatedLayerInfo::encode/decode.
+ https://bugs.webkit.org/show_bug.cgi?id=107644
+
+ Reviewed by Anders Carlsson.
+
+ We want to remove the dependency on CoreIPC from CoordinatedLayerInfo because we
+ will extract Coordinated Graphics from WK2.
+
+ * CMakeLists.txt:
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::::encode):
+ (CoreIPC):
+ (CoreIPC::::decode):
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
+ (WebKit):
+ * Shared/CoordinatedGraphics/CoordinatedLayerInfo.cpp: Removed.
+ * Shared/CoordinatedGraphics/CoordinatedLayerInfo.h:
+ * Target.pri:
+
+2013-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [WK2] Replace some internal API usage in EwkView with C API
+ https://bugs.webkit.org/show_bug.cgi?id=107652
+
+ Reviewed by Benjamin Poulain.
+
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_url_set):
+ (ewk_view_reload):
+ (ewk_view_reload_bypass_cache):
+ (ewk_view_stop):
+ (ewk_view_load_progress_get):
+ (ewk_view_scale_set):
+ (ewk_view_scale_get):
+ (ewk_view_device_pixel_ratio_get):
+ (ewk_view_back):
+ (ewk_view_forward):
+ (ewk_view_back_possible):
+ (ewk_view_forward_possible):
+ (ewk_view_html_string_load):
+ (ewk_view_text_find):
+ (ewk_view_text_find_highlight_clear):
+ (ewk_view_text_matches_count):
+ (ewk_view_inspector_show):
+ (ewk_view_inspector_close):
+
+2013-01-23 Alexey Proskuryakov <ap@apple.com>
+
+ Build fix.
+
+ * Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::sendSyncMessage):
+ Copy/paste trouble fix.
+
+2013-01-23 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13064414> REGRESSION(r139514): didFailToSendSyncMessage is not called by Connection
+ https://bugs.webkit.org/show_bug.cgi?id=107715
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendSyncMessage):
+ (CoreIPC::Connection::sendSyncMessageFromSecondaryThread):
+ Correcting a misapplied edit - didFailToSendSyncMessage should be kept in main
+ thread message sending, not in secondary thread.
+
+2013-01-23 Brady Eidson <beidson@apple.com>
+
+ Recursion handling cancelled authentication challenges in NetworkProcess
+ <rdar://problem/13024541> and https://bugs.webkit.org/show_bug.cgi?id=107702
+
+ Reviewed by Alexey Proskuryakov.
+
+ This turned in to both a bug fix with authentication and a minimal refactoring of NetworkResourceLoader.
+
+ - Rename ::stop to ::resourceHandleStopped
+ - Move all cleanup code to ::resourceHandleStopped
+ - Schedule a resourceHandleStopped call when an authentication cancellation occurs
+ - Tell the WebResourceLoader to cancel when an authentication cancellation occurs
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::~NetworkResourceLoader):
+ (WebKit::NetworkResourceLoader::start):
+ (WebKit::NetworkResourceLoader::performStops):
+ (WebKit::NetworkResourceLoader::resourceHandleStopped):
+ (WebKit::NetworkResourceLoader::didFail):
+ (WebKit::NetworkResourceLoader::receivedAuthenticationCancellation):
+ * NetworkProcess/NetworkResourceLoader.h:
+
+ * WebProcess/Network/WebResourceLoader.cpp:
+ (WebKit::WebResourceLoader::cancelResourceLoader):
+ * WebProcess/Network/WebResourceLoader.h:
+ * WebProcess/Network/WebResourceLoader.messages.in:
+
+2013-01-23 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Use C API inside ewk_cookie_manager
+ https://bugs.webkit.org/show_bug.cgi?id=107661
+
+ Reviewed by Alexey Proskuryakov.
+
+ Use C API inside ewk_cookie_manager instead of
+ accessing C++ classes directly and violating
+ layering.
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/C/soup/WKCookieManagerSoup.cpp: Added.
+ (toSoupCookiePersistentStorageType):
+ (WKCookieManagerSetCookiePersistentStorage): Add C API for setting
+ the persistent storage path and type when using libsoup.
+ * UIProcess/API/C/soup/WKCookieManagerSoup.h: Added.
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::cookieManager):
+ * UIProcess/API/efl/ewk_cookie_manager.cpp:
+ (EwkCookieManager::EwkCookieManager):
+ (EwkCookieManager::~EwkCookieManager):
+ (EwkCookieManager::setPersistentStorage):
+ (EwkCookieManager::setHTTPAcceptPolicy):
+ (EwkCookieManager::clearHostnameCookies):
+ (EwkCookieManager::clearAllCookies):
+ (EwkCookieManager::watchChanges):
+ (EwkCookieManager::getHostNamesWithCookies):
+ (EwkCookieManager::getHTTPAcceptPolicy):
+ (ewk_cookie_manager_persistent_storage_set):
+ (ewk_cookie_manager_hostname_cookies_clear):
+ * UIProcess/API/efl/ewk_cookie_manager_private.h:
+ (EwkCookieManager::create):
+ (EwkCookieManager):
+
+2013-01-22 Anders Carlsson <andersca@apple.com>
+
+ Use a platforom strategy for local storage
+ https://bugs.webkit.org/show_bug.cgi?id=107600
+
+ Reviewed by Andreas Kling.
+
+ Update for new storage strategy.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::createStorageStrategy):
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+ (WebPlatformStrategies):
+
+2013-01-21 Kentaro Hara <haraken@chromium.org>
+
+ Implement UIEvent constructor
+ https://bugs.webkit.org/show_bug.cgi?id=107430
+
+ Reviewed by Adam Barth.
+
+ Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
+
+ UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
+ which is enabled on Safari and Chromium for now.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-22 Alexey Proskuryakov <ap@apple.com>
+
+ Move sandbox initialization to ChildProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107486
+
+ Reviewed by Sam Weinig.
+
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeSandbox): Removed. We no longer need this function
+ to be implemented in each process type.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::initializeSandbox): Removed a custom (and incomplete) implementation.
+ (WebKit::NetworkProcess::processUpdateSandboxInitializationParameters): Clear
+ sandbox profile path in parameters, telling ChildProcess to not enter a sandbox.
+
+ * PluginProcess/PluginProcess.h:
+ * PluginProcess/mac/PluginProcessMac.mm:
+ Added FIXMEs, saying that we should switch to ChildProcess implementation.
+
+ * Shared/ChildProcess.cpp: Dummy implementations for other platforms.
+
+ * Shared/ChildProcess.h: Added processUpdateSandboxInitializationParameters, which
+ child processes will override to change sandbox initialization parameters.
+
+ * Shared/SandboxInitializationParameters.h: Added.
+ * Shared/mac/SandboxInitialiationParametersMac.mm: Added.
+ Abstracts out sandbox parameter vector for coding safety. Encapsulates other
+ things that subclasses will want to do differently.
+
+ * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::initializeSandbox):
+ Added a shared implementation, based largely on WebProcess version.
+
+ * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm: Removed custom sandboxing code.
+
+ * WebKit2.xcodeproj/project.pbxproj: Added SandboxInitializationParameters files.
+
+ * WebProcess/WebProcess.cpp:
+ * WebProcess/WebProcess.h:
+ Updated dummy implementations to match ChildProcess.
+
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit): Moved sandboxing code to ChildProcess.
+ (WebKit::WebProcess::processUpdateSandboxInitializationParameters): Override
+ profile path, because default one doesn't work for WebProcessService.
+
+2013-01-22 Joseph Pecoraro <pecoraro@apple.com>
+
+ [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
+ https://bugs.webkit.org/show_bug.cgi?id=107230
+
+ Reviewed by David Kilzer.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-22 Joseph Pecoraro <pecoraro@apple.com>
+
+ Remove empty file WebPageProxyMessageKinds.h
+ https://bugs.webkit.org/show_bug.cgi?id=107335
+
+ Reviewed by Kentaro Hara.
+
+ * GNUmakefile.list.am:
+ * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Removed.
+
+2013-01-22 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Build PDFPlugin everywhere, enable at runtime
+ https://bugs.webkit.org/show_bug.cgi?id=107117
+
+ Reviewed by Alexey Proskuryakov.
+
+ Since PDFLayerController SPI is all forward-declared, the plugin should build
+ on all Mac platforms, and can be enabled at runtime.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-21 Dirk Schulze <dschulze@adobe.com>
+
+ Add build flag for Canvas's Path object (disabled by default)
+ https://bugs.webkit.org/show_bug.cgi?id=107473
+
+ Reviewed by Dean Jackson.
+
+ Add CANVAS_PATH build flag to build systems.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-21 Jinwoo Song <jinwoo7.song@samsung.com>
+
+ [EFL][WK2] Add APIs to set/get view source mode
+ https://bugs.webkit.org/show_bug.cgi?id=106633
+
+ Reviewed by Gyuyoung Kim.
+
+ Added APIs to set/get view source mode for enabling to load
+ the source code of the web page.
+
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_source_mode_set):
+ (ewk_view_source_mode_get):
+ * UIProcess/API/efl/ewk_view.h:
+ * UIProcess/API/efl/tests/test_ewk2_view.cpp:
+ (TEST_F):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::WebPageProxy):
+ (WebKit::WebPageProxy::setMainFrameInViewSourceMode):
+ * UIProcess/WebPageProxy.h:
+ (WebKit::WebPageProxy::mainFrameInViewSourceMode):
+ (WebPageProxy):
+
+2013-01-21 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
+
+ [EFL][WK2] Implement WebInspector::localizedStringsURL() on EFL
+ https://bugs.webkit.org/show_bug.cgi?id=107363
+
+ Reviewed by Benjamin Poulain.
+
+ Implement WebInspector::localizedStringsURL() method to return the
+ file URL of the localizedStrings.js.
+
+ This prevents printing warnings about "Localized string not found" in
+ the console and fixes Web inspector related failing tests on the bots.
+
+ * WebProcess/WebPage/efl/WebInspectorEfl.cpp:
+ (WebKit::WebInspector::localizedStringsURL):
+
+2013-01-21 Kiran Muppala <cmuppala@apple.com>
+
+ Enable process suppression by default on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=106804
+
+ Reviewed by Alexey Proskuryakov.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext): Change initialized value of
+ m_processSuppressionEnabled from false to true.
+ * UIProcess/mac/WebContextMac.mm:
+ (WebKit::WebContext::platformInitialize): Since process suppression
+ is no longer disabled on construction, do not disable it for global
+ child processes either. Instead enable occlusion notifications as
+ they are needed to trigger process suppression.
+
+2013-01-17 Andy Estes <aestes@apple.com>
+
+ Add a USE() macro for content filtering code
+ https://bugs.webkit.org/show_bug.cgi?id=107098
+
+ Reviewed by Mark Rowe.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
+
+2013-01-21 Anders Carlsson <andersca@apple.com>
+
+ Don't null out the IPC connection in ChildProcess:terminate
+ https://bugs.webkit.org/show_bug.cgi?id=107469
+ <rdar://problem/13015294>
+
+ Reviewed by Dan Bernstein.
+
+ We already invalidate the connection, and Connection::sendMessage checks if a connection
+ is valid and bails if it isn't, so the only thing that nulling out the connection here does
+ is that it would force us to add random connection null checks everywhere.
+
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::terminate):
+
+2013-01-21 Joone Hur <joone.hur@intel.com>
+
+ [EFL] API unit tests are running extremely slow on the bots
+ https://bugs.webkit.org/show_bug.cgi?id=104665
+
+ Reviewed by Gyuyoung Kim.
+
+ Clear HTTP cache files before running the unit tests, which prevents
+ performance degradation due to so many cache files.
+
+ * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
+ (EWK2UnitTest::EWK2UnitTestBase::SetUp):
+
+2013-01-21 Gustavo Noronha Silva <gns@gnome.org>
+
+ REGRESSION (r140285): GTK uses WKPageResourceLoadClient which was removed
+ https://bugs.webkit.org/show_bug.cgi?id=107421
+
+ Unreviewed buildfix.
+
+ * GNUmakefile.list.am:
+ * UIProcess/API/gtk/WebKitResourceLoadClient.cpp: Removed.
+ * UIProcess/API/gtk/WebKitResourceLoadClient.h: Removed.
+ * UIProcess/API/gtk/WebKitWebView.cpp: No longer attach unexisting ResourceLoadClient.
+ (webkitWebViewConstructed):
+
+2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r139781.
+ http://trac.webkit.org/changeset/139781
+ https://bugs.webkit.org/show_bug.cgi?id=107443
+
+ This patch seems to cause flakiness on Qt (Requested by chris-
+ qBT_work on #webkit).
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::forceRepaintAsync):
+
+2013-01-21 Thiago Marcos P. Santos <thiago.santos@intel.com>
+
+ REGRESSION (r140285): EFL uses WKPageResourceLoadClient which was removed
+ https://bugs.webkit.org/show_bug.cgi?id=107417
+
+ Reviewed by Gyuyoung Kim.
+
+ We had no choice but remove the ResourceLoadClientEfl after r140285
+ and thus our public API signals depending on it. The test_ewk2_auth_request
+ unit test was skipped because it depends these signals and will be fixed in a
+ different patch.
+
+ * PlatformEfl.cmake:
+ * UIProcess/API/efl/EWebKit2.h:
+ * UIProcess/API/efl/EwkViewCallbacks.h:
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::EwkViewImpl):
+ * UIProcess/API/efl/EwkViewImpl.h:
+ (WebKit):
+ (EwkViewImpl):
+ * UIProcess/API/efl/ewk_resource.cpp: Removed.
+ * UIProcess/API/efl/ewk_resource.h: Removed.
+ * UIProcess/API/efl/ewk_resource_private.h: Removed.
+ * UIProcess/API/efl/ewk_view.cpp:
+ * UIProcess/API/efl/ewk_view.h:
+ * UIProcess/efl/ResourceLoadClientEfl.cpp: Removed.
+ * UIProcess/efl/ResourceLoadClientEfl.h: Removed.
+
+2013-01-20 Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
+
+ Remove support getting per-resource callbacks in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107405
+
+ Reviewed by Sam Weinig.
+
+ EFL, GTK and Qt WebKit2 build fixes after r140285.
+ Remove from build WebResourceLoadClient.{cpp,h} deleted by r140285.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+
+2013-01-20 Sam Weinig <sam@webkit.org>
+
+ Remove support getting per-resource callbacks in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107405
+
+ Reviewed by Anders Carlsson.
+
+ Removes support for the WKPageResourceLoadClient. Access to per-resource
+ callbacks are still available in the bundle, and via the WebInspector.
+
+ * UIProcess/API/C/WKPage.cpp:
+ * UIProcess/API/C/WKPage.h:
+ * UIProcess/WebPageProxy.cpp:
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.messages.in:
+ Stop handling per-resource messages and forwarding them to the API.
+
+ * UIProcess/WebResourceLoadClient.cpp: Removed.
+ * UIProcess/WebResourceLoadClient.h: Removed.
+ * WebKit2.xcodeproj/project.pbxproj:
+ Remove the files.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::assignIdentifierToInitialRequest):
+ (WebKit::WebFrameLoaderClient::dispatchWillSendRequest):
+ (WebKit::WebFrameLoaderClient::dispatchDidReceiveResponse):
+ (WebKit::WebFrameLoaderClient::dispatchDidReceiveContentLength):
+ (WebKit::WebFrameLoaderClient::dispatchDidFinishLoading):
+ (WebKit::WebFrameLoaderClient::dispatchDidFailLoading):
+ Stop sending per-resource messages to the UIProcess.
+
+2013-01-20 Gustavo Noronha Silva <gns@gnome.org>
+
+ Unreviewed. Simple indentation fix.
+
+ * GNUmakefile.am:
+
+2013-01-20 Alexey Proskuryakov <ap@apple.com>
+
+ Remove obsolete plug-in sandboxing code.
+ https://bugs.webkit.org/show_bug.cgi?id=107362
+
+ Reviewed by Darin Adler.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * DerivedSources.make:
+ * PluginProcess/mac/com.apple.WebKit.PluginProcess.sb.in: Removed.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::initializeSandbox): Fixed a memory leak in code that stays.
+
+ * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
+ (WebKit::NPN_GetValue):
+
+ * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.h:
+ * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm:
+ Removed API related parts. Remaining code will move to a better place in a follow-up
+ patch, just keeping it here for easier reviewing.
+ (enterSandbox): Removed no longer used arguments.
+
+2013-01-17 Sam Weinig <sam@webkit.org>
+
+ Don't initialize AppKit for processes that don't use it
+ https://bugs.webkit.org/show_bug.cgi?id=107216
+
+ Reviewed by Alexey Proskuryakov.
+
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMainDelegate::doPreInitializationWork):
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebKit::WebProcessMainDelegate::doPreInitializationWork):
+ Move AppKit initialization to the two places it is used, the WebProcessMain and the PluginProcessMain.
+
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::initialize):
+ Remove redundant call to InitializeWebKit2().
+
+ * Shared/mac/ChildProcessMain.h:
+ (WebKit::ChildProcessMain):
+ Remove initialization of AppKit now that the delegate does it if necessary,
+ and move InitializeWebKit2() to after delegate.doPreInitializationWork(), so
+ the delegate has a chance to set things up it, in this case, calling
+ RunLoop::setUseApplicationRunLoopOnMainRunLoop if needed.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeProcess):
+ Remove now redundant call to RunLoop::setUseApplicationRunLoopOnMainRunLoop().
+
+ * WebProcess/mac/WebProcessServiceEntryPoints.mm:
+ (WebKit::WebProcessServiceEventHandler):
+ (webProcessServiceMain):
+ (initializeWebProcessForWebProcessServiceForWebKitDevelopment):
+ Call WebCore::RunLoop::setUseApplicationRunLoopOnMainRunLoop() and make call to InitializeWebKit2()
+ more consistent.
+
+2013-01-18 Tim Horton <timothy_horton@apple.com>
+
+ [wk2] Intrinsic content size should report a flexible width if the content is not wider than the minimum layout width
+ https://bugs.webkit.org/show_bug.cgi?id=107334
+ <rdar://problem/12960009>
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView _setIntrinsicContentSize:]): If the content is laid-out at or below the minimum layout width, it's flexible; otherwise, we need to inform autolayout that we require more space via our intrinsic content size.
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): Allow auto-sizing to expand its width beyond the minimum if needed.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setMinimumLayoutWidth): Allow auto-sizing to expand its width beyond the minimum if needed.
+
+2013-01-18 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13042826> REGRESSION (r139985): Full Screen Youtube loses keyboard and mouse control
+ https://bugs.webkit.org/show_bug.cgi?id=107191
+
+ Reviewed by Darin Adler.
+
+ Moved initialization from platformInitializePluginProcess to platformInitializeProcess,
+ because the former is called too late. In r139985, I used a correct location for
+ WebProcess, but not for PluginProcess.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializeProcess):
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+
+2013-01-18 Brady Eidson <beidson@apple.com>
+
+ Rework NetworkProcess resource load identifiers.
+ <rdar://problem/12934449> and https://bugs.webkit.org/show_bug.cgi?id=107192
+
+ Reviewed by Alexey Proskuryakov.
+
+ Having the NetworkProcess vend out identifiers to WebProcesses was a bad idea.
+ This patch reverts that so that WebProcesses are in control of their own unique identifiers.
+
+ The NetworkProcess doesn't need identifiers at all.
+ It can represent outstanding loads with the loaders themselves.
+
+ This patch adds a "SchedulableLoader" base class for normal and synchronous loaders.
+ It reworks each use of identifiers into using SchedulableLoaders instead.
+
+ This also gave an opportunity to move the serving of pending requests for a host into the
+ HostRecord itself which cleans certain things up nicely.
+
+ Change HostRecord to have queues of SchedulableLoaders instead of identifiers.
+ Make HostRecord responsible for actually starting the loaders in its queues:
+ * NetworkProcess/HostRecord.cpp:
+ (WebKit::HostRecord::~HostRecord):
+ (WebKit::HostRecord::scheduleResourceLoader):
+ (WebKit::HostRecord::addLoaderInProgress):
+ (WebKit::HostRecord::removeLoader):
+ (WebKit::HostRecord::hasRequests):
+ (WebKit::HostRecord::servePendingRequestsForQueue):
+ (WebKit::HostRecord::servePendingRequests):
+ (WebKit::HostRecord::limitsRequests):
+ * NetworkProcess/HostRecord.h:
+ (WebKit::HostRecord::create): HostRecord is now also RefCounted. new and delete are so 2004.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad): Create the loader then schedule
+ it with the scheduler, instead of having the scheduler create it.
+ (WebKit::NetworkConnectionToWebProcess::performSynchronousLoad):
+ (WebKit::NetworkConnectionToWebProcess::removeLoadIdentifier):
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+
+ Remove maps and sets of identifiers, replacing them with sets of SchedulableLoaders where needed.
+ Rely on HostRecords to actually manage sets of SchedulableLoaders.
+ Rely on HostRecord to do the actual serving of its pending requests:
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::NetworkResourceLoadScheduler):
+ (WebKit::NetworkResourceLoadScheduler::scheduleLoader):
+ (WebKit::NetworkResourceLoadScheduler::hostForURL):
+ (WebKit::NetworkResourceLoadScheduler::removeLoader):
+ (WebKit::NetworkResourceLoadScheduler::receivedRedirect):
+ (WebKit::NetworkResourceLoadScheduler::servePendingRequests):
+ (WebKit::NetworkResourceLoadScheduler::removeScheduledLoaders):
+ (WebKit::NetworkResourceLoadScheduler::scheduleRemoveLoader):
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+
+ A new base class for all loaders that the scheduler and HostRecords might need to know about:
+ * NetworkProcess/SchedulableLoader.cpp:
+ (WebKit::SchedulableLoader::SchedulableLoader):
+ (WebKit::SchedulableLoader::~SchedulableLoader):
+ * NetworkProcess/SchedulableLoader.h:
+ (WebKit::SchedulableLoader::loadParameters):
+ (WebKit::SchedulableLoader::connectionToWebProcess):
+ (WebKit::SchedulableLoader::isSynchronous):
+ (WebKit::SchedulableLoader::setHostRecord):
+ (WebKit::SchedulableLoader::hostRecord):
+
+ Change to inherit from SchedulableLoader, removing some of the duplicated data and methods:
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::NetworkResourceLoader):
+ (WebKit::NetworkResourceLoader::connection):
+ (WebKit::NetworkResourceLoader::destinationID):
+ (WebKit::NetworkResourceLoader::start):
+ (WebKit::NetworkResourceLoader::stop):
+ (WebKit::NetworkResourceLoader::didReceiveResponse):
+ (WebKit::NetworkResourceLoader::didFail):
+ (WebKit::NetworkResourceLoader::willSendRequest):
+ (WebKit::NetworkResourceLoader::shouldUseCredentialStorage):
+ * NetworkProcess/NetworkResourceLoader.h:
+ (WebKit::NetworkResourceLoader::create):
+
+ Change to inherit from SchedulableLoader, removing some of the duplicated data and methods:
+ * NetworkProcess/SyncNetworkResourceLoader.cpp:
+ (WebKit::SyncNetworkResourceLoader::SyncNetworkResourceLoader):
+ (WebKit::SyncNetworkResourceLoader::start):
+ * NetworkProcess/SyncNetworkResourceLoader.h:
+ (WebKit::SyncNetworkResourceLoader::create):
+ (WebKit::SyncNetworkResourceLoader::isSynchronous):
+
+ Fold the WebProcess resource load identifier in with the load parameters:
+ * Shared/Network/NetworkResourceLoadParameters.cpp:
+ (WebKit::NetworkResourceLoadParameters::NetworkResourceLoadParameters):
+ (WebKit::NetworkResourceLoadParameters::encode):
+ (WebKit::NetworkResourceLoadParameters::decode):
+ * Shared/Network/NetworkResourceLoadParameters.h:
+ (WebKit::NetworkResourceLoadParameters::identifier):
+
+ The identifier is preset in the WebProcess and doesn't come from the NetworkProcess,
+ so the message to schedule a load can now be asynchronous:
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::scheduleLoad):
+
+ Update to include a WebProcess generated identifier along with synchronous loads:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::loadResourceSynchronously):
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-18 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: CoordinatedTile::updateBackBuffer() returns a dirty rect.
+ https://bugs.webkit.org/show_bug.cgi?id=107196
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Currently, CoordinatedTile::updateBackBuffer() always returns an empty vector.
+ This patch makes CoordinatedTile::updateBackBuffer() return a correct dirty rect.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp:
+ (WebKit::CoordinatedTile::updateBackBuffer):
+
+2013-01-17 Tim Horton <timothy_horton@apple.com>
+
+ [WK2] Minimum layout width auto-sizing should use FrameView::enableAutoSizeMode so that it can shrink the viewport
+ https://bugs.webkit.org/show_bug.cgi?id=107200
+ <rdar://problem/12849029>
+
+ Reviewed by Simon Fraser.
+
+ Make use of FrameView's auto-size mode to allow WKView's computed intrinsic content
+ size to shrink below the current viewport size.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setMinimumLayoutWidth): Forward minimumLayoutWidth changes to WebPage.
+ * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm:
+ (WebKit::TiledCoreAnimationDrawingAreaProxy::sendUpdateGeometry): Remove minimumLayoutWidth argument on updateGeometry.
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): Enable auto-size mode on the new FrameView if needed.
+ * WebProcess/WebPage/DrawingArea.h:
+ (WebKit::DrawingArea::updateGeometry): Remove minimumLayoutWidth argument.
+ * WebProcess/WebPage/DrawingArea.messages.in: Remove minimumLayoutWidth argument on updateGeometry.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage): Initialize m_minimumLayoutWidth to 0.
+ (WebKit::WebPage::setMinimumLayoutWidth): Keep track of minimumLayoutWidth on WebPage. Update auto-sizing state if needed.
+ * WebProcess/WebPage/WebPage.h:
+ (WebKit::WebPage::minimumLayoutWidth):
+ * WebProcess/WebPage/WebPage.messages.in: Add SetMinimumLayoutWidth.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea): Remove storage for m_minimumLayoutWidth. We can get it from WebPage instead.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
+ (WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged): Grab minimumLayoutWidth from WebPage.
+ (WebKit::TiledCoreAnimationDrawingArea::updateGeometry): Don't setSize() if auto-sizing is enabled; FrameView will do the right thing.
+
+2013-01-17 Jon Lee <jonlee@apple.com>
+
+ Do not track user interaction for plugins that are not snapshotted
+ https://bugs.webkit.org/show_bug.cgi?id=107211
+ <rdar://problem/12967277>
+
+ Reviewed by Dean Jackson.
+
+ When the user interacts with a snapshotted plug-in, we extend that plug-in origin's
+ expiration date. However, plug-ins may not be snapshotted for other reasons than the
+ user's initial opt-in. In this case, that plug-in's origin might be not be in the cached
+ table. This is an edge case that was not initially considered.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::plugInDidReceiveUserInteraction): Convert the assertion to an if
+ check, and return early if the entry is not found in the cache table.
+
+2013-01-17 Alexey Proskuryakov <ap@apple.com>
+
+ REGRESSION (r139516): NetworkResourceLoadScheduler::receivedRedirect is not called.
+
+ Rubber-stamped by Brady Eidson.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::willSendRequest): Reverted a small part of r139516.
+
+2013-01-17 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Remove redundant behaviors in LayerTreeRenderer.
+ https://bugs.webkit.org/show_bug.cgi?id=107084
+
+ Reviewed by Noam Rosenthal.
+
+ There are two changes.
+ 1. It is redundant to call GraphicsLayer::removeFromParent() or
+ GraphicsLayer::removeAllChildren() before deleting GraphicsLayer, because the
+ destructor of GraphicsLayerTextureMapper removes a parent and all children.
+ 2. LayerTreeRenderer::setRootLayerID() does not need to remove all children of
+ rootLayer because this method can be called only once.
+
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::deleteLayer):
+ (WebKit::LayerTreeRenderer::setRootLayerID):
+ (WebKit::LayerTreeRenderer::purgeGLResources):
+
+2013-01-17 Timothy Hatcher <timothy@apple.com>
+
+ Make logging console messages to STDOUT work in WebKit2 via a new setting.
+
+ https://bugs.webkit.org/show_bug.cgi?id=107157
+
+ Reviewed by Joseph Pecoraro.
+
+ * Shared/WebPreferencesStore.h:
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetLogsPageMessagesToSystemConsoleEnabled): Added.
+ (WKPreferencesGetLogsPageMessagesToSystemConsoleEnabled): Added.
+ * UIProcess/API/C/WKPreferencesPrivate.h:
+ * UIProcess/WebInspectorProxy.cpp:
+ (WebKit::createInspectorPageGroup): Enable logging in debug builds.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::updatePreferences): Set new setting in WebCore.
+
+2013-01-17 Brady Eidson <beidson@apple.com>
+
+ Each NetworkConnectionToWebProcess should keep its own map of NetworkResourceLoaders
+ https://bugs.webkit.org/show_bug.cgi?id=107166
+
+ Reviewed by Alexey Proskuryakov.
+
+ NetworkConnectionToWebProcess now keeps its own id->loader map so it can directly address them as needed:
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::~NetworkConnectionToWebProcess):
+ (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
+ (WebKit::NetworkConnectionToWebProcess::didClose):
+ (WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad):
+ (WebKit::NetworkConnectionToWebProcess::removeLoadIdentifier):
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+
+ NetworkResourceLoadScheduler no longer keeps an identifier -> loader map:
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::scheduleResourceLoad):
+ (WebKit::NetworkResourceLoadScheduler::removeLoadIdentifier):
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+
+ There is no longer such a thing as NetworkConnectionToWebProcessObserver:
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::NetworkResourceLoader):
+ (WebKit::NetworkResourceLoader::~NetworkResourceLoader):
+ (WebKit::NetworkResourceLoader::connectionToWebProcessDidClose):
+ * NetworkProcess/NetworkResourceLoader.h:
+
+2013-01-17 Tim Horton <timothy_horton@apple.com>
+
+ Remove an incorrect ASSERT() after r140002.
+
+ Reviewed by Simon Fraser.
+
+ setRootCompositingLayer(null) is valid now.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):
+
+2013-01-17 Poul Sysolyatin <psytonx@gmail.com>
+
+ 32-bit build for Qt5 on Mac OS fails.
+ https://bugs.webkit.org/show_bug.cgi?id=107094
+
+ We need to define NS_BUILD_32_LIKE_64 for 32-bit build for Mac OS.
+ Fixed 32-bit build detection for support Qt5.
+
+ Reviewed by Benjamin Poulain.
+
+ * Target.pri:
+
+2013-01-17 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] Build with LevelDB when IndexedDB is enabled
+ https://bugs.webkit.org/show_bug.cgi?id=103220
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
+ library to the shared library link phase.
+
+2013-01-17 Tim Horton <timothy_horton@apple.com>
+
+ [WK2] TiledCoreAnimationDrawingArea should unparent its layer tree when requested
+ https://bugs.webkit.org/show_bug.cgi?id=107108
+ <rdar://problem/12549879>
+
+ Reviewed by Darin Adler and Simon Fraser.
+
+ Currently, TiledCoreAnimationDrawingArea returns early if asked to unparent
+ its layer tree, to prevent flashing when switching tabs. We have new plans
+ to alleviate the flashing, but first, we should reinstate unparenting the root layer,
+ to allow underlying libraries to better manage the memory backing all compositing layers.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):
+
+2013-01-17 Tim Horton <timothy_horton@apple.com>
+
+ Fix the Mac build sans ENABLE(CSS_FILTERS)
+
+ Reviewed by Darin Adler.
+
+ Include FloatRect in RemoteGraphicsLayer.mm; it's included by chance currently,
+ via something that must be compiled out without CSS_FILTERS (or SVG, or shaders, or something).
+
+ * WebProcess/WebPage/mac/RemoteGraphicsLayer.mm:
+
+2013-01-16 Alexey Proskuryakov <ap@apple.com>
+
+ Don't use NSApplication run loop in NetworkProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107061
+
+ Reviewed by Anders Carlsson.
+
+ Only WebProcess and PluginProcess should use Cocoa APIs that require the run loop.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeProcess):
+
+2013-01-16 Alexey Proskuryakov <ap@apple.com>
+
+ Update sandbox rules after r128003
+ https://bugs.webkit.org/show_bug.cgi?id=106840
+
+ Reviewed by Darin Adler.
+
+ * WebProcess/com.apple.WebProcess.sb.in: Additional Lion only fixes.
+
+2013-01-16 Sam Weinig <sam@webkit.org>
+
+ Make debug-safari --target-web-process work again
+ https://bugs.webkit.org/show_bug.cgi?id=107088
+
+ Reviewed by Anders Carlsson.
+
+ --target-web-process was made harder to use during recent refactoring
+ by requiring users to pass a -ui-process-name parameter in addition to
+ the -client-executable. Instead, we should conjure up that name from
+ the information we already have at our disposal.
+
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebKit::WebProcessMainDelegate::getConnectionIdentifier):
+ Simplify by making the non-client-executable path use the base
+ class implementation.
+
+ (WebKit::WebProcessMainDelegate::getClientIdentifier):
+ Ditto.
+
+ (WebKit::WebProcessMainDelegate::getClientProcessName):
+ Added. Create a client process name (its actually not too important what it is, as it
+ is only used to show a name in Activity Monitor) from the passed in client executable
+ path.
+
+2013-01-16 Sam Weinig <sam@webkit.org>
+
+ Fix crashes on the bots.
+
+ The WebKit LoaderStrategy for loading synchronously was only implemented
+ for the case where you have a network process. When you don't, we should
+ be using the base implementation.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::loadResourceSynchronously):
+
+2013-01-16 Sam Weinig <sam@webkit.org>
+
+ Update Owners file.
+
+ * Owners:
+
+2013-01-16 Sam Weinig <sam@webkit.org>
+
+ Remove unused AddLoadInProgress message
+ https://bugs.webkit.org/show_bug.cgi?id=107077
+
+ Reviewed by Dan Bernstein.
+
+ Dead code is dead.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+
+2013-01-16 Anders Carlsson <andersca@apple.com>
+
+ Fix crash when destroying a plug-in with pending URL requests
+ https://bugs.webkit.org/show_bug.cgi?id=107075
+ <rdar://problem/12513871>
+
+ Reviewed by Sam Weinig.
+
+ In PluginView::destroyPluginAndReset, make sure to cancel any outstanding URL requests since the PluginView
+ object will stay around and would otherwise start loading URLs from stopped plug-ins.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::Stream::start):
+ Assert that the plug-in is alive.
+
+ (WebKit::PluginView::destroyPluginAndReset):
+ Empty out the pending URL requests vector and stop the timer.
+
+2013-01-16 Jaehun Lim <ljaehun.lim@samsung.com>
+
+ [EFL][WK2] PageUIClientEfl should keep in sync with WKPageUIClient
+ https://bugs.webkit.org/show_bug.cgi?id=107060
+
+ Reviewed by Benjamin Poulain.
+
+ Rearrange the order of functions in PageUIClientEfl.
+ Rename closePage() to close().
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::close):
+ * UIProcess/API/efl/EwkViewImpl.h:
+ (EwkViewImpl):
+ * UIProcess/efl/PageUIClientEfl.cpp:
+ (WebKit::PageUIClientEfl::PageUIClientEfl):
+ (WebKit::PageUIClientEfl::close):
+ (WebKit::PageUIClientEfl::takeFocus):
+ (WebKit::PageUIClientEfl::focus):
+ (WebKit::PageUIClientEfl::unfocus):
+ (WebKit::PageUIClientEfl::getWindowFrame):
+ (WebKit::PageUIClientEfl::setWindowFrame):
+ (WebKit::PageUIClientEfl::createNewPage):
+ (WebKit::PageUIClientEfl::showColorPicker):
+ (WebKit::PageUIClientEfl::hideColorPicker):
+ * UIProcess/efl/PageUIClientEfl.h:
+ (PageUIClientEfl):
+
+2013-01-16 Brady Eidson <beidson@apple.com>
+
+ Synchronous XMLHTTPRequests need to go to the NetworkProcess.
+ <rdar://problem/12951765> and https://bugs.webkit.org/show_bug.cgi?id=106826
+
+ Reviewed by Sam Weinig and Alexey Proskuryakov.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::loadResourceSynchronously): Entry point for WebCore to get
+ synchronous requests to the NetworkProcess.
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ (WebKit::NetworkConnectionToWebProcess::performSynchronousLoad): Create a SyncNetworkResourceLoader
+ and schedule it.
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::scheduleSyncNetworkResourceLoader):
+ (WebKit::NetworkResourceLoadScheduler::servePendingRequestsForHost): Serve synchronous loaders
+ before async loaders.
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+
+ A class that encapsulates a synchronous load request and the CoreIPC reply to be made once it is complete:
+ * NetworkProcess/SyncNetworkResourceLoader.cpp: Added.
+ (WebKit::SyncNetworkResourceLoader::SyncNetworkResourceLoader):
+ (WebKit::SyncNetworkResourceLoader::start):
+ * NetworkProcess/SyncNetworkResourceLoader.h: Copied from Source/WebKit2/NetworkProcess/HostRecord.h.
+ (WebKit::SyncNetworkResourceLoader::create):
+ (WebKit::SyncNetworkResourceLoader::setIdentifier):
+ (WebKit::SyncNetworkResourceLoader::identifier):
+ (WebKit::SyncNetworkResourceLoader::loadParameters):
+
+ Add a second queue of sync loaders:
+ * NetworkProcess/HostRecord.h:
+ (WebKit::HostRecord::syncLoadersPending):
+
+ Add comments to explicitly spell out the current reliance on some messages that are currently synchronous:
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::willSendRequest):
+ (WebKit::NetworkResourceLoader::canAuthenticateAgainstProtectionSpace):
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-16 Alexey Proskuryakov <ap@apple.com>
+
+ WebProcess should not access ~/Library/Caches/com.apple.WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=107055
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/com.apple.WebProcess.sb.in: Remove the rule allowing access.
+
+ * WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformInitializeWebProcess):
+ Use a correct cache directory even if NetworkProcess is in use. Not all loading has
+ moved to this process yet.
+
+2013-01-16 Anders Carlsson <andersca@apple.com>
+
+ Remove CoreIPCMessageKinds.h
+ https://bugs.webkit.org/show_bug.cgi?id=107048
+
+ Reviewed by Beth Dakin.
+
+ Use named IPC messages instead.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendSyncReply):
+ (CoreIPC::Connection::processIncomingMessage):
+ (CoreIPC::Connection::dispatchSyncMessage):
+ * Platform/CoreIPC/CoreIPCMessageKinds.h: Removed.
+ * Platform/CoreIPC/MessageID.h:
+ (MessageID):
+ (CoreIPC::MessageID::stripMostSignificantBit):
+ (CoreIPC::MessageID::operator==):
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::open):
+ (CoreIPC::Connection::receiveSourceEventHandler):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-15 Jer Noble <jer.noble@apple.com>
+
+ Add a Setting to disable QTKit media engine.
+ https://bugs.webkit.org/show_bug.cgi?id=106972
+
+ Reviewed by Eric Carlson.
+
+ Add a WebKit2 API to access WebCore QTKitEnabled settings.
+
+ * Shared/WebPreferencesStore.h:
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetQTKitEnabled): Pass through to WebCore.
+ (WKPreferencesGetQTKitEnabled): Ditto.
+ * UIProcess/API/C/WKPreferences.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::updatePreferences): Synchronize WebKit2/WebCore settings.
+
+2013-01-16 Kiran Muppala <cmuppala@apple.com>
+
+ Groundwork to enable process suppression by default on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=106513
+
+ Reviewed by Alexey Proskuryakov.
+
+ Process suppression has so far been controlled by a user default and
+ disabled by default. This patch provides the groundwork to enable it by
+ default and adds a private API to enable/disable it on a per-context
+ basis.
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::platformInitialize): Add comment about
+ initilization of application occlusion state.
+ * UIProcess/API/C/mac/WKContextPrivateMac.cpp: Added.
+ (WKContextGetProcessSuppressionEnabled):
+ (WKContextSetProcessSuppressionEnabled):
+ Add private API to enable/disable process suppression on a per-context
+ basis.
+ * UIProcess/API/C/mac/WKContextPrivateMac.h: Added.
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didFinishLaunching): Check if owning
+ context has process suppression enabled before updating application
+ occlusion state.
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didFinishLaunching): Ditto.
+ * UIProcess/Plugins/PluginProcessProxy.cpp:
+ (WebKit::PluginProcessProxy::didFinishLaunching): Check if
+ process suppression is enabled for global child processes before
+ updating application occlusion state.
+ * UIProcess/SharedWorkers/SharedWorkerProcessProxy.cpp:
+ (WebKit::SharedWorkerProcessProxy::didFinishLaunching): Ditto.
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::create): Remove call to
+ initializeProcessSuppressionSupport, since platformInitialize has been
+ modified to perform initialization.
+ (WebKit::WebContext::WebContext): Initialize new member variable
+ m_processSuppressionEnabled to false.
+ * UIProcess/WebContext.h:
+ (WebKit::WebContext::processSuppressionEnabled): Remove "Support"
+ from the method name.
+ * UIProcess/mac/WebContextMac.mm:
+ (WebKit::updateGlobalChildProcessesApplicationOcclusionState):
+ (WebKit::applicationOcclusionStateChanged): Update the application
+ occlusion state of child processes having process suppresion enabled.
+ (WebKit::applicationBecameVisible):
+ (WebKit::applicationBecameOccluded):
+ Simplify by moving code to applicationOcclusionStateChanged.
+ (WebKit::registerOcclusionNotificationHandlers): Fix typos.
+ (WebKit::unregisterOcclusionNotificationHandlers): Add
+ method to unregister occlusion notification handlers when no context
+ has process suppression enabled.
+ (WebKit::enableOcclusionNotifications):
+ (WebKit::disableOcclusionNotifications):
+ (WebKit::enableProcessSuppressionForGlobalChildProcesses):
+ (WebKit::disableProcessSuppressionForGlobalChildProcesses):
+ (WebKit::processSuppressionIsEnabledForAnyContext):
+ (WebKit::processSuppressionIsEnabledForAllContexts):
+ (WebKit::WebContext::platformInitialize): Disable process suppression
+ for global child processes since process suppression is disabled for a
+ context on construction.
+ (WebKit::WebContext::setProcessSuppressionEnabled):
+ (WebKit::WebContext::updateChildProcessesApplicationOcclusionState):
+ (WebKit::WebContext::applicationIsOccluded):
+ (WebKit::WebContext::processSuppressionEnabledForGlobalChildProcesses):
+ (WebKit::WebContext::processSuppressionEnabledChanged): Update child
+ processes application occlusion state, enable/disable occlusion
+ notifications and enable/disable process suppression for global child
+ processes.
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-15 Anders Carlsson <andersca@apple.com>
+
+ Merge LayerTreeHostCA and LayerTreeHostMac
+ https://bugs.webkit.org/show_bug.cgi?id=106967
+
+ Reviewed by Sam Weinig.
+
+ There's no need to have a LayerTreeHostCA base class anymore, just merge it into LayerTreeHostMac.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebPage/ca/LayerTreeHostCA.cpp: Removed.
+ * WebProcess/WebPage/ca/LayerTreeHostCA.h: Removed.
+ * WebProcess/WebPage/mac/LayerTreeHostMac.h:
+ (LayerTreeHostMac):
+ * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
+ (WebKit::LayerTreeHostMac::LayerTreeHostMac):
+ (WebKit::LayerTreeHostMac::~LayerTreeHostMac):
+ (WebKit::LayerTreeHostMac::layerTreeContext):
+ (WebKit::LayerTreeHostMac::setShouldNotifyAfterNextScheduledLayerFlush):
+ (WebKit):
+ (WebKit::LayerTreeHostMac::setRootCompositingLayer):
+ (WebKit::LayerTreeHostMac::invalidate):
+ (WebKit::LayerTreeHostMac::setNonCompositedContentsNeedDisplay):
+ (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
+ (WebKit::LayerTreeHostMac::forceRepaint):
+ (WebKit::LayerTreeHostMac::sizeDidChange):
+ (WebKit::LayerTreeHostMac::deviceScaleFactorDidChange):
+ (WebKit::LayerTreeHostMac::didInstallPageOverlay):
+ (WebKit::LayerTreeHostMac::didUninstallPageOverlay):
+ (WebKit::LayerTreeHostMac::setPageOverlayNeedsDisplay):
+ (WebKit::LayerTreeHostMac::pauseRendering):
+ (WebKit::LayerTreeHostMac::resumeRendering):
+ (WebKit::LayerTreeHostMac::setLayerHostingMode):
+ (WebKit::LayerTreeHostMac::notifyAnimationStarted):
+ (WebKit::LayerTreeHostMac::notifyFlushRequired):
+ (WebKit::LayerTreeHostMac::paintContents):
+ (WebKit::LayerTreeHostMac::deviceScaleFactor):
+ (WebKit::LayerTreeHostMac::flushLayers):
+ (WebKit::LayerTreeHostMac::initialize):
+ (WebKit::LayerTreeHostMac::performScheduledLayerFlush):
+ (WebKit::LayerTreeHostMac::flushPendingLayerChanges):
+ (WebKit::LayerTreeHostMac::createPageOverlayLayer):
+ (WebKit::LayerTreeHostMac::destroyPageOverlayLayer):
+
+2013-01-15 Tim Horton <timothy_horton@apple.com>
+
+ Clamp TileCache visibleRect to WKView's visibleRect
+ https://bugs.webkit.org/show_bug.cgi?id=106601
+ <rdar://problem/12843164>
+
+ Reviewed by Simon Fraser.
+
+ Some clients expand the WKView to be much larger than what is visible on screen, and
+ control scrolling with their own view. Currently, we will create tiles for the entire
+ view, consuming a great deal of memory, and can sometimes factor scrollbars which can
+ never exist into layout. Piggyback on WKView SPI (the property minimumWidthForAutoLayout,
+ renamed from minimumLayoutWidth) to drop into a mode where we disable main frame scrolling
+ and respect the WKView's visibleRect when creating tiles.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView setFrameSize:]): Update the page's viewExposedRect from our visibleRect.
+ (-[WKView _updateWindowAndViewFrames]): Update the page's viewExposedRect from our visibleRect.
+ (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): The main frame is scrollable by default.
+ (-[WKView enableFrameSizeUpdates]): If frame size updates become enabled, update the
+ page's viewExposedRect from our visibleRect.
+ (-[WKView setMinimumLayoutWidth:]): Rename minimumLayoutWidth property to minimumWidthForAutoLayout.
+ Warn once if the old one is used.
+ (-[WKView minimumWidthForAutoLayout]):
+ (-[WKView setMinimumWidthForAutoLayout:]): Adjust the minimum layout width, whether the main frame
+ is scrollable, and update the page's viewExposedRect if needed.
+ * UIProcess/API/mac/WKViewPrivate.h: Added minimumWidthForAutoLayout property.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): Add viewExposedRectChanged/setMainFrameIsScrollable.
+ * UIProcess/mac/WebPageProxyMac.mm:
+ (WebKit::WebPageProxy::viewExposedRectChanged): Forward viewExposedRectChanged to WebPage.
+ (WebKit::WebPageProxy::setMainFrameIsScrollable): Forward setMainFrameIsScrollable to WebPage.
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): Disable scrollbars and scrolling if
+ main frame scrollability is disabled.
+ * WebProcess/WebPage/DrawingArea.h:
+ (WebKit::DrawingArea::setExposedRect): Added empty default implementation.
+ (WebKit::DrawingArea::mainFrameScrollabilityChanged): Added empty default implementation.
+ (DrawingArea):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::windowAndViewFramesChanged): We don't need the WebCore:: namespace.
+ (WebKit::WebPage::viewExposedRectChanged): Forward exposed rect changes to DrawingArea (only TiledCoreAnimationDrawingArea cares, for now).
+ (WebKit::WebPage::setMainFrameIsScrollable): Forward scrollability changes to DrawingArea and the main FrameView.
+ (WebKit::WebPage::drawRectToImage): We don't need the WebCore:: namespace.
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage): Add mainFrameIsScrollable, viewExposedRectChanged, setMainFrameIsScrollable, and storage for m_mainFrameIsScrollable.
+ (WebKit::WebPage::mainFrameIsScrollable):
+ * WebProcess/WebPage/WebPage.messages.in: Add ViewExposedRectChanged and SetMainFrameIsScrollable messages.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+ (TiledCoreAnimationDrawingArea):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::setExposedRect): Forward new exposed rect to TiledBacking (only TileCache cares, for now).
+ (WebKit::TiledCoreAnimationDrawingArea::mainFrameScrollabilityChanged): Ask TiledBacking to clip to the exposedRect if main frame scrolling is disabled.
+ (WebKit::TiledCoreAnimationDrawingArea::updateGeometry): Use size instead of viewSize in case we've changed it because of m_minimumLayoutWidth.
+ (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer): Update exposedRect and clipsToExposedRect.
+
+2013-01-15 Enrica Casucci <enrica@apple.com>
+
+ Add a new set of WebKit2 APIs for text search and
+ search results management.
+ https://bugs.webkit.org/show_bug.cgi?id=106834.
+ <rdar://problem/12597159>
+
+ Reviewed by Simon Fraser.
+
+ Adding new API to perform text search in WebKit2 without using
+ the stock UI. The new interface provides all the information
+ necessary to write a custom UI for search. The main logic is
+ implemented in the new functions added to FindController.
+
+ Added new TextWebKitAPI test.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageFindStringMatches): Added.
+ (WKPageGetImageForFindMatch): Added.
+ (WKPageSelectFindMatch): Added.
+ (WKPageSetPageFindMatchesClient): Added.
+ * UIProcess/API/C/WKPage.h: Added the new API definitions.
+ * UIProcess/WebFindClient.cpp: Added new client callbacks.
+ (WebKit::WebFindMatchesClient::didFindStringMatches):
+ (WebKit::WebFindMatchesClient::didGetImageForMatchResult):
+ * UIProcess/WebFindClient.h:
+ (WebFindMatchesClient): Added.
+ * UIProcess/WebPageProxy.cpp: Added proxy methods.
+ (WebKit::WebPageProxy::initializeFindMatchesClient):
+ (WebKit::WebPageProxy::findStringMatches):
+ (WebKit::WebPageProxy::getImageForFindMatch):
+ (WebKit::WebPageProxy::selectFindMatch):
+ (WebKit::WebPageProxy::didGetImageForFindMatch):
+ (WebKit::WebPageProxy::didFindStringMatches):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/WebPageProxy.messages.in:
+ * WebProcess/WebPage/FindController.cpp:
+ (WebKit::FindController::findStringMatches): Finds all the matching
+ text according to the find options. All the matching text ranges are
+ stored in a vector until the next call to findStringMatches or until
+ hideFindUI is called. The message that is sent back to the UI process
+ contains a vector containing an entry for each find match (i.e. for each
+ range) and each entry is represented by a vector of the corresponding
+ text rects. It also returns the index in the vector of matches corresponding
+ to the first match after the user selection.
+ If there is no selection the index is always 0 and if there are no
+ matches after the user selection, the index returned is -1.
+ (WebKit::FindController::getFindIndicatorBitmapAndRect): Helper function
+ to share code between updateFindIndicator and getImageForFindMatch.
+ (WebKit::FindController::getImageForFindMatch): Creates the image corresponding
+ to the text matched at the given match index.
+ (WebKit::FindController::selectFindMatch): creates a selection for the range
+ corresponding to the given match index.
+ (WebKit::FindController::hideFindUI): Added logic to clear the vector
+ of matched ranges.
+ (WebKit::FindController::updateFindIndicator): Updated to use the
+ new helper function getFindIndicatorBitmapAndRect.
+ * WebProcess/WebPage/FindController.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::findStringMatches):
+ (WebKit::WebPage::getImageForFindMatch):
+ (WebKit::WebPage::selectFindMatch):
+ * WebProcess/WebPage/WebPage.h:
+ * WebProcess/WebPage/WebPage.messages.in:
+
+2013-01-15 Anders Carlsson <andersca@apple.com>
+
+ Rename LayerTreeHostCAMac to LayerTreeHostMac.
+
+ Rubber-stamped by Deth Bakin.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebPage/LayerTreeHost.cpp:
+ * WebProcess/WebPage/mac/LayerTreeHostMac.h: Renamed from Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.h.
+ * WebProcess/WebPage/mac/LayerTreeHostMac.mm: Renamed from Source/WebKit2/WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm.
+
+2013-01-15 Dominik Röttsches <dominik.rottsches@intel.com>
+
+ [CoordinatedGraphics] Deadlock when running abspos-child-container-changes-from-relative-to-static.html
+ https://bugs.webkit.org/show_bug.cgi?id=106884
+
+ Reviewed by Benjamin Poulain.
+
+ We need to return false if m_waitingForUIProcess is true since otherwise
+ we'll not really repaint in performScheduledLayerFlush() and the
+ UI process will wait forever. Returning false leads to executing the layer flush
+ synchronously and immediately, then acknowledging the
+ callback to the WebProcess - which resolves the deadlock.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::forceRepaintAsync): Return false in order to trigger a synchronous repaint if m_waitingForUIProcess is true.
+
+2013-01-15 Simon Fraser <simon.fraser@apple.com>
+
+ Allow tiled WKViews to have transparent backgrounds
+ https://bugs.webkit.org/show_bug.cgi?id=106400
+
+ Reviewed by Anders Carlsson.
+
+ When WKViews were set to have transparent backgrounds, they still
+ obscured content behind the view, for several reasons.
+
+ First, when in tiled scrolling mode, WKView set the background
+ of its layer to opaque white. Fix by using the clearColor (effectively
+ removing the background color) if the view has a non-opaque background.
+
+ Second, RenderLayerBacking just looked at FrameViews's isTransparent()
+ when deciding to make TileCache tiles non-opaque, but it also needs to
+ consider FrameViews with a non-opaque base background color. The
+ same logic was necessary to avoid setting an opaque white background
+ color on the TileCache layer.
+
+ Finally, for views with non-opaque backgrounds, we don't want to display
+ linen, so RenderLayerCompositor::requiresOverhangAreasLayer() was changed
+ to return false in that case.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView updateLayer]):
+
+2013-01-14 Dean Jackson <dino@apple.com>
+
+ [ANGLE] Update ANGLE in WebKit
+ https://bugs.webkit.org/show_bug.cgi?id=106274
+
+ Unreviewed attempted build fix.
+
+ The khrplatform.h file is now a public header without a directory
+ prefix. Update the include path to look in the right place.
+
+ * PlatformEfl.cmake:
+
+2013-01-14 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12524710> Update sandbox rules after r128003
+ https://bugs.webkit.org/show_bug.cgi?id=106840
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-14 Huang Dongsung <luxtella@company100.net>
+
+ [EFL] REGRESSION(r139189): MiniBrowser renders abnormally with -r option.
+ https://bugs.webkit.org/show_bug.cgi?id=106512
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ PageViewportController handles only pageScaleFactor after r139189. So
+ PageViewportControllerClientEFL calls EwkView::setScaleFactor() with
+ pageScaleFactor instead of pageScaleFactor * deviceScaleFactor.
+
+ This patch makes EwkView handle pageScaleFactor.
+ 1. EwkView uses pageScaleFactor * deviceScaleFactor when drawing in
+ the device unit.
+ 2. EwkView uses pageScaleFactor when notifying the scale to
+ PageViewportController.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::EwkViewImpl):
+ (EwkViewImpl::deviceScaleFactor):
+ (EwkViewImpl::transformFromScene):
+ (EwkViewImpl::displayTimerFired):
+ * UIProcess/API/efl/EwkViewImpl.h:
+ (EwkViewImpl):
+ (EwkViewImpl::setPageScaleFactor):
+ (EwkViewImpl::pageScaleFactor):
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::didRenderFrame):
+ * UIProcess/PageViewportControllerClient.h:
+ (PageViewportControllerClient):
+ * UIProcess/efl/PageClientLegacyImpl.cpp:
+ (WebKit::PageClientLegacyImpl::updateViewportSize):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::setViewportPosition):
+ (WebKit::PageViewportControllerClientEfl::setPageScaleFactor):
+ (WebKit::PageViewportControllerClientEfl::didResumeContent):
+ * UIProcess/efl/PageViewportControllerClientEfl.h:
+ (PageViewportControllerClientEfl):
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::setPageScaleFactor):
+ * UIProcess/qt/PageViewportControllerClientQt.h:
+ (PageViewportControllerClientQt):
+
+2013-01-14 Max Vujovic <mvujovic@adobe.com>
+
+ [ANGLE] Update ANGLE in WebKit
+ https://bugs.webkit.org/show_bug.cgi?id=106274
+
+ Reviewed by Dean Jackson.
+
+ Update ANGLE to r1641.
+
+ * PlatformEfl.cmake: Add ANGLE/include to the include directories list because ShaderLang.h
+ now includes "KHR/khrplatform.h", which is located in ANGLE/include/KHR/khrplatform.h.
+
+2013-01-14 Alexey Proskuryakov <ap@apple.com>
+
+ NetworkProcess scheduler never resumes resource loads that were postponed
+ due to connection limit
+ https://bugs.webkit.org/show_bug.cgi?id=106821
+
+ Reviewed by Brady Eidson.
+
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ (WebKit::NetworkResourceLoadScheduler::servePendingRequests):
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+ Remove an uninitialized variable that could prevent loading.
+
+2013-01-11 Balazs Kelemen <kbalazs@webkit.org>
+
+ [Qt][WK2] plugin tests assert in debug
+ https://bugs.webkit.org/show_bug.cgi?id=106659
+
+ Reviewed by Benjamin Poulain.
+
+ Fixed the misuse of String::split.
+
+ * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
+ (WebKit::truncateToSingleLine):
+ Add an assert to make sure this function works well. I just walked there
+ while debugging the bug, and although it was innocent, adding this assertion
+ is logical.
+ * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
+ (WebKit::PluginProcessProxy::scanPlugin):
+ The ASSERT was wrong. We have three lines, each ends in a newline, so split
+ with allowEmptyEntries=true will devide it to 4 substrings.
+
+2013-01-11 Filip Pizlo <fpizlo@apple.com>
+
+ JITThunks should not compile only because of luck
+ https://bugs.webkit.org/show_bug.cgi?id=105696
+
+ Rubber stamped by Sam Weinig.
+
+ * Shared/APIObject.cpp:
+ * Shared/linux/WebMemorySamplerLinux.cpp:
+ * UIProcess/WebContext.cpp:
+ * WebProcess/WebPage/WebPage.cpp:
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+
+2013-01-11 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Remove the dependency of WebCoordinatedSurface::Handle from Coordinated Graphics.
+ https://bugs.webkit.org/show_bug.cgi?id=104347
+
+ Reviewed by Noam Rosenthal.
+
+ It is a preparation patch for Threaded Coordinated Graphics on WK1.
+
+ Currently, UpdateAtlas and CoordinatedImageBacking use
+ WebCoordinatedSurface::Handle, but WebCoordinatedSurface::Handle can be
+ used only IPC-based Coordinated Graphics. So this patch removes the
+ dependency of WebCoordinatedSurface::Handle from UpdateAtlas and
+ CoordinatedImageBacking. Now CoordinatedLayerTreeHost converts the
+ handle to a WebCoordinatedSurface.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.cpp:
+ (WebKit::CoordinatedImageBacking::update):
+ (WebKit::CoordinatedImageBacking::releaseSurfaceIfNeeded):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.h:
+ (Coordinator):
+ (CoordinatedImageBacking):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::updateImageBacking):
+ (WebKit::CoordinatedLayerTreeHost::createUpdateAtlas):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+ (WebKit):
+ (CoordinatedLayerTreeHost):
+ * WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp:
+ (WebKit::UpdateAtlas::UpdateAtlas):
+ (WebKit::UpdateAtlas::~UpdateAtlas):
+ (WebKit::UpdateAtlas::beginPaintingOnAvailableBuffer):
+ * WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.h:
+ (UpdateAtlasClient):
+ (UpdateAtlas):
+
+2013-01-11 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Network process unblocks all waiting threads when any sync reply arrives
+ https://bugs.webkit.org/show_bug.cgi?id=106713
+
+ Reviewed by Brady Eidson.
+
+ Switch to sending sync CoreIPC messages, which is now possible.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::didClose):
+ We no longer have response maps.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::willSendRequest): Just send a sync message.
+ (WebKit::NetworkResourceLoader::canAuthenticateAgainstProtectionSpace): Ditto.
+ (WebKit::NetworkResourceLoader::didReceiveDataArray): Added an unrelated assertion.
+
+ * NetworkProcess/NetworkResourceLoader.h:
+ * NetworkProcess/NetworkResourceLoader.messages.in:
+ Removed no longer used reply messages and their handlers.
+
+ * Shared/BlockingResponseMap.h: Removed a bool version, which was not perfectly
+ safe, and only used in NetworkProcess.
+ (BlockingResponseMap::didReceiveResponse): Updated a still valid FIXME to not refer
+ to network process.
+ (BlockingResponseMap::cancel): Ditto.
+
+ * WebProcess/Network/NetworkProcessConnection.h:
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ (WebKit::NetworkProcessConnection::didReceiveSyncMessage):
+ Plumbing to handle sync messages.
+
+ * WebProcess/Network/WebResourceLoader.cpp:
+ (WebKit::WebResourceLoader::willSendRequest):
+ (WebKit::WebResourceLoader::canAuthenticateAgainstProtectionSpace):
+ * WebProcess/Network/WebResourceLoader.h:
+ * WebProcess/Network/WebResourceLoader.messages.in:
+ Updated (simplified) sync messages and their handlers.
+
+2013-01-11 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Make it possible to send sync messages from secondary threads
+ https://bugs.webkit.org/show_bug.cgi?id=106708
+
+ Apply another review comment (overlooked a "ditto").
+
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::sendSyncMessage):
+
+2013-01-11 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Make it possible to send sync messages from secondary threads
+ https://bugs.webkit.org/show_bug.cgi?id=106708
+
+ Reviewed by Anders Carlsson.
+
+ It is hugely beneficial to implement sync messages at Connection level, because
+ ad hoc code that blocks a thread and wakes it up when a reply arrives on main
+ thread can't be made equally performant. A CoreOPC MessageDecoder can be moved across
+ threads, which can't be done with a decoded argument passed by reference to client code.
+
+ Sync messages from secondary threads are tracked in much simpler data structure
+ than client thread ones, because we don't need to be concerned with incoming messages.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (Connection::SecondaryThreadPendingSyncReply):
+ (CoreIPC::Connection::SecondaryThreadPendingSyncReply::SecondaryThreadPendingSyncReply):
+ (CoreIPC::Connection::createSyncMessageEncoder):
+ (CoreIPC::Connection::sendSyncMessage):
+ (CoreIPC::Connection::sendSyncMessageFromSecondaryThread):
+ (CoreIPC::Connection::processIncomingSyncReply):
+ (CoreIPC::Connection::connectionDidClose):
+
+ * Platform/CoreIPC/Connection.h: Also corrected a misleading comment.
+
+2013-01-11 Dan Bernstein <mitz@apple.com>
+
+ Exclude unused resources.
+
+ Reviewed by Darin Adler.
+
+ * Configurations/WebKit2.xcconfig: Defined EXCLUDED_SOURCE_FILE_NAMES.
+
+2013-01-11 Anders Carlsson <andersca@apple.com>
+
+ Incoming synchronous messages can sometimes arrive out of order
+ https://bugs.webkit.org/show_bug.cgi?id=106677
+ <rdar://problem/12889499>
+
+ Reviewed by Andreas Kling.
+
+ In cases where synchronous messages come in more than one connection at the same time, we can sometimes deliver
+ the synchronous messages before any pending asynchronous messages on that connection. This breaks FIFO ordering.
+
+ Fix this by separating the "dispatch all incoming synchronous messages" phase out into multiple phases, so we'll
+ schedule one call per connection instead of one call for all connections.
+
+ * Platform/CoreIPC/Connection.cpp:
+ (Connection::SyncMessageState):
+ (CoreIPC::Connection::SyncMessageState::SyncMessageState):
+ (CoreIPC::Connection::SyncMessageState::processIncomingMessage):
+ (CoreIPC::Connection::SyncMessageState::dispatchMessages):
+ (CoreIPC::Connection::SyncMessageState::dispatchMessageAndResetDidScheduleDispatchMessagesForConnection):
+ (CoreIPC::Connection::waitForSyncReply):
+
+2013-01-11 Zan Dobersek <zandobersek@gmail.com>
+
+ Unreviewed. Build fix for the GTK debug builds of WebKit2 after r139415.
+
+ * WebProcess/gtk/WebGtkExtensionManager.cpp:
+
+2013-01-11 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Remove support for global extensions in WebKit2 GTK+
+ https://bugs.webkit.org/show_bug.cgi?id=106646
+
+ Reviewed by Xan Lopez.
+
+ We have now API to set the web extensions directory. A global web
+ estensions directory doesn't make sense anymore.
+
+ * WebProcess/gtk/WebGtkExtensionManager.cpp:
+ (WebKit::WebGtkExtensionManager::scanModules): Only scan the given
+ directory for modules.
+ (WebKit::WebGtkExtensionManager::initialize): Load modules found
+ in the given directory only.
+ * WebProcess/gtk/WebGtkExtensionManager.h:
+ (WebGtkExtensionManager): Remove appendModuleDirectories().
+
+2013-01-11 KwangYong Choi <ky0.choi@samsung.com>
+
+ [EFL][WK2] Add ewk_view_page_contents_get() API
+ https://bugs.webkit.org/show_bug.cgi?id=106440
+
+ Reviewed by Gyuyoung Kim.
+
+ Add ewk_view_page_contents_get() API for getting contents of the current page.
+ Currently, it supports only MHTML type.
+
+ * UIProcess/API/efl/ewk_view.cpp:
+ (Ewk_Page_Contents_Context):
+ (ewkViewPageContentsCallback):
+ (ewk_view_page_contents_get):
+ * UIProcess/API/efl/ewk_view.h:
+ * UIProcess/API/efl/tests/test_ewk2_view.cpp:
+ (PageContentsCallback):
+ (TEST_F):
+
+2013-01-11 Krzysztof Czech <k.czech@samsung.com>
+
+ [WK2] Missing HAVE(ACCESSIBILITY) guards to some atk/ accessibility files.
+ https://bugs.webkit.org/show_bug.cgi?id=106447
+
+ Reviewed by Andreas Kling.
+
+ Files do not have HAVE(ACCESSIBILITY) guards.
+ This is source of potential build breakes, when macro is not enabled.
+
+ * WebProcess/WebPage/atk/WebPageAccessibilityObject.h:
+ * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
+
+2013-01-11 KwangYong Choi <ky0.choi@samsung.com>
+
+ [EFL] Fix unused parameter build error
+ https://bugs.webkit.org/show_bug.cgi?id=106639
+
+ Reviewed by Kentaro Hara.
+
+ Use UNUSED_PARAM macro to fix build error.
+
+ * UIProcess/API/efl/ewk_color_picker.cpp:
+ (ewk_color_picker_color_set):
+ (ewk_color_picker_color_get):
+ * UIProcess/API/efl/ewk_context.cpp:
+ (ewk_context_additional_plugin_path_set):
+ * UIProcess/API/efl/ewk_settings.cpp:
+ (ewk_settings_fullscreen_enabled_set):
+ (ewk_settings_fullscreen_enabled_get):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_intent_deliver):
+ (ewk_view_feed_touch_event):
+ (ewk_view_touch_events_enabled_set):
+ (ewk_view_touch_events_enabled_get):
+ (ewk_view_fullscreen_exit):
+
+2013-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Add API to set the web extensions directory to WebKit2 GTK+
+ https://bugs.webkit.org/show_bug.cgi?id=106462
+
+ Reviewed by Xan Lopez.
+
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (webkit_web_context_set_web_extensions_directory): Set
+ the given directory as injected bundle initialization user data.
+ * UIProcess/API/gtk/WebKitWebContext.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbol.
+ * UIProcess/API/gtk/tests/TestWebExtensions.cpp:
+ (beforeAll): Update the test to use
+ webkit_web_context_set_web_extensions_directory()
+ instead of setting the WEBKIT_WEB_EXTENSIONS_PATH env var.
+ * WebProcess/gtk/WebGtkExtensionManager.cpp:
+ (WebKit::WebGtkExtensionManager::scanModules): Append the given
+ additional web extensions directory to the list of directories to
+ scan for modules.
+ (WebKit::WebGtkExtensionManager::initialize): Get the additional
+ web extensions directory from initialization user data and pass it
+ to scanModules().
+ * WebProcess/gtk/WebGtkExtensionManager.h:
+ (WebGtkExtensionManager): Add userData parameter.
+ * WebProcess/gtk/WebGtkInjectedBundleMain.cpp:
+ (WKBundleInitialize): Pass initialization user data to
+ WebGtkExtensionManager.
+
+2013-01-10 Huang Dongsung <luxtella@company100.net>
+
+ [Qt][EFL] Rename from xxxContentsScale() to xxxScale() in PageViewportController.
+ https://bugs.webkit.org/show_bug.cgi?id=106537
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Rename 3 methods to match the terms of ViewportAttributes.
+
+ * UIProcess/API/qt/qwebkittest.cpp:
+ (QWebKitTest::viewport):
+ (QWebKitTest::contentsScale):
+ * UIProcess/PageViewportController.h:
+ (WebKit::PageViewportController::minimumScale):
+ (WebKit::PageViewportController::maximumScale):
+ (WebKit::PageViewportController::currentScale):
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
+
+2013-01-10 Michael Pruett <michael@68k.org>
+
+ [WK2] Set IndexedDB database path in WK2
+ https://bugs.webkit.org/show_bug.cgi?id=106257
+
+ Reviewed by Benjamin Poulain.
+
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::initialize):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager):
+ (WebKit::WebKeyValueStorageManager::indexedDBDatabaseDirectory):
+ * WebProcess/WebPage/WebPageGroupProxy.cpp:
+ (WebKit::WebPageGroupProxy::WebPageGroupProxy):
+
+2013-01-10 Tim Horton <timothy_horton@apple.com>
+
+ Ensure that WebPageProxy's notion of pageScaleFactor is reset on didCommitLoad
+ https://bugs.webkit.org/show_bug.cgi?id=103290
+ <rdar://problem/12752467>
+
+ Reviewed by Darin Adler.
+
+ When a standard main frame load is committed, we reset the WebPage's
+ pageScaleFactor, if it's not the default. However, if the previous
+ page had a full-main-frame plugin that was handling page scaling itself,
+ WebPageProxy can have a cached pageScaleFactor != 1, while WebPage
+ now (since the plugin that was overriding (set)pageScaleFactor is gone)
+ has a pageScaleFactor of 1, causing us to skip the call to reset the
+ WebPage's pageScaleFactor.
+
+ Therefore, when WebPageProxy is notified that a standard main-frame load
+ is committed, reset its cached notion of the pageScaleFactor.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didCommitLoadForFrame): Add a parameter which corresponds to FrameLoadType, so we can
+ determine whether a frame load is of FrameLoadTypeStandard (which matches the check to reset page scale in
+ WebFrameLoaderClient::didCommitLoad), so we can reset m_pageScaleFactor.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): Add frameLoadType parameter to didCommitLoadForFrame.
+ * UIProcess/WebPageProxy.messages.in: Add frameLoadType parameter to didCommitLoadForFrame.
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad): Pass frameLoadType parameter to didCommitLoadForFrame.
+
+2013-01-10 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Cmd-/+ should affect PDF page scale
+ https://bugs.webkit.org/show_bug.cgi?id=103285
+ <rdar://problem/12710469>
+
+ Reviewed by Darin Adler.
+
+ Plugins which support handling page scale themselves should also handle
+ page zoom, as it is a very similar concept.
+
+ This patch disables text zoom in the case of a main-frame plugin which supports
+ page scale factor changes, as it is not needed in the PDFPlugin case
+ (we can't do text-only scale for PDF), but it could be added later if needed.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::pageZoomFactorDidChange):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ Add WebPageProxy::pageZoomFactorDidChange, to notify WebPageProxy of
+ out-of-band page zoom factor changes (in this case, from PluginView).
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::setPageScaleFactor):
+ Update WebPageProxy's notion of the current page zoom whenever PluginView
+ is notified of a page scale factor change.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setTextZoomFactor): We don't support text zoom in plugins, but
+ we also don't want it to silently act on the Frame if we have a plugin that
+ purports to handle page scale itself. Return early if this is the case.
+ (WebKit::WebPage::pageZoomFactor): For plugins that support page scale factor,
+ we equate page scale and page zoom. Return the PluginView's page scale factor
+ in place of the Frame's page zoom factor.
+ (WebKit::WebPage::setPageZoomFactor): Make page zoom changes in the aforementioned
+ case affect the PluginView's page scale.
+ (WebKit::WebPage::setPageAndTextZoomFactors): Ditto.
+
+2013-01-10 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Header cleanup
+ https://bugs.webkit.org/show_bug.cgi?id=106540
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/Plugins/PDF/PDFPlugin.mm: Remove some unneeded headers.
+
+2013-01-10 Zan Dobersek <zandobersek@gmail.com>
+
+ Remove the ENABLE_ANIMATION_API feature define occurences
+ https://bugs.webkit.org/show_bug.cgi?id=106544
+
+ Reviewed by Simon Fraser.
+
+ The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
+ feature define handling still lingers in various build systems and configurations
+ but is of no use, so it should be removed.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-10 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] Contents gets blurry when page is scrolled down
+ https://bugs.webkit.org/show_bug.cgi?id=106545
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ The bound values for scrolling also should be pixel aligned, otherwise
+ it leads to page contents blurriness when the page is scrolled down.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::pageDidRequestScroll):
+
+2013-01-10 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Add support for loading web process extensions
+ https://bugs.webkit.org/show_bug.cgi?id=105631
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * GNUmakefile.am: Link to libWebCoreDOM.la and build injected
+ bundle lib.
+ * GNUmakefile.list.am: Add new files to compilation.
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (injectedBundleDirectory): Helper funtion to get the injected
+ bundle directory.
+ (injectedBundleFilename): Helper funtion to get the injected undle
+ library full path.
+ (createDefaultWebContext): Create the WebContext with an injected
+ bundle path.
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkit_web_view_get_page_id): Return the identifier of the web
+ page associated to the web view.
+ * UIProcess/API/gtk/WebKitWebView.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add new chapter for
+ web extensions.
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
+ * UIProcess/API/gtk/docs/webkit2gtk.types: Add new types.
+ * UIProcess/API/gtk/tests/GNUmakefile.am: Add new files to compilation.
+ * UIProcess/API/gtk/tests/TestMain.cpp:
+ (main):
+ * UIProcess/API/gtk/tests/TestWebExtensions.cpp: Added.
+ (testWebExtension):
+ (beforeAll):
+ (afterAll):
+ * UIProcess/API/gtk/tests/WebExtensionTest.cpp: Added.
+ (methodCallCallback):
+ (webkit_web_extension_initialize):
+ * UIProcess/API/gtk/tests/WebKitTestBus.cpp: Added.
+ (WebKitTestBus::WebKitTestBus):
+ (WebKitTestBus::run):
+ (WebKitTestBus::~WebKitTestBus):
+ (WebKitTestBus::connection):
+ (onNameAppeared):
+ (WebKitTestBus::createProxy):
+ * UIProcess/API/gtk/tests/WebKitTestBus.h: Added.
+ (WebKitTestBus):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.cpp: Added.
+ (_WebKitWebExtensionPrivate):
+ (webkitWebExtensionPageCreated): Create a WebKitWebPage for the
+ newly crated page and emit WebKitWebExtension::page-created
+ signals.
+ (webkitWebExtensionPageDestroy): Remove the page from the map.
+ (didCreatePage): Call webkitWebExtensionPageCreated().
+ (willDestroyPage): Call webkitWebExtensionPageDestroy().
+ (webkitWebExtensionCreate): Create a new WebKitWebExtension and
+ initialize the injected bundle client.
+ (webkit_web_extension_get_page): Return the WebKitWebPage for the
+ given page identifier.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h: Added.
+ (_WebKitWebExtension):
+ (_WebKitWebExtensionClass):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionDefines.h: Added.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionPrivate.h: Added.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp: Added.
+ (_WebKitWebPagePrivate):
+ (webkit_web_page_class_init):
+ (webkitWebPageCreate): Create a new WebKitWebPage.
+ (webkit_web_page_get_dom_document): Return the WebKitDOMDocument
+ loaded in the WebKitWebPage.
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h: Added.
+ (_WebKitWebPage):
+ (_WebKitWebPageClass):
+ * WebProcess/InjectedBundle/API/gtk/WebKitWebPagePrivate.h: Added.
+ * WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h: Added.
+ * WebProcess/gtk/WebGtkExtensionManager.cpp: Added.
+ (WebKit::WebGtkExtensionManager::shared): Return the global shared
+ instance.
+ (WebKit::WebGtkExtensionManager::WebGtkExtensionManager):
+ (WebKit::WebGtkExtensionManager::appendModuleDirectories): Add
+ directories to scan for modules.
+ (WebKit::WebGtkExtensionManager::scanModules): Scan for modules.
+ (WebKit::WebGtkExtensionManager::initialize): Load and initialize
+ the modules found.
+ * WebProcess/gtk/WebGtkExtensionManager.h: Added.
+ * WebProcess/gtk/WebGtkInjectedBundleMain.cpp: Added.
+ (WKBundleInitialize): Initialize WebGtkExtensionManager.
+
+2013-01-10 Huang Dongsung <luxtella@company100.net>
+
+ REGRESSION(r139189): pixel alignment must be performed in device units.
+ https://bugs.webkit.org/show_bug.cgi?id=106504
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ After r139189, pixel alignment is performed in UI units. If deviceScaleFactor is
+ fractional number, adjusted scroll position can blur non-composited layer.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::pixelAlignedFloatPoint):
+
+2013-01-10 Arnaud Renevier <a.renevier@sisa.samsung.com>
+
+ [WK2] [Gtk] web inspector is not visible.
+ https://bugs.webkit.org/show_bug.cgi?id=106050
+
+ Reviewed by Carlos Garcia Campos.
+
+ Use webkitWebViewBaseAddWebInspector when adding web inspector to
+ webview in order to make webview aware of its existence.
+
+ Use gtk_container_add when adding web inspector wiew to its own window
+ because m_inspectorWindow is not a WebKitWebViewBase.
+
+ * UIProcess/gtk/WebInspectorProxyGtk.cpp:
+ (WebKit::WebInspectorProxy::createInspectorWindow):
+ (WebKit::WebInspectorProxy::platformAttach):
+
+2013-01-09 Seokju Kwon <seokju.kwon@gmail.com>
+
+ [WK2][EFL] Add guard around NativeWebTouchEvent
+ https://bugs.webkit.org/show_bug.cgi?id=105846
+
+ Reviewed by Benjamin Poulain.
+
+ Fix EFL build without TOUCH_EVENTS.
+
+ * Shared/efl/NativeWebTouchEventEfl.cpp: Add TOUCH_EVENTS guard.
+
+2013-01-09 Huang Dongsung <luxtella@company100.net>
+
+ Remove deviceScaleFactor argument in computeMinimumScaleFactorForContentContained().
+ https://bugs.webkit.org/show_bug.cgi?id=106500
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ deviceScaleFactor argument is not used after r139189.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::updateMinimumScaleToFit):
+
+2013-01-09 Huang Dongsung <luxtella@company100.net>
+
+ [QT][EFL][WK2] Rename scale members in PageViewportController.
+ https://bugs.webkit.org/show_bug.cgi?id=106499
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Rename from m_contentsScale to m_pageScaleFactor and from devicePixelRatio() to
+ deviceScaleFactor() to match terms of WebCore.
+
+ * UIProcess/API/qt/qwebkittest.cpp:
+ (QWebKitTest::devicePixelRatio):
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::PageViewportController):
+ (WebKit::PageViewportController::deviceScaleFactor):
+ (WebKit::PageViewportController::pixelAlignedFloatPoint):
+ (WebKit::PageViewportController::boundContentsPosition):
+ (WebKit::PageViewportController::didRenderFrame):
+ (WebKit::PageViewportController::didChangeContentsVisibility):
+ (WebKit::PageViewportController::syncVisibleContents):
+ (WebKit::PageViewportController::visibleContentsSize):
+ (WebKit::PageViewportController::applyScaleAfterRenderingContents):
+ (WebKit::PageViewportController::updateMinimumScaleToFit):
+ * UIProcess/PageViewportController.h:
+ (PageViewportController):
+ (WebKit::PageViewportController::currentContentsScale):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::updateViewportSize):
+
+2013-01-09 KyungTae Kim <ktf.kim@samsung.com>
+
+ [WK2][soup] Get rid of LocalTerminationDisabler
+ https://bugs.webkit.org/show_bug.cgi?id=106510
+
+ Unreviewed build fix.
+
+ With r139257(bug 106501), the LocalTerminationDisabler was removed from WebKit::ChildProcess.
+ So, it should be removed on setCookiePersistentStorage, too.
+
+ * WebProcess/Cookies/soup/WebCookieManagerSoup.cpp:
+ (WebKit::WebCookieManager::setCookiePersistentStorage):
+
+2013-01-09 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Get rid of LocalTerminationDisabler
+ https://bugs.webkit.org/show_bug.cgi?id=106501
+
+ Reviewed by Anders Carlsson.
+
+ LocalTerminationDisabler is no-op - termination timer can't fire inside its scope
+ even if not stopped.
+
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::getSitesWithData):
+ (WebKit::PluginProcess::clearSiteData):
+ * Shared/ChildProcess.h:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
+ (WebKit::WebApplicationCacheManager::deleteEntriesForOrigin):
+ (WebKit::WebApplicationCacheManager::deleteAllEntries):
+ (WebKit::WebApplicationCacheManager::setAppCacheMaximumSize):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::getKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManager::deleteEntriesForOrigin):
+ (WebKit::WebKeyValueStorageManager::deleteAllEntries):
+ * WebProcess/MediaCache/WebMediaCacheManager.cpp:
+ (WebKit::WebMediaCacheManager::getHostnamesWithMediaCache):
+ (WebKit::WebMediaCacheManager::clearCacheForHostname):
+ (WebKit::WebMediaCacheManager::clearCacheForAllHostnames):
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ (WebKit::WebResourceCacheManager::getCacheOrigins):
+ (WebKit::WebResourceCacheManager::clearCacheForOrigin):
+ (WebKit::WebResourceCacheManager::clearCacheForAllOrigins):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::getDatabasesByOrigin):
+ (WebKit::WebDatabaseManager::getDatabaseOrigins):
+ (WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin):
+ (WebKit::WebDatabaseManager::deleteDatabasesForOrigin):
+ (WebKit::WebDatabaseManager::deleteAllDatabases):
+ (WebKit::WebDatabaseManager::setQuotaForOrigin):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::getSitesWithPluginData):
+ (WebKit::WebProcess::clearPluginSiteData):
+
+2013-01-09 Kiran Muppala <cmuppala@apple.com>
+
+ Add user defaults to override system proxy settings for NetworkProcess on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=104197
+
+ Reviewed by Brady Eidson.
+
+ For internal testing and debugging, it is useful to have a defaults write to set the HTTP and HTTPS proxy specific to a
+ WebKit2 client application and not affect the system proxy settings on Mac.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::overrideSystemProxies): Add helper method to parse proxy URLs and populate settings dictionary passed
+ to WKCFNetworkSetOverrideSystemProxySettings.
+ (WebKit::NetworkProcess::platformInitializeNetworkProcess): Call overrideSystemProxies if process creation parameters for
+ http proxy or https proxy is set.
+ * Shared/Network/NetworkProcessCreationParameters.cpp: Add httpProxy and httpsProxy process creation parameters on Mac.
+ (WebKit::NetworkProcessCreationParameters::encode):
+ (WebKit::NetworkProcessCreationParameters::decode):
+ * Shared/Network/NetworkProcessCreationParameters.h:
+ * UIProcess/mac/WebContextMac.mm:
+ (WebKit::WebContext::platformInitializeNetworkProcess): Initialize httpProxy and httpsProxy process creation parameters
+ based on the value of WebKit2HTTPProxyDefaultsKey and WebKit2HTTPSProxyDefaultsKey user default respectively.
+
+2013-01-09 Alexey Proskuryakov <ap@apple.com>
+
+ Local builds of NetworkProcess should have a process icon
+ https://bugs.webkit.org/show_bug.cgi?id=106489
+
+ Reviewed by Mark Rowe.
+
+ * Resources/WebKit.icns: Copied from Source/WebKit2/WebProcess/mac/WebKit.icns.
+ * WebProcess/mac/WebKit.icns: Removed.
+ Copied to a shared location. We don't have different icons, so just using WebKit one.
+
+ * Configurations/NetworkProcess.xcconfig:
+ * NetworkProcess/Info.plist:
+ * WebKit2.xcodeproj/project.pbxproj:
+ Same changes as for WebProcess.
+
+2013-01-09 Andras Becsi <andras.becsi@digia.com>
+
+ [Qt][WK2] Fix a typo in in the double-tap-to-zoom logic
+
+ Rubber-stamped by Csaba Osztrogonác.
+
+ The qMin for the upper boundary of the scale was accidentally
+ changed to qMax in r139189, change it back to fix the Qt API tests.
+
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
+
+2013-01-09 Andras Becsi <andras.becsi@digia.com>
+
+ [Qt][EFL][WK2] Remove redundant device pixel ratio adjustment from PageViewportController
+ https://bugs.webkit.org/show_bug.cgi?id=106355
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Since r137597 Qt uses the device pixel ratio of the underlying
+ platform window as the device pixel ratio in WebCore.
+ The tiles are rendered with the effective scale (scale adjusted with
+ the device scale factor) and the projection matrix is also adjusted
+ with the device pixel ratio when painting.
+ As a result we can follow the same approach as QtQuick and all the
+ coordinates in PageViewportController need to be in device independent
+ pixels (UI pixels) thus we do no longer need to adjust with the device
+ pixel ratio when calculating the viewport attributes.
+ This simplifies the logic significantly and increases robustness,
+ but does not allow to set a custom device pixel ratio different from
+ the factor of the underlying platform (eg. for testing purposes).
+ This patch is conceptually a follow-up of r137597 and fixes layout
+ and canvas size on retina display.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::PageViewportController):
+ (WebKit::PageViewportController::innerBoundedViewportScale):
+ (WebKit::PageViewportController::outerBoundedViewportScale):
+ (WebKit::PageViewportController::pixelAlignedFloatPoint):
+ (WebKit::PageViewportController::boundContentsPosition):
+ (WebKit::PageViewportController::didRenderFrame):
+ (WebKit::PageViewportController::pageTransitionViewportReady):
+ (WebKit::PageViewportController::didChangeContentsVisibility):
+ (WebKit::PageViewportController::syncVisibleContents):
+ (WebKit::PageViewportController::visibleContentsSize):
+ (WebKit::PageViewportController::applyScaleAfterRenderingContents):
+ (WebKit::PageViewportController::updateMinimumScaleToFit):
+ * UIProcess/PageViewportController.h:
+ (WebKit::PageViewportController::currentContentsScale):
+ (PageViewportController):
+ * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+ (WebKit::PageViewportControllerClientEfl::updateViewportSize):
+ Adjust the viewport size with the device pixel ratio to keep previous
+ behaviour.
+ * UIProcess/qt/PageViewportControllerClientQt.cpp:
+ (WebKit::PageViewportControllerClientQt::focusEditableArea):
+ (WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
+ * UIProcess/qt/QtWebPageSGNode.cpp:
+ (WebKit::ContentsSGNode::clipRect):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::sendViewportAttributesChanged):
+
+2013-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ Unreviewed. Fix make distcheck.
+
+ * GNUmakefile.list.am: Add missing headers.
+
+2013-01-08 Sam Weinig <sam@webkit.org>
+
+ Add Owners file.
+
+ * Owners: Added.
+
+2013-01-08 Anders Carlsson <andersca@apple.com>
+
+ Unbreak the world.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-08 Anders Carlsson <andersca@apple.com>
+
+ Silence a sandbox violation
+ https://bugs.webkit.org/show_bug.cgi?id=106386
+ <rdar://problem/12976435>
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-08 Sam Weinig <sam@webkit.org>
+
+ This should be camel case. Must remove to fix.
+
+ * OWNERS: Removed.
+
+2013-01-08 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12944813> Network process temporary and cache directories are not set correctly
+
+ Reviewed by Sam Weinig.
+
+ Set DIRHELPER_USER_DIR_SUFFIX, like we do for WebProcess. Also while in this function,
+ enabled sandbox-style file quarantine.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::initializeSandbox):
+
+2013-01-08 Anders Carlsson <andersca@apple.com>
+
+ Use correct capitalization in service name
+ https://bugs.webkit.org/show_bug.cgi?id=106368
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
+2013-01-08 Anders Carlsson <andersca@apple.com>
+
+ Tweak sandbox profile
+ https://bugs.webkit.org/show_bug.cgi?id=106362
+ <rdar://problem/12884745>
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+ Allow access to com.apple.CoreServices.launchservicesd.
+
+2013-01-08 Sam Weinig <sam@webkit.org>
+
+ Add OWNERS file.
+
+ * OWNERS: Added.
+
+2013-01-08 Mark Lam <mark.lam@apple.com>
+
+ Removed the need for the ProposedDatabase mechanism.
+ https://bugs.webkit.org/show_bug.cgi?id=106292.
+
+ Reviewed by Sam Weinig.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::exceededDatabaseQuota):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient):
+
+2013-01-08 Sam Weinig <sam@webkit.org>
+
+ Remove dead Connection members in ChildProcess subclasses (and their users)
+ https://bugs.webkit.org/show_bug.cgi?id=106347
+ <rdar://problem/12973955>
+
+ Reviewed by Alexey Proskuryakov.
+
+ This also fixes a crash when entering fullscreen with a plug-in.
+
+ * PluginProcess/PluginProcess.h:
+ Remove dead m_connection member.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::setModalWindowIsShowing):
+ (WebKit::PluginProcess::setFullscreenWindowIsShowing):
+ Replace use of m_connection, which is dead, with parentProcessConnection().
+
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ (SharedWorkerProcess):
+ Remove dead m_connection member.
+
+ * SharedWorkerProcess/SharedWorkerProcess.cpp:
+ (WebKit::SharedWorkerProcess::createWebProcessConnection):
+ Replace use of m_connection, which is dead, with parentProcessConnection().
+
+2013-01-07 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] NetworkProcess should have a Keychain shim
+ https://bugs.webkit.org/show_bug.cgi?id=106286
+
+ Reviewed by Sam Weinig.
+
+ Renamed WebProcessShim to SecItemShim. Use it with NetworkProcess, too.
+
+ * WebProcess/mac/SecItemShimLibrary.h: Copied from Source/WebKit2/WebProcess/mac/WebProcessShim.h.
+ * WebProcess/mac/SecItemShimLibrary.mm: Copied from Source/WebKit2/WebProcess/mac/WebProcessShim.mm.
+ This code lives in SecItemShim.dylib.
+ "Library" in the name is to avoid conflicting with SecItemShim class in WebKit2.
+
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::sendSecItemRequest):
+ (WebKit::SecItemShim::initialize):
+ * Shared/mac/SecItemShim.h:
+ Take a ChildProcess pointer at initialization instead of using using WebProcess::shared().
+
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::addDYLDEnvironmentAdditions):
+ Use SecItemShim with NetworkProcess too.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeConnection):
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::platformInitializeNetworkProcess):
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didFinishLaunching):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeProcess):
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebKit::WebProcessMainDelegate::doPreInitializationWork):
+ * WebProcess/mac/WebProcessServiceEntryPoints.mm:
+ (webProcessServiceMain):
+ (initializeWebProcessForWebProcessServiceForWebKitDevelopment):
+ * WebProcess/mac/WebProcessShim.h: Removed.
+ * WebProcess/mac/WebProcessShim.mm: Removed.
+ * WebProcessService/Info.plist:
+
+2013-01-08 Kihong Kwon <kihong.kwon@samsung.com>
+
+ Add DeviceProximityController to support Device Proximity Events.
+ https://bugs.webkit.org/show_bug.cgi?id=97630
+
+ Reviewed by Hajime Morita.
+
+ Add initial WebDeviceProximityClient class which is inherited DeviceProximityClient.
+ But startUpdating and stopUpdating need to be implemented.
+
+ * CMakeLists.txt:
+ * WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp: Added.
+ (WebKit):
+ (WebKit::WebDeviceProximityClient::WebDeviceProximityClient):
+ (WebKit::WebDeviceProximityClient::startUpdating):
+ (WebKit::WebDeviceProximityClient::stopUpdating):
+ (WebKit::WebDeviceProximityClient::hasLastData):
+ * WebProcess/WebCoreSupport/WebDeviceProximityClient.h: Added.
+ (WebKit):
+ (WebDeviceProximityClient):
+ (WebKit::WebDeviceProximityClient::~WebDeviceProximityClient):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage):
+
+2013-01-03 Sergio Villar Senin <svillar@igalia.com>
+
+ [GTK] Add WebP image support
+ https://bugs.webkit.org/show_bug.cgi?id=105915
+
+ Reviewed by Martin Robinson.
+
+ * GNUmakefile.am: link against WebP library.
+
+2013-01-08 Csaba Osztrogonác <ossy@webkit.org>
+
+ [Qt][Win] Unreviewed buildfix, partially revert
+ r139003, because Qt port still uses these files.
+
+ * Platform/CoreIPC/win/BinarySemaphoreWin.cpp: Added.
+ * Platform/CoreIPC/win/ConnectionWin.cpp: Added.
+ * Platform/win/SharedMemoryWin.cpp: Added.
+ * Platform/win/WorkQueueWin.cpp: Added.
+
+2013-01-07 Christophe Dumez <christophe.dumez@intel.com>
+
+ [CoordinatedGraphics] compositing/repaint/resize-repaint.html is failing
+ https://bugs.webkit.org/show_bug.cgi?id=104637
+
+ Reviewed by Noam Rosenthal.
+
+ r137526 attempted to fix excessive repainting when compositing layers
+ change size. However, the fix did not suffice for ports using Coordinated
+ Graphics because CoordinatedGraphicsLayer::setSize() was calling
+ setNeedsDisplay() causing a full repaint.
+
+ This patch removes the call to setNeedsDisplay() in
+ CoordinatedGraphicsLayer::setSize() so that we don't unconditionally
+ repaint CoordinatedGraphics layers when their size changes.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::setSize):
+
+2013-01-07 Christophe Dumez <christophe.dumez@intel.com>
+
+ [CoordinatedGraphics] Support invalidation tracking for CoordinatedGraphicsLayer
+ https://bugs.webkit.org/show_bug.cgi?id=106002
+
+ Reviewed by Noam Rosenthal.
+
+ Add calls to addRepaintRect() to CoordinatedGraphicsLayer so that
+ we can track invalidation in the composited layer.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::setContentsNeedsDisplay):
+ (WebCore::CoordinatedGraphicsLayer::setNeedsDisplay): Pass a FloatRect instead
+ of an IntRect to setNeedsDisplayInRect() since it is what it expects.
+ (WebCore::CoordinatedGraphicsLayer::setNeedsDisplayInRect):
+
+2013-01-07 Anders Carlsson <andersca@apple.com>
+
+ Remove PLATFORM(WIN) #ifdefs
+ https://bugs.webkit.org/show_bug.cgi?id=106279
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/BinarySemaphore.cpp:
+ * Platform/CoreIPC/Connection.cpp:
+ (CoreIPC::Connection::waitForSyncReply):
+ * Platform/CoreIPC/Connection.h:
+ (Client):
+ * Platform/Module.cpp:
+ (WebKit::Module::Module):
+ * Platform/Module.h:
+ (Module):
+ * Platform/PlatformProcessIdentifier.h:
+ (WebKit):
+ * Shared/CommandLine.h:
+ (CommandLine):
+ * Shared/FontSmoothingLevel.h:
+ * Shared/LayerTreeContext.h:
+ (LayerTreeContext):
+ * Shared/NativeWebKeyboardEvent.h:
+ (NativeWebKeyboardEvent):
+ * Shared/NativeWebMouseEvent.h:
+ (NativeWebMouseEvent):
+ * Shared/NativeWebWheelEvent.h:
+ (NativeWebWheelEvent):
+ * Shared/PlatformPopupMenuData.cpp:
+ (WebKit::PlatformPopupMenuData::PlatformPopupMenuData):
+ (WebKit::PlatformPopupMenuData::encode):
+ (WebKit::PlatformPopupMenuData::decode):
+ * Shared/PlatformPopupMenuData.h:
+ (PlatformPopupMenuData):
+ * Shared/Plugins/PluginModuleInfo.h:
+ (PluginModuleInfo):
+ (WebKit::PluginModuleInfo::isolatedCopy):
+ * Shared/ShareableBitmap.h:
+ (ShareableBitmap):
+ * Shared/WebCoreArgumentCoders.h:
+ * Shared/WebEvent.h:
+ (WebMouseEvent):
+ * Shared/WebEventConversion.cpp:
+ (WebKit::WebKit2PlatformMouseEvent::WebKit2PlatformMouseEvent):
+ * Shared/WebMouseEvent.cpp:
+ (WebKit::WebMouseEvent::WebMouseEvent):
+ (WebKit::WebMouseEvent::encode):
+ (WebKit::WebMouseEvent::decode):
+ * Shared/WebPageCreationParameters.cpp:
+ (WebKit::WebPageCreationParameters::encode):
+ (WebKit::WebPageCreationParameters::decode):
+ * Shared/WebPageCreationParameters.h:
+ (WebPageCreationParameters):
+ * Shared/WebPreferencesStore.h:
+ (WebKit):
+ * Shared/WebProcessCreationParameters.cpp:
+ (WebKit::WebProcessCreationParameters::WebProcessCreationParameters):
+ (WebKit::WebProcessCreationParameters::encode):
+ (WebKit::WebProcessCreationParameters::decode):
+ * Shared/WebProcessCreationParameters.h:
+ (WebProcessCreationParameters):
+ * Shared/WebURLRequest.h:
+ * Shared/WebURLResponse.h:
+ * Shared/cg/ShareableBitmapCG.cpp:
+ (WebKit::ShareableBitmap::makeCGImageCopy):
+ * UIProcess/API/C/WKAPICast.h:
+ (WebKit::toFontSmoothingLevel):
+ (WebKit::toAPI):
+ * UIProcess/API/C/WKPage.cpp:
+ * UIProcess/BackingStore.h:
+ (BackingStore):
+ * UIProcess/PageClient.h:
+ (WebKit):
+ (PageClient):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ * UIProcess/WebContext.h:
+ (WebContext):
+ * UIProcess/WebFullScreenManagerProxy.h:
+ (WebKit):
+ * UIProcess/WebInspectorProxy.cpp:
+ (WebKit::WebInspectorProxy::WebInspectorProxy):
+ * UIProcess/WebInspectorProxy.h:
+ (WebInspectorProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::performDragControllerAction):
+ (WebKit::WebPageProxy::didReceiveEvent):
+ (WebKit::WebPageProxy::creationParameters):
+ (WebKit):
+ * UIProcess/WebPageProxy.h:
+ (WebKit):
+ (WebPageProxy):
+ * UIProcess/WebPageProxy.messages.in:
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * WebKit2Prefix.h:
+ * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
+ (WKBundleFrameCopyWebArchiveFilteringSubframes):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::setPrivateBrowsingEnabled):
+ (WebKit::InjectedBundle::switchNetworkLoaderToNewTestingSession):
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (WebKit):
+ (InjectedBundle):
+ * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
+ (WebKit::NPN_GetValue):
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+ (NetscapePlugin):
+ * WebProcess/Plugins/PluginController.h:
+ (PluginController):
+ * WebProcess/Plugins/PluginView.cpp:
+ * WebProcess/Plugins/PluginView.h:
+ (PluginView):
+ * WebProcess/ResourceCache/cf/WebResourceCacheManagerCFNet.cpp:
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::selectItemWritingDirectionIsNatural):
+ (WebKit::WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebChromeClient.h:
+ (WebChromeClient):
+ * WebProcess/WebCoreSupport/WebDragClient.cpp:
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+ (WebKit::WebEditorClient::respondToChangedSelection):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
+ (WebFrameLoaderClient):
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ * WebProcess/WebCoreSupport/WebPopupMenu.cpp:
+ (WebKit::WebPopupMenu::updateFromElement):
+ * WebProcess/WebKitMain.cpp:
+ * WebProcess/WebPage/DrawingArea.h:
+ (WebKit):
+ (DrawingArea):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::createGraphicsContext):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+ * WebProcess/WebPage/LayerTreeHost.cpp:
+ (WebKit::LayerTreeHost::create):
+ * WebProcess/WebPage/LayerTreeHost.h:
+ (WebCore):
+ (WebKit):
+ (LayerTreeHost):
+ * WebProcess/WebPage/WebFrame.cpp:
+ (WebKit):
+ * WebProcess/WebPage/WebFrame.h:
+ (WebFrame):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage):
+ (WebKit::WebPage::installPageOverlay):
+ (WebKit::WebPage::uninstallPageOverlay):
+ (WebKit::WebPage::getWebArchiveOfFrame):
+ (WebKit):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess):
+ (WebKit::WebProcess::ensurePrivateBrowsingSession):
+ (WebKit::WebProcess::destroyPrivateBrowsingSession):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/WebProcess.messages.in:
+ * config.h:
+
+2013-01-07 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Delete more obsolete Keychain code
+ https://bugs.webkit.org/show_bug.cgi?id=106276
+
+ Reviewed by Sam Weinig.
+
+ Deleting dead code.
+
+ * Shared/mac/KeychainAttribute.cpp: Removed.
+ * Shared/mac/KeychainAttribute.h: Removed.
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-07 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Merge SecItemShimMethods files into SecItemShim
+ https://bugs.webkit.org/show_bug.cgi?id=106278
+
+ Reviewed by Anders Carlsson.
+
+ Now that we have a SecItemShim class, there is no reason to split implementation
+ into a separate file.
+
+ * Shared/mac/SecItemShim.cpp:
+ (WebKit::responseMap):
+ (WebKit::generateSecItemRequestID):
+ (WebKit::sendSecItemRequest):
+ (WebKit::webSecItemCopyMatching):
+ (WebKit::webSecItemAdd):
+ (WebKit::webSecItemUpdate):
+ (WebKit::webSecItemDelete):
+ (WebKit::SecItemShim::secItemResponse):
+ (WebKit::SecItemShim::install):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/mac/SecItemShimMethods.h: Removed.
+ * WebProcess/mac/SecItemShimMethods.mm: Removed.
+
+2013-01-07 Ryosuke Niwa <rniwa@webkit.org>
+
+ Sorted the xcodeproj file.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-07 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Make SecItemShim messages work with any process
+ https://bugs.webkit.org/show_bug.cgi?id=106269
+
+ Reviewed by Sam Weinig.
+
+ Add SecItemShim and SecItemShimProxy classes to manage message sending, and moved
+ relevant code from WebProcess(Proxy).
+
+ * DerivedSources.make:
+ * Platform/CoreIPC/MessageID.h:
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didFinishLaunching):
+ * UIProcess/WebProcessProxy.h:
+ (WebProcessProxy):
+ * UIProcess/WebProcessProxy.messages.in:
+ * Shared/mac/SecItemShim.cpp: Added.
+ (WebKit::SecItemShim::shared):
+ (WebKit::SecItemShim::SecItemShim):
+ (WebKit::SecItemShim::secItemResponse):
+ (WebKit::SecItemShim::install):
+ (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
+ * Shared/mac/SecItemShim.h: Added.
+ * Shared/mac/SecItemShim.messages.in: Added.
+ * UIProcess/mac/SecItemShimProxy.cpp: Added.
+ (WebKit::SecItemShimProxy::shared):
+ (WebKit::SecItemShimProxy::SecItemShimProxy):
+ (WebKit::handleSecItemRequest):
+ (WebKit::dispatchFunctionOnQueue):
+ (WebKit::SecItemShimProxy::secItemRequest):
+ (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
+ * UIProcess/mac/SecItemShimProxy.h: Added.
+ * UIProcess/mac/SecItemShimProxy.messages.in: Added.
+ * UIProcess/mac/WebProcessProxyMac.mm:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ * WebProcess/WebProcess.h:
+ * WebProcess/WebProcess.messages.in:
+ * WebProcess/mac/SecItemShimMethods.mm:
+ (WebKit::sendSeqItemRequest):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeProcess):
+
+2013-01-07 Anders Carlsson <andersca@apple.com>
+
+ Remove Windows files from WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=106264
+
+ Reviewed by Sam Weinig.
+
+ * Platform/CoreIPC/win/BinarySemaphoreWin.cpp: Removed.
+ * Platform/CoreIPC/win/ConnectionWin.cpp: Removed.
+ * Platform/win/ModuleWin.cpp: Removed.
+ * Platform/win/SharedMemoryWin.cpp: Removed.
+ * Platform/win/WorkQueueWin.cpp: Removed.
+ * Shared/API/c/win/WKBaseWin.h: Removed.
+ * Shared/API/c/win/WKCertificateInfoWin.cpp: Removed.
+ * Shared/API/c/win/WKCertificateInfoWin.h: Removed.
+ * Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp: Removed.
+ * Shared/cg/win/ShareableBitmapCGWin.cpp: Removed.
+ * Shared/win/CoalescedWindowGeometriesUpdater.cpp: Removed.
+ * Shared/win/CoalescedWindowGeometriesUpdater.h: Removed.
+ * Shared/win/CommandLineWin.cpp: Removed.
+ * Shared/win/LayerTreeContextWin.cpp: Removed.
+ * Shared/win/NativeWebKeyboardEventWin.cpp: Removed.
+ * Shared/win/NativeWebMouseEventWin.cpp: Removed.
+ * Shared/win/NativeWebWheelEventWin.cpp: Removed.
+ * Shared/win/PlatformCertificateInfo.cpp: Removed.
+ * Shared/win/PlatformCertificateInfo.h: Removed.
+ * Shared/win/ShareableBitmapWin.cpp: Removed.
+ * Shared/win/WebCoreArgumentCodersWin.cpp: Removed.
+ * Shared/win/WebEventFactory.cpp: Removed.
+ * Shared/win/WebEventFactory.h: Removed.
+ * Shared/win/WebKitBundle.cpp: Removed.
+ * Shared/win/WebKitBundle.h: Removed.
+ * Shared/win/WebURLRequestWin.cpp: Removed.
+ * Shared/win/WebURLResponseWin.cpp: Removed.
+ * Shared/win/WindowGeometry.cpp: Removed.
+ * Shared/win/WindowGeometry.h: Removed.
+ * UIProcess/API/C/win/WKAPICastWin.h: Removed.
+ * UIProcess/API/C/win/WKContextPrivateWin.h: Removed.
+ * UIProcess/API/C/win/WKContextWin.cpp: Removed.
+ * UIProcess/API/C/win/WKView.cpp: Removed.
+ * UIProcess/API/C/win/WKView.h: Removed.
+ * UIProcess/API/C/win/WKViewPrivate.cpp: Removed.
+ * UIProcess/API/C/win/WKViewPrivate.h: Removed.
+ * UIProcess/Launcher/win/ProcessLauncherWin.cpp: Removed.
+ * UIProcess/Plugins/win/PluginInfoStoreWin.cpp: Removed.
+ * UIProcess/win/BackingStoreWin.cpp: Removed.
+ * UIProcess/win/TextCheckerWin.cpp: Removed.
+ * UIProcess/win/WebContextMenuProxyWin.cpp: Removed.
+ * UIProcess/win/WebContextMenuProxyWin.h: Removed.
+ * UIProcess/win/WebContextWin.cpp: Removed.
+ * UIProcess/win/WebFullScreenManagerProxyWin.cpp: Removed.
+ * UIProcess/win/WebInspectorProxyWin.cpp: Removed.
+ * UIProcess/win/WebPageProxyWin.cpp: Removed.
+ * UIProcess/win/WebPopupMenuProxyWin.cpp: Removed.
+ * UIProcess/win/WebPopupMenuProxyWin.h: Removed.
+ * UIProcess/win/WebProcessProxyWin.cpp: Removed.
+ * UIProcess/win/WebUndoClient.cpp: Removed.
+ * UIProcess/win/WebUndoClient.h: Removed.
+ * UIProcess/win/WebView.cpp: Removed.
+ * UIProcess/win/WebView.h: Removed.
+ * WebProcess/Downloads/cf/win/DownloadCFWin.cpp: Removed.
+ * WebProcess/InjectedBundle/API/c/win/WKBundlePrivateWin.cpp: Removed.
+ * WebProcess/InjectedBundle/API/c/win/WKBundlePrivateWin.h: Removed.
+ * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp: Removed.
+ * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebContextMenuClientWin.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebDragClientWin.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebDragSource.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebDragSource.h: Removed.
+ * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.cpp: Removed.
+ * WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h: Removed.
+ * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp: Removed.
+ * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp: Removed.
+ * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.h: Removed.
+ * WebProcess/WebPage/ca/win/WKCACFViewWindow.cpp: Removed.
+ * WebProcess/WebPage/ca/win/WKCACFViewWindow.h: Removed.
+ * WebProcess/WebPage/win/DrawingAreaImplWin.cpp: Removed.
+ * WebProcess/WebPage/win/LayerTreeHostWin.cpp: Removed.
+ * WebProcess/WebPage/win/WebInspectorWin.cpp: Removed.
+ * WebProcess/WebPage/win/WebPageWin.cpp: Removed.
+ * WebProcess/win/WebProcessMainWin.cpp: Removed.
+ * WebProcess/win/WebProcessWin.cpp: Removed.
+
+2013-01-07 Xianzhu Wang <wangxianzhu@chromium.org>
+
+ Add window.internals.nonFastScrollableRects for testing scrollable areas in fast/slow paths
+ https://bugs.webkit.org/show_bug.cgi?id=105546
+
+ Reviewed by James Robinson.
+
+ Export the new symbol.
+
+ * win/WebKit2.def.in:
+
+2013-01-07 Mike West <mkwst@chromium.org>
+
+ Make the IFRAME_SEAMLESS flag runtime-enabled.
+ https://bugs.webkit.org/show_bug.cgi?id=106213
+
+ Reviewed by Ojan Vafai.
+
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ (WKBundleSetSeamlessIFramesEnabled):
+ * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::setSeamlessIFramesEnabled):
+ (WebKit):
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (InjectedBundle):
+ Add a toggle for seamless IFrames to InjectedBundle, and set it to
+ true when beginning testing.
+
+2013-01-07 Alexey Proskuryakov <ap@apple.com>
+
+ [WK2] Remove more obsolete shim code
+ https://bugs.webkit.org/show_bug.cgi?id=106248
+
+ Reviewed by Anders Carlsson.
+
+ Removing KeychainItemShimCallbacks, and SecItemRequestData::CopyContent, which was
+ only needed for that obsolete version of shim.
+
+ We now use WebProcessSecItemShimCallbacks.
+
+ * Shared/mac/SecItemRequestData.h:
+ * UIProcess/mac/WebProcessProxyMac.mm:
+ (WebKit::handleSecItemRequest):
+ * WebProcess/mac/WebProcessShim.h:
+
+2013-01-05 Sam Weinig <sam@webkit.org>
+
+ Merge child process main functions as much as possible
+ https://bugs.webkit.org/show_bug.cgi?id=106192
+
+ Reviewed by Anders Carlsson.
+
+ To reduce copied code, this merges the Mac main functions for the WebProcess,
+ NetworkProcess, PluginProcess, and SharedWorkerProcess. Since slight variations
+ are needed, it adds a delegate class for hooks into the main function that each
+ process can override if necessary.
+
+ * NetworkProcess/mac/NetworkProcessMainMac.mm:
+ (WebKit::NetworkProcessMain):
+ Remove almost everything with a call to ChildProcessMain with the default delegate.
+
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializeProcess):
+ Move defaults registration here from PluginProcessMainMac.
+
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (PluginProcessMainDelegate):
+ Add a delegate for the new shared main function that does does PluginProcess
+ specific work.
+
+ (WebKit::PluginProcessMainDelegate::doPreInitializationWork):
+ Move DYLD_INSERT_LIBRARIES removal and createPluginMIMETypesPreferences special mode
+ to this pre-initialization hook.
+
+ (WebKit::PluginProcessMainDelegate::doPostRunWork):
+ Move private temporary and cache directories clean up to this post run hook.
+
+ (WebKit::PluginProcessMain):
+ Call the ChildProcessMain shared main function with the PluginProcess as the process
+ to initialize and PluginProcessMainDelegate as the main delegate.
+
+ * Shared/mac/ChildProcessMain.h: Added.
+ (ChildProcessMainDelegate):
+ ChildProcessMainDelegate is a helper class that process can subclass to hook into
+ the main function.
+
+ (WebKit::ChildProcessMain):
+ Add a single version of the "main" function that uses the ChildProcessMainDelegate to
+ allow processes to hook into it.
+
+ * Shared/mac/ChildProcessMain.mm:
+ (WebKit::ChildProcessMainDelegate::~ChildProcessMainDelegate):
+ (WebKit::ChildProcessMainDelegate::installSignalHandlers):
+ (WebKit::ChildProcessMainDelegate::doPreInitializationWork):
+ (WebKit::ChildProcessMainDelegate::getConnectionIdentifier):
+ (WebKit::ChildProcessMainDelegate::getClientIdentifier):
+ (WebKit::ChildProcessMainDelegate::getClientProcessName):
+ (WebKit::ChildProcessMainDelegate::doPostRunWork):
+ Add default implementations of the delegate hooks, most processes should be able to
+ use the defaults.
+
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain):
+ Remove almost everything with a call to ChildProcessMain with the default delegate.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ Add new files.
+
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebProcessMainDelegate):
+ Add a delegate for the new shared main function that does does WebProcess
+ specific work.
+
+ (WebKit::WebProcessMainDelegate::doPreInitializationWork):
+ Move DYLD_INSERT_LIBRARIES removal to this this pre-initialization hook.
+
+ (WebKit::WebProcessMainDelegate::getConnectionIdentifier):
+ A custom getConnectionIdentifier is necessary for the WebProcess to keep support for having the WebProcess
+ be able to launch the UIProcess (for debugging purposes).
+
+ (WebKit::WebProcessMainDelegate::getClientIdentifier):
+ For the same reasons as about, a custom getClientIdentifier is needed.
+
+ (WebKit::WebProcessMain):
+ Call the ChildProcessMain shared main function with the WebProcess as the process
+ to initialize and WebProcessMainDelegate as the main delegate.
+
+2013-01-07 Simon Fraser <simon.fraser@apple.com>
+
+ Make WKViews work when layer-backed
+ https://bugs.webkit.org/show_bug.cgi?id=106166
+
+ Reviewed by Sam Weinig.
+
+ When not in TileCache mode, WebKit2 views had redraw problems on scrolling,
+ if layer-backed.
+
+ The issue is that the DrawingAreaProxy code tries to optimize scrolling by
+ calling -scrollRect:by: on the WKView (an NSView) to copy bits, rather than
+ repainting the entire view. However, -scrollRect:by: does nothing for NSViews
+ that have layers.
+
+ Fix by plumbing through a canScrollView() function which PageClientImpl()
+ implements, returning true if the view does not have layer backing.
+ When canScrollView() is false, DrawingAreaProxyImpl::incorporateUpdate()
+ dirties the entire view.
+
+ * UIProcess/API/gtk/PageClientImpl.h:
+ (WebKit::PageClientImpl::canScrollView):
+ * UIProcess/API/mac/PageClientImpl.h:
+ (PageClientImpl):
+ * UIProcess/API/mac/PageClientImpl.mm:
+ (WebKit::PageClientImpl::canScrollView):
+ * UIProcess/API/qt/raw/qrawwebview_p_p.h:
+ (QRawWebViewPrivate::canScrollView):
+ * UIProcess/DrawingAreaProxyImpl.cpp:
+ (WebKit::DrawingAreaProxyImpl::incorporateUpdate):
+ * UIProcess/PageClient.h:
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::canScrollView):
+ * UIProcess/WebPageProxy.h:
+ * UIProcess/efl/PageClientBase.h:
+ (WebKit::PageClientBase::canScrollView):
+ * UIProcess/qt/QtPageClient.h:
+ (WebKit::QtPageClient::canScrollView):
+ * UIProcess/win/WebView.h:
+ (WebKit::WebView::canScrollView):
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Remove WebProcessInitialization and NetworkProcessInitialization by putting the rest of initialization in ChildProcess derived classes
+ https://bugs.webkit.org/show_bug.cgi?id=106163
+
+ Reviewed by Darin Adler.
+
+ Adds ChildProcess::initializeProcessName() and the catchall ChildProcess::initializeProcess()
+ as the last pieces to have all the initialization from WebProcessInitialization and NetworkProcessInitialization
+ captured in ChildProcess and derived classes.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeProcessName):
+ (WebKit::NetworkProcess::initializeSandbox):
+ * NetworkProcess/NetworkProcess.h:
+ (NetworkProcess):
+ * NetworkProcess/mac/NetworkProcessInitialization.h: Removed.
+ * NetworkProcess/mac/NetworkProcessInitialization.mm: Removed.
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::initializeProcessName):
+ (WebKit::NetworkProcess::initializeSandbox):
+ * NetworkProcess/mac/NetworkProcessMainMac.mm:
+ (WebKit::NetworkProcessMain):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::initializeProcess):
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::PluginProcess::platformInitializeProcess):
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/qt/PluginProcessQt.cpp:
+ (WebKit::PluginProcess::platformInitializeProcess):
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * PluginProcess/unix/PluginProcessUnix.cpp:
+ (WebKit::PluginProcess::platformInitializeProcess):
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::initialize):
+ (WebKit::ChildProcess::initializeProcess):
+ (WebKit::ChildProcess::initializeProcessName):
+ (WebKit::ChildProcess::initializeSandbox):
+ (WebKit::ChildProcess::initializeConnection):
+ * Shared/ChildProcess.h:
+ (ChildProcess):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain):
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeProcess):
+ (WebKit::WebProcess::initializeProcessName):
+ (WebKit::WebProcess::initializeSandbox):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/mac/WebProcessInitialization.h: Removed.
+ * WebProcess/mac/WebProcessInitialization.mm: Removed.
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::initializeSandbox):
+ (WebKit::WebProcess::initializeProcessName):
+ (WebKit::WebProcess::platformInitializeProcess):
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebKit::WebProcessMain):
+ * WebProcess/mac/WebProcessServiceEntryPoints.mm:
+ (WebKit::WebProcessServiceEventHandler):
+ (initializeWebProcessForWebProcessServiceForWebKitDevelopment):
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Fix failing API test.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ (WebKit::WebProcess::initializeWebProcess):
+ The WebConnectionToUIProcess needs to be initialized before the injected bundle is,
+ so that if the user tries to use it, its there.
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Consolidate all the one time initialization functions into a single InitializeWebKit2() super function
+ https://bugs.webkit.org/show_bug.cgi?id=106161
+
+ Reviewed by Simon Fraser.
+
+ Adds InitializeWebKit2 and uses it.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeNetworkProcess):
+ * NetworkProcess/mac/NetworkProcessInitialization.mm:
+ (WebKit::initializeNetworkProcess):
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain):
+ * Shared/WebKit2Initialize.cpp: Copied from Source/WebKit2/NetworkProcess/mac/NetworkProcessInitialization.mm.
+ (WebKit::InitializeWebKit2):
+ * Shared/WebKit2Initialize.h: Copied from Source/WebKit2/NetworkProcess/mac/NetworkProcessInitialization.mm.
+ (WebKit):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain):
+ * Target.pri:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ * WebProcess/mac/WebProcessInitialization.mm:
+ (WebKit::initializeWebProcess):
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Follow up to https://bugs.webkit.org/show_bug.cgi?id=106144, fixing some
+ of Alexey's review comments.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::downloadProxyConnection):
+ (WebKit::NetworkProcess::createNetworkConnectionToWebProcess):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::createWebProcessConnection):
+ (WebKit::PluginProcess::getSitesWithData):
+ (WebKit::PluginProcess::clearSiteData):
+ * Shared/ChildProcess.h:
+ (WebKit::ChildProcess::parentProcessConnection):
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::downloadProxyConnection):
+ (WebKit::WebProcess::addVisitedLink):
+ (WebKit::WebProcess::removeWebFrame):
+ (WebKit::WebProcess::getSitesWithPluginData):
+ (WebKit::WebProcess::clearPluginSiteData):
+ (WebKit::WebProcess::addPlugInAutoStartOrigin):
+ (WebKit::WebProcess::plugInDidReceiveUserInteraction):
+ (WebKit::WebProcess::getWebCoreStatistics):
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Consolidate process initialization in ChildProcess
+ https://bugs.webkit.org/show_bug.cgi?id=106144
+
+ Reviewed by Alexey Proskuryakov.
+
+ Consolidate more functionality down into ChildProcess.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::didReceiveMessage):
+ (WebKit::NetworkProcess::didReceiveSyncMessage):
+ (WebKit::NetworkProcess::downloadProxyConnection):
+ (WebKit::NetworkProcess::initializeNetworkProcess):
+ (WebKit::NetworkProcess::createNetworkConnectionToWebProcess):
+ (WebKit::NetworkProcess::initializeSandbox):
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/mac/NetworkProcessInitialization.h:
+ * NetworkProcess/mac/NetworkProcessInitialization.mm:
+ (WebKit::initializeNetworkProcess):
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::platformInitializeNetworkProcess):
+ * NetworkProcess/mac/NetworkProcessMainMac.mm:
+ (WebKit::NetworkProcessMain):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::PluginProcess):
+ (WebKit::PluginProcess::initializePluginProcess):
+ (WebKit::PluginProcess::createWebProcessConnection):
+ (WebKit::PluginProcess::getSitesWithData):
+ (WebKit::PluginProcess::clearSiteData):
+ * PluginProcess/PluginProcess.h:
+ (PluginProcess):
+ * PluginProcess/mac/PluginProcessMac.mm:
+ (WebKit::initializeShim):
+ (WebKit::initializeCocoaOverrides):
+ (WebKit::PluginProcess::platformInitialize):
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/qt/PluginProcessMainQt.cpp:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/qt/PluginProcessQt.cpp:
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * PluginProcess/unix/PluginProcessMainUnix.cpp:
+ (WebKit::PluginProcessMainUnix):
+ * PluginProcess/unix/PluginProcessUnix.cpp:
+ (WebKit::PluginProcess::platformInitializePluginProcess):
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::ChildProcess):
+ (WebKit::watchdogCallback):
+ (WebKit::didCloseOnConnectionWorkQueue):
+ (WebKit::ChildProcess::initialize):
+ (WebKit::ChildProcess::initializeConnection):
+ (WebKit::ChildProcess::initializeSandbox):
+ (WebKit::ChildProcess::terminate):
+ * Shared/ChildProcess.h:
+ (ChildProcessInitializationParameters):
+ (ChildProcess):
+ (WebKit::ChildProcess::connection):
+ (WebKit::ChildProcess::destinationID):
+ (WebKit::ChildProcess::messageReceiverMap):
+ * SharedWorkerProcess/SharedWorkerProcess.cpp:
+ (WebKit::SharedWorkerProcess::initializeSharedWorkerProcess):
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ (SharedWorkerProcess):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm:
+ (WebKit::SharedWorkerProcess::platformInitializeSharedWorkerProcess):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ (WebKit::WebProcess::downloadProxyConnection):
+ (WebKit::WebProcess::initializeWebProcess):
+ (WebKit::WebProcess::terminate):
+ (WebKit::WebProcess::didReceiveSyncMessage):
+ (WebKit::WebProcess::didReceiveMessage):
+ (WebKit::WebProcess::removeWebFrame):
+ (WebKit::WebProcess::initializeSandbox):
+ * WebProcess/WebProcess.h:
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ (WebKit::WebProcessMainEfl):
+ * WebProcess/gtk/WebProcessMainGtk.cpp:
+ (WebKit::WebProcessMainGtk):
+ * WebProcess/mac/WebProcessInitialization.h:
+ * WebProcess/mac/WebProcessInitialization.mm:
+ (WebKit::initializeWebProcess):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitialize):
+ * WebProcess/mac/WebProcessMainMac.mm:
+ (WebKit::WebProcessMain):
+ * WebProcess/mac/WebProcessServiceEntryPoints.mm:
+ (WebKit::WebProcessServiceEventHandler):
+ (initializeWebProcessForWebProcessServiceForWebKitDevelopment):
+ * WebProcess/qt/WebProcessMainQt.cpp:
+ (WebKit::WebProcessMainQt):
+
+2013-01-04 Tim Horton <timothy_horton@apple.com>
+
+ [wk2] Remove non-visible tiles from the layer tree
+ https://bugs.webkit.org/show_bug.cgi?id=106061
+ <rdar://problem/12761821>
+
+ Reviewed by Simon Fraser.
+
+ Add a setting to enable aggressive retention of TileCache tiles. If enabled,
+ TileCache will generally try to keep around all tiles. This setting is off by default.
+
+ * Shared/WebPreferencesStore.h:
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetAggressiveTileRetentionEnabled):
+ (WKPreferencesGetAggressiveTileRetentionEnabled):
+ * UIProcess/API/C/WKPreferencesPrivate.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::updatePreferences):
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::updatePreferences): Forward the setting to the TiledBacking.
+
+2013-01-04 Sam Weinig <sam@webkit.org>
+
+ Make process initialization more uniform by renaming initialization methods and removing extraneous parameters
+ https://bugs.webkit.org/show_bug.cgi?id=106120
+
+ Reviewed by Brady Eidson.
+
+ Rename FooProcess::initialize() -> FooProcess::initializeConnection() and removes
+ the RunLoop parameter since it is always the same the as RunLoop::main().
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initializeConnection):
+ * NetworkProcess/NetworkProcess.h:
+ (NetworkProcess):
+ * NetworkProcess/mac/NetworkProcessInitialization.mm:
+ (WebKit::initializeNetworkProcess):
+ * PluginProcess/PluginProcess.cpp:
+ (WebKit::PluginProcess::initializeConnection):
+ * PluginProcess/PluginProcess.h:
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/qt/PluginProcessMainQt.cpp:
+ (WebKit::PluginProcessMain):
+ * PluginProcess/unix/PluginProcessMainUnix.cpp:
+ (WebKit::PluginProcessMainUnix):
+ * SharedWorkerProcess/SharedWorkerProcess.cpp:
+ (WebKit::SharedWorkerProcess::initializeConnection):
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ (SharedWorkerProcess):
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain):
+
+2013-01-04 Adam Klein <adamk@chromium.org>
+
+ Remove ENABLE_MUTATION_OBSERVERS #define
+ https://bugs.webkit.org/show_bug.cgi?id=105459
+
+ Reviewed by Ryosuke Niwa.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2013-01-04 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [WK2] [Gtk] crash when web inspector is attached, and window height is reduced.
+ https://bugs.webkit.org/show_bug.cgi?id=106052
+
+ Reviewed by Martin Robinson.
+
+ Do not allocate more size for the inspector view than its parent
+ size. Also make sure that the view size is always at least 1.
+
+ * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+ (resizeWebKitWebViewBaseFromAllocation):
+
+2013-01-04 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK][Qt] Make compositing messages async again
+ https://bugs.webkit.org/show_bug.cgi?id=106082
+
+ Reviewed by Simon Hausmann.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setComposition):
+ (WebKit::WebPageProxy::confirmComposition):
+ (WebKit::WebPageProxy::cancelComposition):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::confirmComposition):
+ (WebKit::WebPage::setComposition):
+ (WebKit::WebPage::cancelComposition):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+
+2013-01-04 Christophe Dumez <christophe.dumez@intel.com>
+
+ Regression(r138728): Causes crashes on the build bots
+ https://bugs.webkit.org/show_bug.cgi?id=106083
+
+ Reviewed by Simon Hausmann.
+
+ Update encodeTimingFunction() to encode the x/y members only
+ if the bezierPreset is set to custom. This is needed because
+ decodeTimingFunction() only decodes x/y members if the
+ bezierPreset is set to custom.
+
+ This fixes assertion hits on the debug build bots.
+
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::encodeTimingFunction):
+
+2013-01-04 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [SOUP] Convert WebSoupRequestManagerProxy to be WebContextSupplement
+ https://bugs.webkit.org/show_bug.cgi?id=106012
+
+ Reviewed by Martin Robinson.
+
+ * UIProcess/API/C/soup/WKContextSoup.cpp:
+ (WKContextGetSoupRequestManager):
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (createDefaultWebContext):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ (WebKit::WebContext::~WebContext):
+ (WebKit::WebContext::disconnectProcess):
+ * UIProcess/WebContext.h:
+ (WebKit):
+ (WebContext):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didReceiveURIRequest):
+ * UIProcess/efl/WebContextEfl.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess):
+ * UIProcess/gtk/WebContextGtk.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess):
+ * UIProcess/soup/WebSoupRequestManagerProxy.cpp:
+ (WebKit::WebSoupRequestManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebSoupRequestManagerProxy::WebSoupRequestManagerProxy):
+ (WebKit::WebSoupRequestManagerProxy::initializeClient):
+ (WebKit::WebSoupRequestManagerProxy::contextDestroyed):
+ (WebKit::WebSoupRequestManagerProxy::processDidClose):
+ (WebKit::WebSoupRequestManagerProxy::refWebContextSupplement):
+ (WebKit::WebSoupRequestManagerProxy::derefWebContextSupplement):
+ (WebKit::WebSoupRequestManagerProxy::registerURIScheme):
+ (WebKit::WebSoupRequestManagerProxy::didHandleURIRequest):
+ (WebKit::WebSoupRequestManagerProxy::didReceiveURIRequestData):
+ * UIProcess/soup/WebSoupRequestManagerProxy.h:
+ (WebSoupRequestManagerProxy):
+
+2013-01-04 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [EFL][WK2] Remove unneeded EwkViewImpl::informLoadCommitted()
+ https://bugs.webkit.org/show_bug.cgi?id=106010
+
+ Reviewed by Gyuyoung Kim.
+
+ Removed EwkViewImpl::informLoadCommitted() method to simplify the code.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ * UIProcess/API/efl/EwkViewImpl.h:
+ * UIProcess/efl/PageClientBase.h:
+ (PageClientBase):
+ * UIProcess/efl/PageLoadClientEfl.cpp:
+ (WebKit::PageLoadClientEfl::didCommitLoadForFrame):
+
+2013-01-03 Jon Lee <jonlee@apple.com>
+
+ REGRESSION(r138729): crash and assertion failures in WebKit::WebProcess::plugInDidReceiveUserInteraction
+ https://bugs.webkit.org/show_bug.cgi?id=106042
+ <rdar://problem/12953469>
+
+ Reviewed by Brady Eidson.
+
+ The assertion is hit if plugin snapshotting is disabled, and the user interacts with a plug-in that
+ comes from an origin not found in the cached dictionary. The proper fix is to check for whether the
+ setting is enabled. Otherwise, that origin should be in the dictionary since the plugin is running.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::pluginDidReceiveUserInteraction): Check for the setting, and avoid the whole code
+ path if snapshotting is disabled.
+
+2013-01-03 Roger Fong <roger_fong@apple.com>
+
+ Remove all traces of Windows from WebKit2 folder.
+ https://bugs.webkit.org/show_bug.cgi?id=105585.
+
+ Reviewed by Sam Weinig.
+
+ * win: Removed.
+ * win/MainWin.cpp: Removed.
+ * win/WebKit2.def.in: Removed.
+ * win/WebKit2.make: Removed.
+ * win/WebKit2.rc: Removed.
+ * win/WebKit2.submit.sln: Removed.
+ * win/WebKit2.vcproj: Removed.
+ * win/WebKit2Apple.vsprops: Removed.
+ * win/WebKit2CFLite.vsprops: Removed.
+ * win/WebKit2Common.vsprops: Removed.
+ * win/WebKit2Debug.vsprops: Removed.
+ * win/WebKit2DebugAll.vsprops: Removed.
+ * win/WebKit2DebugCairoCFLite.vsprops: Removed.
+ * win/WebKit2DirectX.vsprops: Removed.
+ * win/WebKit2ExportGenerator.vcproj: Removed.
+ * win/WebKit2ExportGeneratorBuildCmd.cmd: Removed.
+ * win/WebKit2ExportGeneratorCommon.vsprops: Removed.
+ * win/WebKit2ExportGeneratorDebug.vsprops: Removed.
+ * win/WebKit2ExportGeneratorDebugAll.vsprops: Removed.
+ * win/WebKit2ExportGeneratorDebugCairoCFLite.vsprops: Removed.
+ * win/WebKit2ExportGeneratorPostBuild.cmd: Removed.
+ * win/WebKit2ExportGeneratorPreBuild.cmd: Removed.
+ * win/WebKit2ExportGeneratorProduction.vsprops: Removed.
+ * win/WebKit2ExportGeneratorRelease.vsprops: Removed.
+ * win/WebKit2ExportGeneratorReleaseCairoCFLite.vsprops: Removed.
+ * win/WebKit2Generated.make: Removed.
+ * win/WebKit2Generated.vcproj: Removed.
+ * win/WebKit2GeneratedCommon.vsprops: Removed.
+ * win/WebKit2Production.vsprops: Removed.
+ * win/WebKit2Release.vsprops: Removed.
+ * win/WebKit2ReleaseCairoCFLite.vsprops: Removed.
+ * win/WebKit2WebProcess.resources: Removed.
+ * win/WebKit2WebProcess.resources/Info.plist: Removed.
+ * win/WebKit2WebProcess.vcproj: Removed.
+ * win/WebKit2WebProcessCommon.vsprops: Removed.
+ * win/WebKit2WebProcessDebug.vsprops: Removed.
+ * win/WebKit2WebProcessDebugAll.vsprops: Removed.
+ * win/WebKit2WebProcessDebugCairoCFLite.vsprops: Removed.
+ * win/WebKit2WebProcessPostBuild.cmd: Removed.
+ * win/WebKit2WebProcessPreBuild.cmd: Removed.
+ * win/WebKit2WebProcessProduction.vsprops: Removed.
+ * win/WebKit2WebProcessRelease.vsprops: Removed.
+ * win/WebKit2WebProcessReleaseCairoCFLite.vsprops: Removed.
+ * win/WebKitPostBuild.cmd: Removed.
+ * win/WebKitPreBuild.cmd: Removed.
+ * win/WebKitPreLink.cmd: Removed.
+ * win/build-generated-files.sh: Removed.
+ * win/deleteButton.png: Removed.
+ * win/deleteButtonPressed.png: Removed.
+ * win/fsVideoAudioVolumeHigh.png: Removed.
+ * win/fsVideoAudioVolumeLow.png: Removed.
+ * win/fsVideoExitFullscreen.png: Removed.
+ * win/fsVideoPause.png: Removed.
+ * win/fsVideoPlay.png: Removed.
+ * win/missingImage.png: Removed.
+ * win/nullplugin.png: Removed.
+ * win/panEastCursor.png: Removed.
+ * win/panIcon.png: Removed.
+ * win/panNorthCursor.png: Removed.
+ * win/panNorthEastCursor.png: Removed.
+ * win/panNorthWestCursor.png: Removed.
+ * win/panSouthCursor.png: Removed.
+ * win/panSouthEastCursor.png: Removed.
+ * win/panSouthWestCursor.png: Removed.
+ * win/panWestCursor.png: Removed.
+ * win/resource.h: Removed.
+ * win/searchCancel.png: Removed.
+ * win/searchCancelPressed.png: Removed.
+ * win/searchMagnifier.png: Removed.
+ * win/searchMagnifierResults.png: Removed.
+ * win/textAreaResizeCorner.png: Removed.
+ * win/verticalTextCursor.png: Removed.
+ * win/xcopy.excludes: Removed.
+ * win/zoomInCursor.png: Removed.
+ * win/zoomOutCursor.png: Removed.
+
+2013-01-03 Kiran Muppala <cmuppala@apple.com>
+
+ Ensure autorelease pool exists when calling WKNSProcessInfoProcessAssertionWithTypes on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=105674
+
+ Reviewed by Sam Weinig.
+
+ The function WKNSProcessInfoProcessAssertionWithTypes returns a autoreleased object and since,
+ it is called during process initialization prior to the runloop being started in PluginProcess
+ and SharedWorkerProcess, an autorelease pool must be explictly created.
+
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain): Enclose process initialization code in an @autoreleasepool block.
+ * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
+ (WebKit::SharedWorkerProcessMain): Ditto.
+
+2013-01-03 Csaba Osztrogonác <ossy@webkit.org>
+
+ [Qt] Unreviewed debug buildfix after r138723.
+
+ * WebProcess/qt/QtBuiltinBundle.cpp:
+
+2013-01-02 Jon Lee <jonlee@apple.com>
+
+ Revert auto-start plugins to snapshotted plugins after a period of inactivity
+ https://bugs.webkit.org/show_bug.cgi?id=105973
+ <rdar://problem/12947865>
+
+ Reviewed by Brady Eidson.
+
+ Change the set of origin hashes maintained by the web process to a hash map that associates
+ a timestamp for each hash. If the plug-in's origin is marked for auto-start, we also check
+ it against the timestamp. If the time is later, then we consider the entry stale, and snapshot
+ the plug-in instead.
+
+ But, if the user interacts with the plug-in, we delay that expiration timestamp out, so that
+ it expires a month from first interaction. To avoid too much chatter between the web processes
+ and UI process, we only update the timestamp if a day a passed since the last change to the
+ timestamp.
+
+ * WebProcess/Plugins/PluginView.h:
+ (PluginView): Add a member variable to flag whether the user had interacted with the plug-in.
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::PluginView): Initialize the flag to false.
+ (WebKit::PluginView::handleEvent): We consider mouse down, up, wheel, context menu, and keyboard
+ events as user interaction. Do not consider mouse enter, leave, and move events as user
+ interaction. Also, remove unneeded comments.
+ (WebKit::PluginView::pluginDidReceiveUserInteraction): If this is the first time the function is
+ called, tell the web process, so that the expiration timestamp can be updated.
+
+ * WebProcess/WebProcess.messages.in: Update the messages to include the expiration time.
+ * WebProcess/WebProcess.h:
+ (WebProcess): Update the cached copy of the auto-start origins to include their expiration
+ timestamps. Update the message signatures. Add a function to update the expiration timestamp
+ for a specific origin. Rename plugInAutoStartOriginsChanged to resetPlugInAutoStartOrigins.
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess): Instead of individually adding the origins in the
+ provided vector, just call resetPlugInAutoStartOrigins().
+ (WebKit::WebProcess::isPlugInAutoStartOrigin): Check to see if the origin is in the table, and if
+ so, check the current time against the expiration time.
+ (WebKit::WebProcess::didAddPlugInAutoStartOrigin): Update the cached table.
+ (WebKit::WebProcess::resetPlugInAutoStartOrigins): Swap the tables between the provided parameter
+ and the member variable. We can safely do this because the function is called in two cases where
+ the parameter is afterwards thrown away: when a new web process is created, and when it is called
+ through an IPC message.
+ (WebKit::WebProcess::plugInDidReceiveUserInteraction): When invoked, we tell the UI process to
+ update the expiration time for the given origin if the time difference between the expiration
+ time and the current time is less than the threshold plugInAutoStartExpirationTimeUpdateThreshold.
+
+ * UIProcess/WebContext.messages.in: Add message that is called when the web process wants to
+ update the expiration timestamp for the plug-in origin.
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::plugInDidReceiveUserInteraction): Forward to the provider.
+ * UIProcess/WebContext.h:
+
+ * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
+ (WebKit::expirationTimeFromNow): Returns a new time based on the current time + 1 month.
+ (WebKit::PlugInAutoStartProvider::addAutoStartOrigin): Refactor. Set the expiration time for the
+ added origin.
+ (WebKit::PlugInAutoStartProvider::autoStartOriginsCopy): Refactor.
+ (WebKit::PlugInAutoStartProvider::autoStartOriginsTableCopy): Refactor to include the expiration
+ times. Also, check the current time against the expiration time. If we are past the time, remove
+ the entry from the copy.
+ (WebKit::PlugInAutoStartProvider::setAutoStartOriginsTable): Refactor to extract and duplicate
+ the provided map of origins and expiration timestamps.
+ (WebKit::PlugInAutoStartProvider::didReceiveUserInteraction): Look for the origin hash. If found,
+ update the expiration time. Update all existing web processes with the new expiration time, and
+ tell the context client that the hashes have changed.
+ * UIProcess/Plugins/PlugInAutoStartProvider.h:
+ (PlugInAutoStartProvider): Change the m_autoStartHashes variable to a map of a hash to its domain
+ entry in the auto-start table. It is used to cross-reference the auto-start table and update
+ the origin's expiration time.
+
+ * Shared/WebProcessCreationParameters.h:
+ (WebProcessCreationParameters): Switch the creation parameter to seed the origin table to a map.
+
+2013-01-03 Alexis Menard <alexis@webkit.org>
+
+ Querying transition-timing-function value on the computed style does not return keywords when it should.
+ https://bugs.webkit.org/show_bug.cgi?id=105442
+
+ Reviewed by Simon Fraser.
+
+ Update the code to pass the animations from one process to another as
+ the constructor of TimingFunction changed to take an extra parameter
+ holding the type of the cubic-bezier form.
+
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
+ (CoreIPC::encodeTimingFunction):
+ (CoreIPC::decodeTimingFunction):
+
+2013-01-03 Rik Cabanier <cabanier@adobe.com>
+
+ Canvas blending tests fail on Mac WK2
+ https://bugs.webkit.org/show_bug.cgi?id=105943
+
+ Reviewed by Simon Fraser.
+
+ CanvasUsesAcceleratedDrawing preference was not passed to the WebProcess.
+
+ * WebProcess/InjectedBundle/InjectedBundle.cpp: Adds support for CanvasUsesAcceleratedDrawing to WK2
+ (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
+
+2013-01-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [Qt] Use WebPageProxy::postMessageToInjectedBundle when passing messages to a specific page in the builtin bundle
+ https://bugs.webkit.org/show_bug.cgi?id=105928
+
+ Reviewed by Simon Hausmann.
+
+ Simplify the code since we now can send the contents as is, instead of packaging it inside
+ an array that also contained the reference for the page. This was made possible after
+ r126311.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::setNavigatorQtObjectEnabled):
+ (QQuickWebViewExperimental::postMessage):
+ Built the messages and used WebPageProxy::postMessageToInjectedBundle() directly.
+
+ * UIProcess/qt/QtWebContext.cpp: Removed functions that now are simpler and were inlined in
+ qquickwebview.cpp.
+ * UIProcess/qt/QtWebContext.h: Ditto.
+ * WebProcess/qt/QtBuiltinBundle.cpp:
+ (WebKit::QtBuiltinBundle::initialize): Used the callback that gets messages for specific
+ pages. Also changed the way we create the bundle client: now we fill the struct with zeros,
+ and then set the fields we care about. This way if another field is added to that client,
+ this code doesn't need to be changed.
+ (WebKit::QtBuiltinBundle::didReceiveMessageToPage):
+ (WebKit::QtBuiltinBundle::handleMessageToNavigatorQtObject): Changed to not read the page
+ reference from the message, since we get it in the callback already.
+ (WebKit::QtBuiltinBundle::handleSetNavigatorQtObjectEnabled): Ditto.
+ * WebProcess/qt/QtBuiltinBundle.h:
+ (QtBuiltinBundle):
+
+2013-01-03 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
+
+ [Qt] Fix a crash when the QQuickWebPage is destroyed between the scene graph sync and render.
+ https://bugs.webkit.org/show_bug.cgi?id=106018
+
+ Reviewed by Simon Hausmann.
+
+ The main and rendering threads are only guaranteed to be synchronised in
+ the updatePaintNode call. In every other cases, QQuickItems cannot be
+ safely accessed from the rendering thread.
+
+ Do as the first patch version in
+ https://bugs.webkit.org/show_bug.cgi?id=104574 was doing and copy the
+ ratio value directly to fix the issue.
+
+ Also add a note about the threading issue in QQuickWebPage::updatePaintNode.
+
+ * UIProcess/API/qt/qquickwebpage.cpp:
+ (QQuickWebPage::updatePaintNode):
+ * UIProcess/qt/QtWebPageSGNode.cpp:
+ (WebKit::QtWebPageSGNode::QtWebPageSGNode):
+ * UIProcess/qt/QtWebPageSGNode.h:
+ (QtWebPageSGNode):
+ (WebKit::QtWebPageSGNode::devicePixelRatio):
+ (WebKit::QtWebPageSGNode::setDevicePixelRatio):
+
+2013-01-02 Sam Weinig <sam@webkit.org>
+
+ Stop pretending its possible to run the WebProcess in threaded mode
+ https://bugs.webkit.org/show_bug.cgi?id=105969
+
+ Reviewed by Alexey Proskuryakov.
+
+ - Removes WebProcess::isSeparateProcess()
+ - Stop storing a RunLoop on the WebProcess and just use RunLoop::main().
+
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ (WebKit::NetworkProcessConnection::NetworkProcessConnection):
+ * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
+ (WebKit::NPRuntimeObjectMap::NPRuntimeObjectMap):
+ * WebProcess/Plugins/PluginProcessConnection.cpp:
+ (WebKit::PluginProcessConnection::PluginProcessConnection):
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::DrawingAreaImpl):
+ * WebProcess/WebPage/PageOverlay.cpp:
+ (WebKit::PageOverlay::PageOverlay):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage):
+ (WebKit::WebPage::close):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeConnection):
+ (WebKit::WebProcess::shouldTerminate):
+ (WebKit::WebProcess::terminate):
+ (WebKit::WebProcess::didClose):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ (WebKit::WebProcessMainEfl):
+ * WebProcess/gtk/WebProcessMainGtk.cpp:
+ (WebKit::WebProcessMainGtk):
+ * WebProcess/mac/WebProcessInitialization.mm:
+ (WebKit::initializeWebProcess):
+ * WebProcess/qt/WebProcessMainQt.cpp:
+ (WebKit::WebProcessMainQt):
+ * WebProcess/win/WebProcessMainWin.cpp:
+ (WebKit::WebProcessMain):
+
+2013-01-02 Sam Weinig <sam@webkit.org>
+
+ Factor out NetworkProcess initialization into its own function in preparation of adding a NetworkProcess service
+ https://bugs.webkit.org/show_bug.cgi?id=105946
+
+ Reviewed by Brady Eidson.
+
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/mac/NetworkProcessInitialization.h: Added.
+ (NetworkProcessInitializationParameters):
+ * NetworkProcess/mac/NetworkProcessInitialization.mm: Added.
+ (WebKit::initializeNetworkProcess):
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::initializeSandbox):
+ (WebKit::NetworkProcess::platformInitialize):
+ * NetworkProcess/mac/NetworkProcessMainMac.mm:
+ (WebKit::NetworkProcessMain):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-01-02 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r138403.
+ http://trac.webkit.org/changeset/138403
+ https://bugs.webkit.org/show_bug.cgi?id=105950
+
+ Fixing e138331 which was rolled out in r138403 (Requested by
+ rfong on #webkit).
+
+ * win/WebKit2.def.in:
+
+2013-01-02 Ryosuke Niwa <rniwa@webkit.org>
+
+ Yet another Windows build fix attempt. Try exporting more symbols.
+
+ * win/WebKit2.def.in:
+
+2013-01-02 Alexey Proskuryakov <ap@apple.com>
+
+ REGRESSION (r138464): Safari hangs when opening Privacy preferences
+ https://bugs.webkit.org/show_bug.cgi?id=105933
+
+ Reviewed by Sam Weinig.
+
+ Quick and dirty fix - added a special case for main thread. But I'm not sure if
+ dispatch_sync on main queue is really the best idiom here.
+
+ * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
+ (WebKit::getPluginInfoFromCarbonResources):
+
+2013-01-02 Ryosuke Niwa <rniwa@webkit.org>
+
+ Don't include a header that has been removed in r138413.
+
+ * WebProcess/win/WebProcessWin.cpp:
+
+2013-01-02 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [WK2] Rename SetFrameInViewSourceMode to SetMainFrameInViewSourceMode
+ https://bugs.webkit.org/show_bug.cgi?id=105885
+
+ Reviewed by Martin Robinson.
+
+ This way we don't depend on a WebFrameProxy and
+ webkit_web_view_set_view_mode() works even if the main frame proxy
+ hasn't been created yet.
+
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkit_web_view_set_view_mode): Call
+ WebPageProxy::setMainFrameInViewSourceMode() directly.
+ * UIProcess/WebFrameProxy.cpp:
+ (WebKit::WebFrameProxy::WebFrameProxy): Remove
+ setInViewSourceMode().
+ * UIProcess/WebFrameProxy.h:
+ (WebFrameProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setMainFrameInViewSourceMode):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setMainFrameInViewSourceMode):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+
+2013-01-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
+
+ [Qt] Use WebPageGroup to create user scripts instead of Qt-specific function in WebPage
+ https://bugs.webkit.org/show_bug.cgi?id=105921
+
+ Reviewed by Simon Hausmann.
+
+ After r131281 the WebPageGroup.h (in UIProcess) exposes a way to add user scripts, so we can
+ use this directly to implement the user script functionality in Qt. The previous solution was
+ a Qt-port specific function in WebPage that can be removed now.
+
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::updateUserScripts): Use WebPageGroup functions to manipulate user scripts directly.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): Remove now unused function.
+ * UIProcess/qt/WebPageProxyQt.cpp: Ditto.
+ * WebProcess/WebPage/WebPage.messages.in: Ditto.
+ * WebProcess/WebPage/qt/WebPageQt.cpp: Remove now unused function and headers.
+
+2013-01-02 Heikki Paajanen <heikki.paajanen@palm.com>
+
+ [Qt][WK2] Add experimental API to find text from page
+ https://bugs.webkit.org/show_bug.cgi?id=96481
+
+ Reviewed by Jocelyn Turcotte.
+
+ Expose findString and PageFindClient provided functionality to QtQuick
+ applications.
+
+ * Target.pri:
+ * UIProcess/API/qt/qquickwebview.cpp:
+ (QQuickWebViewPrivate::initialize):
+ (QQuickWebViewExperimental::findText):
+ (QQuickWebViewPrivate::didFindString):
+ * UIProcess/API/qt/qquickwebview_p.h:
+ (WebKit):
+ * UIProcess/API/qt/qquickwebview_p_p.h:
+ (QQuickWebViewPrivate):
+ * UIProcess/API/qt/tests/qmltests/WebView/tst_findText.qml: Added.
+ * UIProcess/qt/QtWebPageFindClient.cpp: Added.
+ (WebKit):
+ (WebKit::QtWebPageFindClient::QtWebPageFindClient):
+ (WebKit::QtWebPageFindClient::didFindString):
+ (WebKit::toQtWebPageFindClient):
+ (WebKit::QtWebPageFindClient::didFailToFindString):
+ * UIProcess/qt/QtWebPageFindClient.h: Added.
+ (WebKit):
+ (QtWebPageFindClient):
+
+2013-01-02 Christophe Dumez <christophe.dumez@intel.com>
+
+ Regression(r138607): Causes crashes related to WebIconDatabase
+ https://bugs.webkit.org/show_bug.cgi?id=105909
+
+ Reviewed by Gyuyoung Kim.
+
+ Add back WebIconDatabase initialization statement
+ in WebContext constructor. It was removed in
+ r138607 and causing a lot of crashes on WebKit2.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+
+2012-12-31 Sam Weinig <sam@webkit.org>
+
+ Convert more classes to be WebContextSupplements
+ https://bugs.webkit.org/show_bug.cgi?id=105890
+
+ Reviewed by Dan Bernstein.
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextGetCookieManager):
+ (WKContextGetDatabaseManager):
+ (WKContextGetGeolocationManager):
+ (WKContextGetKeyValueStorageManager):
+ (WKContextGetMediaCacheManager):
+ (WKContextGetNotificationManager):
+ (WKContextGetResourceCacheManager):
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::cookieManager):
+ (EwkContext::clearResourceCache):
+ * UIProcess/API/efl/ewk_database_manager_private.h:
+ (EwkDatabaseManager::create):
+ * UIProcess/API/efl/ewk_storage_manager_private.h:
+ (EwkStorageManager::create):
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (createDefaultWebContext):
+ (webkit_web_context_clear_cache):
+ (webkit_web_context_get_cookie_manager):
+ * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
+ (WebKit::WebNotificationManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebNotificationManagerProxy::WebNotificationManagerProxy):
+ (WebKit::WebNotificationManagerProxy::initializeProvider):
+ (WebKit::WebNotificationManagerProxy::contextDestroyed):
+ (WebKit::WebNotificationManagerProxy::processDidClose):
+ (WebKit::WebNotificationManagerProxy::refWebContextSupplement):
+ (WebKit::WebNotificationManagerProxy::derefWebContextSupplement):
+ (WebKit::WebNotificationManagerProxy::didReceiveMessage):
+ (WebKit::WebNotificationManagerProxy::providerDidShowNotification):
+ (WebKit::WebNotificationManagerProxy::providerDidClickNotification):
+ (WebKit::WebNotificationManagerProxy::providerDidCloseNotifications):
+ (WebKit::WebNotificationManagerProxy::providerDidUpdateNotificationPolicy):
+ (WebKit::WebNotificationManagerProxy::providerDidRemoveNotificationPolicies):
+ * UIProcess/Notifications/WebNotificationManagerProxy.h:
+ (WebNotificationManagerProxy):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ (WebKit::WebContext::~WebContext):
+ (WebKit::WebContext::removeNetworkProcessProxy):
+ (WebKit::WebContext::createNewWebProcess):
+ (WebKit::WebContext::shouldTerminate):
+ (WebKit::WebContext::disconnectProcess):
+ * UIProcess/WebContext.h:
+ (WebKit):
+ (WebContext):
+ (WebKit::WebContext::iconDatabase):
+ * UIProcess/WebContextSupplement.h:
+ (WebKit):
+ (WebKit::WebContextSupplement::contextDestroyed):
+ (WebKit::WebContextSupplement::processDidClose):
+ (WebContextSupplement):
+ (WebKit::WebContextSupplement::shouldTerminate):
+ (WebKit::WebContextSupplement::ref):
+ (WebKit::WebContextSupplement::deref):
+ * UIProcess/WebCookieManagerProxy.cpp:
+ (WebKit::WebCookieManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebCookieManagerProxy::WebCookieManagerProxy):
+ (WebKit::WebCookieManagerProxy::initializeClient):
+ (WebKit::WebCookieManagerProxy::contextDestroyed):
+ (WebKit::WebCookieManagerProxy::processDidClose):
+ (WebKit::WebCookieManagerProxy::shouldTerminate):
+ (WebKit::WebCookieManagerProxy::refWebContextSupplement):
+ (WebKit::WebCookieManagerProxy::derefWebContextSupplement):
+ (WebKit::WebCookieManagerProxy::getHostnamesWithCookies):
+ (WebKit::WebCookieManagerProxy::deleteCookiesForHostname):
+ (WebKit::WebCookieManagerProxy::deleteAllCookies):
+ (WebKit::WebCookieManagerProxy::startObservingCookieChanges):
+ (WebKit::WebCookieManagerProxy::stopObservingCookieChanges):
+ (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy):
+ (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy):
+ * UIProcess/WebCookieManagerProxy.h:
+ (WebCookieManagerProxy):
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ (WebKit::WebDatabaseManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebDatabaseManagerProxy::WebDatabaseManagerProxy):
+ (WebKit::WebDatabaseManagerProxy::initializeClient):
+ (WebKit::WebDatabaseManagerProxy::contextDestroyed):
+ (WebKit::WebDatabaseManagerProxy::processDidClose):
+ (WebKit::WebDatabaseManagerProxy::refWebContextSupplement):
+ (WebKit::WebDatabaseManagerProxy::derefWebContextSupplement):
+ (WebKit::WebDatabaseManagerProxy::didReceiveMessage):
+ (WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
+ (WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
+ (WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
+ (WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
+ (WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
+ (WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
+ * UIProcess/WebDatabaseManagerProxy.h:
+ (WebDatabaseManagerProxy):
+ * UIProcess/WebGeolocationManagerProxy.cpp:
+ (WebKit::WebGeolocationManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebGeolocationManagerProxy::WebGeolocationManagerProxy):
+ (WebKit::WebGeolocationManagerProxy::initializeProvider):
+ (WebKit::WebGeolocationManagerProxy::contextDestroyed):
+ (WebKit::WebGeolocationManagerProxy::processDidClose):
+ (WebKit::WebGeolocationManagerProxy::refWebContextSupplement):
+ (WebKit::WebGeolocationManagerProxy::derefWebContextSupplement):
+ (WebKit::WebGeolocationManagerProxy::didReceiveMessage):
+ (WebKit::WebGeolocationManagerProxy::providerDidChangePosition):
+ (WebKit::WebGeolocationManagerProxy::providerDidFailToDeterminePosition):
+ * UIProcess/WebGeolocationManagerProxy.h:
+ (WebGeolocationManagerProxy):
+ * UIProcess/WebKeyValueStorageManagerProxy.cpp:
+ (WebKit::WebKeyValueStorageManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebKeyValueStorageManagerProxy::WebKeyValueStorageManagerProxy):
+ (WebKit::WebKeyValueStorageManagerProxy::contextDestroyed):
+ (WebKit::WebKeyValueStorageManagerProxy::processDidClose):
+ (WebKit::WebKeyValueStorageManagerProxy::refWebContextSupplement):
+ (WebKit::WebKeyValueStorageManagerProxy::derefWebContextSupplement):
+ (WebKit::WebKeyValueStorageManagerProxy::getKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManagerProxy::deleteEntriesForOrigin):
+ (WebKit::WebKeyValueStorageManagerProxy::deleteAllEntries):
+ * UIProcess/WebKeyValueStorageManagerProxy.h:
+ (WebKeyValueStorageManagerProxy):
+ * UIProcess/WebMediaCacheManagerProxy.cpp:
+ (WebKit::WebMediaCacheManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebMediaCacheManagerProxy::WebMediaCacheManagerProxy):
+ (WebKit::WebMediaCacheManagerProxy::contextDestroyed):
+ (WebKit::WebMediaCacheManagerProxy::processDidClose):
+ (WebKit::WebMediaCacheManagerProxy::refWebContextSupplement):
+ (WebKit::WebMediaCacheManagerProxy::derefWebContextSupplement):
+ (WebKit::WebMediaCacheManagerProxy::getHostnamesWithMediaCache):
+ (WebKit::WebMediaCacheManagerProxy::clearCacheForHostname):
+ (WebKit::WebMediaCacheManagerProxy::clearCacheForAllHostnames):
+ * UIProcess/WebMediaCacheManagerProxy.h:
+ (WebMediaCacheManagerProxy):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::showNotification):
+ * UIProcess/WebResourceCacheManagerProxy.cpp:
+ (WebKit::WebResourceCacheManagerProxy::supplementName):
+ (WebKit):
+ (WebKit::WebResourceCacheManagerProxy::WebResourceCacheManagerProxy):
+ (WebKit::WebResourceCacheManagerProxy::contextDestroyed):
+ (WebKit::WebResourceCacheManagerProxy::processDidClose):
+ (WebKit::WebResourceCacheManagerProxy::refWebContextSupplement):
+ (WebKit::WebResourceCacheManagerProxy::derefWebContextSupplement):
+ (WebKit::WebResourceCacheManagerProxy::didReceiveMessage):
+ (WebKit::WebResourceCacheManagerProxy::getCacheOrigins):
+ (WebKit::WebResourceCacheManagerProxy::clearCacheForOrigin):
+ (WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins):
+ * UIProcess/WebResourceCacheManagerProxy.h:
+ (WebResourceCacheManagerProxy):
+ * UIProcess/efl/WebContextEfl.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess):
+ * UIProcess/gtk/WebContextGtk.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess):
+ * UIProcess/qt/WebContextQt.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess):
+
+2013-01-01 Dan Bernstein <mitz@apple.com>
+
+ <rdar://problem/12942239> Update copyright strings
+
+ Reviewed by Sam Weinig.
+
+ * Info.plist:
+ * NetworkProcess/Info.plist:
+ * PluginProcess/Info.plist:
+ * SharedWorkerProcess/Info.plist:
+ * WebProcess/Info.plist:
+ * WebProcessService/Info.plist:
+ * WebProcessServiceForWebKitDevelopment/Info.plist:
+
+2013-01-01 KwangYong Choi <ky0.choi@samsung.com>
+
+ [EFL] Enable MHTML feature
+ https://bugs.webkit.org/show_bug.cgi?id=105815
+
+ Reviewed by Laszlo Gombos.
+
+ Add missing include directory for ENABLE_MHTML.
+
+ * CMakeLists.txt:
+
+2012-12-30 Sam Weinig <sam@webkit.org>
+
+ Add supplementability for WebContext
+ https://bugs.webkit.org/show_bug.cgi?id=105878
+
+ Reviewed by Dan Bernstein.
+
+ Add WebContextSupplement and convert WebApplicationCacheManagerProxy to it.
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextGetApplicationCacheManager):
+ * UIProcess/WebApplicationCacheManagerProxy.cpp:
+ (WebKit::WebApplicationCacheManagerProxy::supplementName):
+ (WebKit::WebApplicationCacheManagerProxy::WebApplicationCacheManagerProxy):
+ (WebKit::WebApplicationCacheManagerProxy::contextDestroyed):
+ (WebKit::WebApplicationCacheManagerProxy::processDidClose):
+ (WebKit::WebApplicationCacheManagerProxy::refWebContextSupplement):
+ (WebKit::WebApplicationCacheManagerProxy::derefWebContextSupplement):
+ (WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
+ (WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
+ (WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
+ * UIProcess/WebApplicationCacheManagerProxy.h:
+ (WebApplicationCacheManagerProxy):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext):
+ (WebKit::WebContext::~WebContext):
+ (WebKit::WebContext::shouldTerminate):
+ (WebKit::WebContext::disconnectProcess):
+ * UIProcess/WebContext.h:
+ (WebKit::WebContext::supplement):
+ (WebKit::WebContext::addSupplement):
+ * UIProcess/WebContextSupplement.h: Added.
+ (WebKit::WebContextSupplement::WebContextSupplement):
+ (WebKit::WebContextSupplement::~WebContextSupplement):
+ (WebKit::WebContextSupplement::ref):
+ (WebKit::WebContextSupplement::deref):
+ (WebKit::WebContextSupplement::context):
+ (WebKit::WebContextSupplement::clearContext):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2012-12-31 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL[WK2] Regression(r138574): Should not allocate memory in the fork
+ https://bugs.webkit.org/show_bug.cgi?id=105868
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Store prefixed executable path in a CString before the fork to
+ avoid allocating memory in the fork by calling String::utf8().
+ Allocating memory in the fork may lead to deadlocks due to
+ FastMalloc and the fork not inheriting the threads.
+
+ * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+
+2012-12-31 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Add API to set a WebKitWebView in view source mode to WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=99315
+
+ Reviewed by Martin Robinson.
+
+ Add a generic API to set/get a view mode. For now there are only
+ two modes, Web and Source, but the API can be extended if we
+ eventually support other view modes like Printing for example.
+
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewSetProperty): Implement setter for view-mode
+ property.
+ (webkitWebViewGetProperty): Implement getter for view-mode
+ property.
+ (webkit_web_view_class_init): Add view-source property.
+ (webkit_web_view_set_view_mode): Public method to set the view
+ mode.
+ (webkit_web_view_get_view_mode): Public method to get the view
+ mode.
+ * UIProcess/API/gtk/WebKitWebView.h: Add WebKitViewMode enum.
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
+ * UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
+ (testWebViewMode):
+ (beforeAll):
+ * UIProcess/WebFrameProxy.cpp:
+ (WebKit::WebFrameProxy::WebFrameProxy): Initialize
+ m_inViewSourceMode.
+ (WebKit::WebFrameProxy::setInViewSourceMode): Set
+ m_inViewSourceMode if it has changed and call
+ WebPageProxy::setFrameInViewSourceMode() to notify the WebProcess.
+ * UIProcess/WebFrameProxy.h:
+ (WebKit::WebFrameProxy::inViewSourceMode): Return whether the
+ frame is currently in view source mode.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::setFrameInViewSourceMode): Send a message
+ to the WebProcess to set the given frame in view source mode or not.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): Add setFrameInViewSourceMode().
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setFrameInViewSourceMode): Call
+ setInViewSourceMode for the main frame.
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage): Add setFrameInViewSourceMode().
+ * WebProcess/WebPage/WebPage.messages.in: Add new message
+ SetFrameInViewSourceMode.
+
+2012-12-30 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Invalid use of temporary object in ProcessLauncher::launchProcess()
+ https://bugs.webkit.org/show_bug.cgi?id=105867
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Fix invalid use of temporary object in ProcessLauncher::launchProcess()
+ for prefixedExecutablePath.
+
+ * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+
+2012-12-29 Sam Weinig <sam@webkit.org>
+
+ Windows build fix.
+
+ * win/WebKit2Common.vsprops:
+
+2012-12-29 Sam Weinig <sam@webkit.org>
+
+ Add supplementability to the NetworkProcess
+ https://bugs.webkit.org/show_bug.cgi?id=105838
+
+ Reviewed by Dan Bernstein.
+
+ This patch adds a NetworkProcessSupplement, which is almost identical to
+ WebProcessSupplement, but has a different initialization override. It also
+ stops WebProcessSupplement from inheriting from MessageReceiver (and makes
+ everything that is a WebProcessSupplement also a MessageReceiver) as keeping
+ that would cause classes that need to be both WebProcessSupplements and
+ NetworkProcessSupplements inherit from MessageReceiver twice.
+
+ * GNUmakefile.list.am:
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ (WebKit::NetworkProcess::downloadsAuthenticationManager):
+ (WebKit::NetworkProcess::initializeNetworkProcess):
+ * NetworkProcess/NetworkProcess.h:
+ (WebKit):
+ (NetworkProcess):
+ (WebKit::NetworkProcess::supplement):
+ (WebKit::NetworkProcess::addSupplement):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/NetworkProcessSupplement.h: Added.
+ (WebKit):
+ (NetworkProcessSupplement):
+ (WebKit::NetworkProcessSupplement::~NetworkProcessSupplement):
+ (WebKit::NetworkProcessSupplement::initialize):
+ * Target.pri:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ * WebProcess/Authentication/AuthenticationManager.h:
+ * WebProcess/Cookies/WebCookieManager.h:
+ * WebProcess/Geolocation/WebGeolocationManager.h:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ * WebProcess/Notifications/WebNotificationManager.h:
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ * WebProcess/WebProcessSupplement.h:
+ * win/WebKit2.vcproj:
+
+2012-12-28 Ryuan Choi <ryuan.choi@samsung.com>
+
+ [EFL][WK2] MiniBrowser could not be launched on specific machine
+ https://bugs.webkit.org/show_bug.cgi?id=105844
+
+ Reviewed by Gyuyoung Kim.
+
+ * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+ (WebKit::ProcessLauncher::launchProcess):
+ Modified to avoid bad use of temporary object.
+
+2012-12-28 Joone Hur <joone.hur@intel.com>
+
+ [EFL][WK2] Implement ewk_context_resource_cache_clear
+ https://bugs.webkit.org/show_bug.cgi?id=104782
+
+ The purpose of this API is to clear HTTP caches in local storage and
+ all resources cached in memory such as images, CSS, JavaScript, XSL,
+ and fonts.
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ * UIProcess/API/efl/ewk_context.cpp:
+ (EwkContext::clearResourceCache): Call WebResourceCacheManager::ClearCacheForAllOrigins.
+ (ewk_context_resource_cache_clear):
+ * UIProcess/API/efl/ewk_context.h: Add ewk_context_resource_cache_clear.
+ * UIProcess/API/efl/ewk_context_private.h:
+ (EwkContext):
+
+2012-12-28 Mark Rowe <mrowe@apple.com>
+
+ Move logic for extracting the OS X marketing version in to WebCore
+ <http://webkit.org/b/105841> / <rdar://problem/10736041>
+
+ Reviewed by Dan Bernstein.
+
+ * UIProcess/mac/WebPageProxyMac.mm:
+ (WebKit::systemMarketingVersionForUserAgentString): Call the WebCore function instead
+ of the WKSI function.
+ (WebKit::WebPageProxy::standardUserAgent):
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+ (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
+
+2012-12-28 Sam Weinig <sam@webkit.org>
+
+ Fix assert seen when adding a custom protocol handler before an initial
+ web process has been created.
+
+ * UIProcess/WebContext.h:
+ (WebKit::WebContext::sendToNetworkingProcess):
+
+2012-12-28 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK][WK2] Add support for IME Composition
+ https://bugs.webkit.org/show_bug.cgi?id=65093
+
+ Reviewed by Carlos Garcia Campos.
+
+ Add a WebKit2 implementation of the GtkInputMethodFilter and provide
+ the necessary plumbing to pass composition information along with
+ input method events.
+
+ * GNUmakefile.list.am: Add new files to the source list.
+ * Shared/EditorState.cpp: The cursorRect is now passed for GTK+ as well as
+ Qt, so update the encode and decode methods to pass that along.
+ * Shared/EditorState.h: Add the cursorRect member for GTK+ as well.
+ * Shared/NativeWebKeyboardEvent.h:
+ (NativeWebKeyboardEvent): Keyboard events should also have knowledge of
+ the compositionResults and whether or not the event was faked for composition
+ purposes.
+ * Shared/gtk/NativeWebKeyboardEventGtk.cpp: Ditto.
+ * Shared/gtk/WebEventFactory.cpp:
+ (WebKit::WebEventFactory::createWebKeyboardEvent): Copy the logic of PlatformKeyEvent,
+ for properly setting the windows key code and the event text from the composition
+ results.
+ * Shared/gtk/WebEventFactory.h: The createWebKeyboardEvent factory now takes a
+ CompositionResults argument.
+ * UIProcess/API/gtk/PageClientImpl.cpp:
+ (WebKit::PageClientImpl::doneWithKeyEvent): Don't forward keyboard events that
+ were faked for composition reasons. These events originated from WebKit and should
+ never be passed to parent classes.
+ (WebKit::PageClientImpl::updateTextInputState): Plumb through the updateTextInputState
+ method to the WebViewBase.
+ * UIProcess/API/gtk/PageClientImpl.h:
+ (PageClientImpl): Add a updateTextInputState method.
+ * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+ (_WebKitWebViewBasePrivate): Instead of having an input method context as a member
+ keep a WebViewBaseInputMethodFilter.
+ (webkitWebViewBaseRealize): Set the filter widget when the WebViewBase is realized.
+ (webkit_web_view_base_init): No longer create a input method context during init.
+ (webkitWebViewBaseFocusInEvent): Pass along focus in events to the filter.
+ (webkitWebViewBaseFocusOutEvent): Pass along focus out events to the filter.
+ (webkitWebViewBaseKeyPressEvent): Instead of passing key presses directly to the WebProcess,
+ filter them through the input method filter.
+ (webkitWebViewBaseKeyReleaseEvent): Ditto.
+ (webkitWebViewBaseButtonPressEvent): Notify the input method filter about button press events.
+ (webkitWebViewBaseGetIMContext): The input method filter owns the input method now.
+ (webkitWebViewBaseSetInputMethodState): Add a bit of plumbing for the PageClient.
+ (webkitWebViewBaseUpdateTextInputState): Ditto.
+ * UIProcess/API/gtk/WebKitWebViewBasePrivate.h: Add plumbing declarations.
+ * UIProcess/API/gtk/WebViewBaseInputMethodFilter.cpp: Added. An implementation of GtkInputMethodFilter for WebKit2.
+ * UIProcess/API/gtk/WebViewBaseInputMethodFilter.h: Copied from Source/WebKit/gtk/WebCoreSupport/WebViewInputMethodFilter.h.
+ * UIProcess/PageClient.h:
+ (PageClient): updateInputMethod state is now for both Qt and GTK+.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::editorStateChanged): Pass the editor state for GTK+ as well as Qt.
+ (WebKit::WebPageProxy::setComposition): Moved this method from WebPageProxyQt as it's used for GTK+ now as well.
+ (WebKit::WebPageProxy::confirmComposition): Ditto.
+ (WebKit::WebPageProxy::cancelComposition): Ditto.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): The setInputMethodState message is for GTK+ as well as Qt now.
+ * UIProcess/WebPageProxy.messages.in: Ditto.
+ * UIProcess/gtk/WebPageProxyGtk.cpp:
+ (WebKit::WebPageProxy::setInputMethodState): Ditto.
+ * UIProcess/qt/WebPageProxyQt.cpp: Move some methods to the platform-independent file.
+ * WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp: More closely match the WebKit1
+ logic for dealing with key events so that composition events will be handled properly.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::editorState): Properly pass the cursorRect for GTK+.
+ (WebKit::targetFrameForEditing): Moved from the Qt file, because its used by GTK+ as well. They
+ now pass along the updated EditorState as well, just like the Mac versions.
+ (WebKit::WebPage::confirmComposition): Ditto.
+ (WebKit::WebPage::setComposition): Ditto.
+ (WebKit::WebPage::cancelComposition): Ditto.
+ * WebProcess/WebPage/WebPage.h: The above messages are now for GTK+ as well as Qt.
+ * WebProcess/WebPage/WebPage.messages.in: Ditto.
+ * WebProcess/WebPage/qt/WebPageQt.cpp: Moved some methods to the platform-independent file.
+
+2012-12-28 Sam Weinig <sam@webkit.org>
+
+ Appease the Windows Gods.
+
+ * WebProcess/Notifications/WebNotificationManager.cpp:
+
+2012-12-27 Sam Weinig <sam@webkit.org>
+
+ Make CustomProtocolManager a WebProcessSupplement
+ https://bugs.webkit.org/show_bug.cgi?id=105814
+
+ Reviewed by Dan Bernstein.
+
+ This converts CustomProtocolManager from a global singleton, to be a
+ supplement of the WebProcess. Since it also needs to act as a supplement
+ of the NetworkProcess, it adds an initialization function for the NetworkProcess
+ as well, while we await the arrival of the forthcoming NetworkProcessSupplement.
+
+ In addition, this moves the handling of registering and unregistering schemes
+ directly to the CustomProtocolManager, instead of requiring an unnecessary trip
+ in the ChildProcess.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ (WebKit::NetworkProcess::initializeNetworkProcess):
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/NetworkProcess.messages.in:
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (+[WKCustomProtocol canInitWithRequest:]):
+ (-[WKCustomProtocol initWithRequest:cachedResponse:client:]):
+ (-[WKCustomProtocol startLoading]):
+ (-[WKCustomProtocol stopLoading]):
+ (WebKit::CustomProtocolManager::supplementName):
+ (WebKit::CustomProtocolManager::CustomProtocolManager):
+ (WebKit::CustomProtocolManager::initialize):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::registerSchemeForCustomProtocol):
+ (WebKit::WebContext::unregisterSchemeForCustomProtocol):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initializeWebProcess):
+ * WebProcess/WebProcess.h:
+ * WebProcess/WebProcess.messages.in:
+
+2012-12-27 Sam Weinig <sam@webkit.org>
+
+ Convert a few other WebProcess managers to be WebProcessSupplements
+ https://bugs.webkit.org/show_bug.cgi?id=105812
+
+ Reviewed by Dan Bernstein.
+
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::supplementName):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebApplicationCacheManager):
+ * WebProcess/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::supplementName):
+ * WebProcess/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * 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/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::setAlwaysAcceptCookies):
+ (WebKit::InjectedBundle::clearApplicationCache):
+ (WebKit::InjectedBundle::setAppCacheMaximumSize):
+ (WebKit::InjectedBundle::webNotificationID):
+ * WebProcess/MediaCache/WebMediaCacheManager.cpp:
+ (WebKit::WebMediaCacheManager::supplementName):
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ (WebMediaCacheManager):
+ * WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
+ (WebKit::NotificationPermissionRequestManager::permissionLevel):
+ (WebKit::NotificationPermissionRequestManager::setPermissionLevelForTesting):
+ (WebKit::NotificationPermissionRequestManager::removeAllPermissionsForTesting):
+ (WebKit::NotificationPermissionRequestManager::didReceiveNotificationPermissionDecision):
+ * WebProcess/Notifications/WebNotificationManager.cpp:
+ (WebKit::WebNotificationManager::supplementName):
+ (WebKit::WebNotificationManager::initialize):
+ * WebProcess/Notifications/WebNotificationManager.h:
+ (WebNotificationManager):
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ (WebKit::WebResourceCacheManager::supplementName):
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ (WebResourceCacheManager):
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
+ * WebProcess/WebCoreSupport/WebGeolocationClient.cpp:
+ (WebKit::WebGeolocationClient::geolocationDestroyed):
+ (WebKit::WebGeolocationClient::startUpdating):
+ (WebKit::WebGeolocationClient::stopUpdating):
+ * WebProcess/WebCoreSupport/WebNotificationClient.cpp:
+ (WebKit::WebNotificationClient::show):
+ (WebKit::WebNotificationClient::cancel):
+ (WebKit::WebNotificationClient::clearNotifications):
+ (WebKit::WebNotificationClient::notificationObjectDestroyed):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::downloadsAuthenticationManager):
+ * WebProcess/WebProcess.h:
+ (WebKit::WebProcess::textCheckerState):
+ (WebKit::WebProcess::networkAccessManager):
+ (WebKit::WebProcess::soupRequestManager):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+ * WebProcess/soup/WebProcessSoup.cpp:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+ * WebProcess/win/WebProcessWin.cpp:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+
+2012-12-27 Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
+
+ [EFL][WK2] Regression(138462) Sometimes garbage in snapshots
+ https://bugs.webkit.org/show_bug.cgi?id=105803
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Instead of creating temporary buffer and then creating cairo surface
+ from it, create cairo surface 1st and use surface image internal buffer
+ to read pixels from GL buffer.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::takeSnapshot):
+ * UIProcess/API/efl/SnapshotImageGL.cpp:
+ (getImageSurfaceFromFrameBuffer):
+ * UIProcess/API/efl/SnapshotImageGL.h:
+
+2012-12-27 Sam Weinig <sam@webkit.org>
+
+ Actually make use of the WebProcessSupplements by adding a supplement map to WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=105804
+
+ Reviewed by Dan Bernstein.
+
+ This continues the work of adding extensibility to WebProcess by adding a supplement
+ map, and using it as proof of concept for WebDatabaseManager and WebKeyValueStorageManager.
+
+ - A supplement is added to WebProcess by calling:
+ process->addSupplement<SupplementFoo>();
+ - A supplement can be used accessed by calling:
+ process->supplement<SupplementFoo>();
+
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::clearAllDatabases):
+ (WebKit::InjectedBundle::setDatabaseQuota):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::updatePreferences):
+ Switch to using the new supplement accessor.
+
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::supplementName):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::supplementName):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ Add static supplementName functions. We might want to merge this with
+ the message class name, but for now we have both.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ Add supplements the new way. This should eventually move to the caller
+ of WebProcess::initialize, so that we can reduce #ifdefs and ports have
+ a chance to customize.
+
+ (WebKit::WebProcess::initializeWebProcess):
+ Iterate the supplements to give each a chance to initialize.
+
+ * WebProcess/WebProcess.h:
+ (WebKit::WebProcess::supplement):
+ (WebKit::WebProcess::addSupplement):
+ Add functions to add and get WebProcessSupplements.
+
+2012-12-26 Sam Weinig <sam@webkit.org>
+
+ Add an initial stab at a generic supplemental interface for WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=105779
+
+ Reviewed by Darin Adler.
+
+ This starts the process of adding a mechanism to WebProcess to extend its
+ functionality without actually changing it (similar to the Supplement
+ mechanism in WebCore). This will make it possible for ports to add functionality
+ that might not be needed or wanted by other ports.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::initialize):
+ (WebKit):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager):
+ (WebKit::WebKeyValueStorageManager::localStorageDirectory):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit::WebDatabaseManager::WebDatabaseManager):
+ (WebKit::WebDatabaseManager::initialize):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::updatePreferences):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess):
+ (WebKit::WebProcess::keyValueStorageManager):
+ (WebKit):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ * WebProcess/WebProcessSupplement.h: Added.
+ (WebKit):
+ (WebProcessSupplement):
+ (WebKit::WebProcessSupplement::~WebProcessSupplement):
+ (WebKit::WebProcessSupplement::initialize):
+
+2012-12-27 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Regression(135935) layout tests snapshots are flaky
+ https://bugs.webkit.org/show_bug.cgi?id=103468
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Make sure that we wait for pending repaints before taking a
+ snapshot to avoid flakiness in pixel / ref tests. We also
+ suspend all animations before taking the snapshot to make
+ sure we don't wait forever for repaint events to be processed.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::takeSnapshot):
+
+2012-12-26 Csaba Osztrogonác <ossy@webkit.org>
+
+ Unreviewed Xmas buildfix after r138479.
+
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+
+2012-12-25 Sam Weinig <sam@webkit.org>
+
+ Convert WebKeyValueStorageManager and WebMediaCacheManager to MessageReceiver
+ https://bugs.webkit.org/show_bug.cgi?id=105751
+
+ Reviewed by Andreas Kling.
+
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp:
+ (WebKit::WebKeyValueStorageManager::WebKeyValueStorageManager):
+ (WebKit::WebKeyValueStorageManager::dispatchDidGetKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManager::getKeyValueStorageOrigins):
+ (WebKit::WebKeyValueStorageManager::deleteEntriesForOrigin):
+ (WebKit::WebKeyValueStorageManager::deleteAllEntries):
+ * WebProcess/KeyValueStorage/WebKeyValueStorageManager.h:
+ (WebKeyValueStorageManager): Remove unused m_originsLoaded member variable.
+ * WebProcess/MediaCache/WebMediaCacheManager.cpp:
+ (WebKit::WebMediaCacheManager::WebMediaCacheManager):
+ (WebKit::WebMediaCacheManager::getHostnamesWithMediaCache):
+ (WebKit::WebMediaCacheManager::clearCacheForHostname):
+ (WebKit::WebMediaCacheManager::clearCacheForAllHostnames):
+ * WebProcess/MediaCache/WebMediaCacheManager.h:
+ (WebMediaCacheManager):
+ Convert the managers to MessageReceiver.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initializeWebProcess):
+ (WebKit::WebProcess::didReceiveMessage):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ Add the new managers.
+
+2012-12-25 Sam Weinig <sam@webkit.org>
+
+ Fix the Database manager assert, again.
+
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit):
+ (WebKit::WebDatabaseManager::WebDatabaseManager):
+ (WebKit::WebDatabaseManager::initialize):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebDatabaseManager):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess):
+
+2012-12-25 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Manage the lifecycle of CoordinatedGraphicsLayer explicitly.
+ https://bugs.webkit.org/show_bug.cgi?id=104990
+
+ Reviewed by Noam Rosenthal.
+
+ Send explicit commands to the UI process to create/delete compositing
+ layers, instead of having the UI process decide lazily when to create
+ them.
+
+ Avoid creating a compositing layer at all if it was deleted in the same
+ cycle.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
+ (WebKit::CoordinatedLayerTreeHostProxy::createCompositingLayer):
+ (WebKit):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (CoordinatedLayerTreeHostProxy):
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::createCanvas):
+ (WebKit::LayerTreeRenderer::destroyCanvas):
+ (WebKit::LayerTreeRenderer::setLayerChildren):
+ (WebKit::LayerTreeRenderer::setLayerFilters):
+ (WebKit::LayerTreeRenderer::setLayerState):
+ (WebKit::LayerTreeRenderer::getLayerByIDIfExists):
+ (WebKit):
+ (WebKit::LayerTreeRenderer::createLayer):
+ (WebKit::LayerTreeRenderer::deleteLayer):
+ (WebKit::LayerTreeRenderer::setRootLayerID):
+ (WebKit::LayerTreeRenderer::createTile):
+ (WebKit::LayerTreeRenderer::removeTile):
+ (WebKit::LayerTreeRenderer::updateTile):
+ (WebKit::LayerTreeRenderer::ensureRootLayer):
+ (WebKit::LayerTreeRenderer::setLayerAnimations):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (LayerTreeRenderer):
+ (WebKit::LayerTreeRenderer::layerByID):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
+ (WebKit::CoordinatedLayerTreeHost::createCompositingLayers):
+ (WebKit):
+ (WebKit::CoordinatedLayerTreeHost::deleteCompositingLayers):
+ (WebKit::CoordinatedLayerTreeHost::detachLayer):
+ (WebKit::CoordinatedLayerTreeHost::createGraphicsLayer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2012-12-25 Sam Weinig <sam@webkit.org>
+
+ Fix Qt build.
+
+ * WebProcess/WebPage/qt/WebPageQt.cpp:
+
+2012-12-24 Sam Weinig <sam@webkit.org>
+
+ Reduce the number of includes in WebProcess.h
+ https://bugs.webkit.org/show_bug.cgi?id=105709
+
+ Reviewed by Dan Bernstein.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ (WebKit::NetworkProcess::downloadsAuthenticationManager):
+ * NetworkProcess/NetworkProcess.h:
+ (WebKit):
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+ * WebProcess/FullScreen/WebFullScreenManager.cpp:
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ * WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ * WebProcess/WebPage/FindController.cpp:
+ * WebProcess/WebPage/WebContextMenu.cpp:
+ * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::downloadsAuthenticationManager):
+ (WebKit::WebProcess::initializeWebProcess):
+ (WebKit::WebProcess::geolocationManager):
+ (WebKit):
+ (WebKit::WebProcess::applicationCacheManager):
+ (WebKit::WebProcess::resourceCacheManager):
+ (WebKit::WebProcess::cookieManager):
+ (WebKit::WebProcess::authenticationManager):
+ (WebKit::WebProcess::databaseManager):
+ (WebKit::WebProcess::notificationManager):
+ (WebKit::WebProcess::pluginProcessConnectionManager):
+ (WebKit::WebProcess::networkProcessConnectionClosed):
+ (WebKit::WebProcess::webResourceLoadScheduler):
+ (WebKit::WebProcess::pluginProcessCrashed):
+ * WebProcess/WebProcess.h:
+ (WebCore):
+ (WebKit):
+ (WebProcess):
+ * WebProcess/mac/WebProcessMac.mm:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+
+2012-12-25 Andreas Kling <akling@apple.com>
+
+ [WK2][Mac] Call Carbon resource APIs on main thread only.
+ <rdar://problem/11760262>
+ <http://webkit.org/b/105746>
+
+ Reviewed by Anders Carlsson.
+
+ The Carbon resource APIs are not thread-safe, so use a little libdispatch sugar to make
+ sure that plugin enumeration never calls them on a secondary thread.
+
+ * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
+ (WebKit::getPluginInfoFromCarbonResourcesOnMainThread):
+ (WebKit::getPluginInfoFromCarbonResources):
+
+2012-12-25 Seokju Kwon <seokju.kwon@gmail.com>
+
+ [EFL][WK2] Build breaks with --no-input-type-color
+ https://bugs.webkit.org/show_bug.cgi?id=105740
+
+ Reviewed by Laszlo Gombos.
+
+ * UIProcess/API/efl/EwkViewImpl.h: Add INPUT_TYPE_COLOR guard.
+ (EwkViewImpl):
+
+2012-12-25 Christophe Dumez <christophe.dumez@intel.com>
+
+ [EFL][WK2] Refactor snapshot taking code
+ https://bugs.webkit.org/show_bug.cgi?id=105687
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Refactor EFL WK2 snapshot taking code to use
+ smart pointers when possible and follow naming
+ conventions.
+
+ * UIProcess/API/C/efl/WKView.cpp:
+ (WKViewCreateSnapshot):
+ * UIProcess/API/C/efl/WKView.h: Rename WKViewGetSnapshot
+ to WKViewCreateSnapshot to follow C API naming conventions,
+ since the returned value needs to be adopted.
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::takeSnapshot):
+ * UIProcess/API/efl/EwkViewImpl.h: Have takeSnapshot() return
+ a cairo_surface_t instead of a WKType. The value should be
+ converted to a WKType at C API level.
+ (EwkViewImpl):
+ * UIProcess/API/efl/SnapshotImageGL.cpp: Use OwnArrayPtr for the
+ buffer to avoid manual memory handling. Remove useless call to
+ glBindTexture() since glReadPixels() reads pixels from the frame
+ buffer, not from the texture.
+ (getImageDataFromFrameBuffer):
+ * UIProcess/API/efl/SnapshotImageGL.h: Rename getImageFromCurrentTexture
+ to getImageDataFromFrameBuffer for consistency since we technically
+ return the pixel data of the image and since glReadPixels does not
+ actually read from the texture. Have the function return a smart
+ pointer instead of a raw one to avoid manual memory handling.
+
+2012-12-25 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Find-in-page
+ https://bugs.webkit.org/show_bug.cgi?id=105710
+ <rdar://problem/12555331>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Make use of PDFLayerController's find-in-page functionality to mimic WebKit's.
+ Add two Plugin methods, countFindMatches and findString, and make use of them
+ if attempting to find-in-page within a PluginDocument.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::countFindMatches): Added. We don't support find-in-page for NetscapePlugin.
+ (WebKit::NetscapePlugin::findString): Added. We don't support find-in-page for NetscapePlugin.
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h: Add countFindMatches and findString.
+ * WebProcess/Plugins/PDF/PDFLayerControllerDetails.h: Add requisite PDFLayerController interfaces.
+ * WebProcess/Plugins/PDF/PDFPlugin.h: Add countFindMatches, findString, and nextMatchForString,
+ as well as storage for the most-recently-searched string.
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ (WebKit::PDFPlugin::writeItemsToPasteboard):
+ (WebKit::PDFPlugin::countFindMatches):
+ (WebKit::PDFPlugin::nextMatchForString):
+ (WebKit::PDFPlugin::findString):
+ * WebProcess/Plugins/PDF/SimplePDFPlugin.h: Add countFindMatches and findString.
+ * WebProcess/Plugins/Plugin.h: Add countFindMatches and findString.
+ * WebProcess/Plugins/PluginProxy.h: Add countFindMatches and findString, but since PDFPlugin
+ is in-process, we don't need to forward these calls to the PluginProcess.
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::countFindMatches): Forward countFindMatches to the plugin.
+ (WebKit::PluginView::findString): Forward findString to the plugin.
+ * WebProcess/Plugins/PluginView.h: Add countFindMatches and findString.
+ * WebProcess/WebPage/FindController.cpp:
+ (WebKit::pluginViewForFrame): If the given frame hosts a PluginDocument, grab its PluginView.
+ (WebKit::FindController::countStringMatches): Forward countStringMatches to PluginView if necessary.
+ (WebKit::FindController::updateFindUIAfterPageScroll): Only use unmarkAllTextMatches if we're using
+ ordinary find-in-page and don't have a plugin. If we have a plugin, disable our overlay, as it must
+ be handled by the plugin itself, and request the number of matches for the search from the plugin.
+ (WebKit::FindController::findString): If necessary, forward findString to the plugin.
+ (WebKit::FindController::hideFindUI): Hide the search highlight by searching for an empty string.
+
+2012-12-24 Laszlo Gombos <l.gombos@samsung.com>
+
+ Remove wtf/Platform.h includes from {c|cpp} files
+ https://bugs.webkit.org/show_bug.cgi?id=105678
+
+ Reviewed by Kentaro Hara.
+
+ Remove wtf/Platform.h from the include list as it is already
+ included in config.h.
+
+ * Shared/qt/QtNetworkRequestData.cpp:
+
+2012-12-24 Sam Weinig <sam@webkit.org>
+
+ Assert fix take 2.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initializeWebProcess):
+
+2012-12-24 Sam Weinig <sam@webkit.org>
+
+ Fix WebKit2 asserting on launch.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ * WebProcess/WebProcess.h:
+ (WebKit::WebProcess::databaseManager):
+ (WebProcess):
+
+2012-12-24 Csaba Osztrogonác <ossy@webkit.org>
+
+ [Qt][Win] Unreviewed Xmas buildfix after r138433.
+
+ * WebProcess/Cookies/WebCookieManager.h:
+
+2012-12-23 Seokju Kwon <seokju.kwon@gmail.com>
+
+ Fix the incorrect use of preprocessor statement in API header
+ https://bugs.webkit.org/show_bug.cgi?id=105675
+
+ Reviewed by Sam Weinig.
+
+ Remove a preprocessor statement in WKBundlePage.h
+
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+ (WKBundlePageGetInspector):
+ * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+
+2012-12-23 Sam Weinig <sam@webkit.org>
+
+ Switch WebCookieManager and AuthenticationManager to use the ChildProcess rather than holding on to a Connection
+ https://bugs.webkit.org/show_bug.cgi?id=105703
+
+ Reviewed by Dan Bernstein.
+
+ Also switches WebCookieManager over to be a MessageReceiver while we are at it.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ (WebKit::NetworkProcess::initialize):
+ (WebKit::NetworkProcess::didReceiveMessage):
+ * NetworkProcess/NetworkProcess.h:
+ (WebKit):
+ * WebProcess/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::AuthenticationManager):
+ (WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
+ * WebProcess/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit):
+ (WebKit::WebCookieManager::WebCookieManager):
+ (WebKit::WebCookieManager::didReceiveMessage):
+ (WebKit::WebCookieManager::getHostnamesWithCookies):
+ (WebKit::WebCookieManager::cookiesDidChange):
+ (WebKit::WebCookieManager::dispatchCookiesDidChange):
+ (WebKit::WebCookieManager::getHTTPCookieAcceptPolicy):
+ * WebProcess/Cookies/WebCookieManager.h:
+ (WebKit):
+ (WebCookieManager):
+ * WebProcess/Cookies/soup/WebCookieManagerSoup.cpp:
+ (WebKit::WebCookieManager::setCookiePersistentStorage):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::setAlwaysAcceptCookies):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::initialize):
+ (WebKit::WebProcess::didReceiveMessage):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ (WebKit::WebProcess::cookieManager):
+
+2012-12-23 Sam Weinig <sam@webkit.org>
+
+ Try to fix the Qt build.
+
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+
+2012-12-23 Sam Weinig <sam@webkit.org>
+
+ Remove more special cased message receiving code from WebProcess
+ https://bugs.webkit.org/show_bug.cgi?id=105700
+
+ Reviewed by Dan Bernstein.
+
+ Makes WebApplicationCacheManager, WebResourceCacheManager and WebDatabaseManager
+ CoreIPC::MessageReceivers, removes them as special cases in WebProcess.
+
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
+ (WebKit::WebApplicationCacheManager::WebApplicationCacheManager):
+ (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
+ (WebKit::WebApplicationCacheManager::deleteEntriesForOrigin):
+ (WebKit::WebApplicationCacheManager::deleteAllEntries):
+ (WebKit::WebApplicationCacheManager::setAppCacheMaximumSize):
+ * WebProcess/ApplicationCache/WebApplicationCacheManager.h:
+ (WebKit):
+ (WebApplicationCacheManager):
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::clearAllDatabases):
+ (WebKit::InjectedBundle::setDatabaseQuota):
+ (WebKit::InjectedBundle::clearApplicationCache):
+ (WebKit::InjectedBundle::setAppCacheMaximumSize):
+ * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
+ (WebKit::WebResourceCacheManager::WebResourceCacheManager):
+ (WebKit::WebResourceCacheManager::getCacheOrigins):
+ (WebKit::WebResourceCacheManager::clearCacheForOrigin):
+ (WebKit::WebResourceCacheManager::clearCacheForAllOrigins):
+ * WebProcess/ResourceCache/WebResourceCacheManager.h:
+ (WebKit):
+ (WebResourceCacheManager):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
+ (WebKit):
+ (WebKit::WebDatabaseManager::WebDatabaseManager):
+ (WebKit::WebDatabaseManager::getDatabasesByOrigin):
+ (WebKit::WebDatabaseManager::getDatabaseOrigins):
+ (WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin):
+ (WebKit::WebDatabaseManager::deleteDatabasesForOrigin):
+ (WebKit::WebDatabaseManager::deleteAllDatabases):
+ (WebKit::WebDatabaseManager::setQuotaForOrigin):
+ (WebKit::WebDatabaseManager::dispatchDidModifyOrigin):
+ (WebKit::WebDatabaseManager::dispatchDidModifyDatabase):
+ * WebProcess/WebCoreSupport/WebDatabaseManager.h:
+ (WebKit):
+ (WebDatabaseManager):
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ (WebKit::WebProcess::didReceiveMessage):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ (WebKit::WebProcess::applicationCacheManager):
+ (WebKit::WebProcess::resourceCacheManager):
+ (WebKit::WebProcess::databaseManager):
+
+2012-12-23 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12808377> Network process should respect cookie accept policy
+ https://bugs.webkit.org/show_bug.cgi?id=105684
+
+ Reviewed by Sam Weinig.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::initialize): Tell cookie manager which connection to
+ make calls on. Now that the code can run in either WebProcess or NetworkProcess,
+ it cannot use WebProcess singleton.
+ (WebKit::NetworkProcess::didReceiveMessage): Dispatch WebCookieManager messages.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initialize): Tell cookie manager which connection to
+ make calls on.
+
+ * UIProcess/Downloads/DownloadProxy.cpp:
+ (WebKit::DownloadProxy::didReceiveAuthenticationChallenge): Changed to use
+ WebContext::networkingProcessConnection() instead of deciding upon the connection here.
+
+ * UIProcess/Network/NetworkProcessProxy.cpp:
+ (WebKit::NetworkProcessProxy::didReceiveMessage): Call m_webContext->dispatchMessage),
+ as WebCookieManagerProxy handlers are registered on the context. This may seem wasteful,
+ but a lot of registered managers will need the ame handling soon.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::networkingProcessConnection): Added a way to get connection
+ to whichever process performs networking.
+ (WebKit::WebContext::removeNetworkProcessProxy): Invalidate cookie manager proxy,
+ so that expected responses could be cleared.
+ (WebKit::WebContext::disconnectProcess): Updated a FIXME.
+
+ * UIProcess/WebContext.h: Deleted deprecatedSharedProcess().
+ (WebKit::WebContext::networkingProcessConnection): Added.
+ (WebKit::WebContext::sendToNetworkingProcess): Added.
+ (WebKit::WebContext::sendToNetworkingProcessRelaunchingIfNecessary): Added.
+
+ * UIProcess/WebCookieManagerProxy.cpp:
+ (WebKit::WebCookieManagerProxy::shouldTerminate): Should not prevent WebProcess
+ termination when NetworkProcess is in use.
+ (WebKit::WebCookieManagerProxy::getHostnamesWithCookies): Removed a useless ASSERT
+ that neiter documents expectations nor helps find bugs. Send a message to correct
+ process, whether WebProcess or NetworkProcess.
+ (WebKit::WebCookieManagerProxy::deleteCookiesForHostname): Ditto.
+ (WebKit::WebCookieManagerProxy::deleteAllCookies): Ditto.
+ (WebKit::WebCookieManagerProxy::startObservingCookieChanges): Ditto.
+ (WebKit::WebCookieManagerProxy::stopObservingCookieChanges): Ditto.
+ (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy): Ditto.
+ (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy): Ditto.
+
+ * WebProcess/Cookies/WebCookieManager.h:
+ * WebProcess/Cookies/WebCookieManager.cpp: Made the class usable in either WebProcess
+ or NetworkProcess.
+ (WebKit::WebCookieManager::setConnection): WebCookieManager now remembers which
+ connection to talk back on.
+ (WebKit::WebCookieManager::didReceiveMessage): Added an assertion that stored connection
+ matches the one being used to reciev messages.
+ (WebKit::WebCookieManager::getHostnamesWithCookies): Use the stored connection to
+ send a reply.
+ (WebKit::WebCookieManager::startObservingCookieChanges): Pass a callback function,
+ so that WebCore doesn't have to use a platform strategy.
+ (WebKit::WebCookieManager::cookiesDidChange): The new callback.
+ (WebKit::WebCookieManager::dispatchCookiesDidChange): Use the stored connection.
+ (WebKit::WebCookieManager::getHTTPCookieAcceptPolicy): Use the stored connection.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+ Removed notifyCookiesChanged() which is no longer part of CookiesStrategy.
+
+2012-12-22 Sam Weinig <sam@webkit.org>
+
+ Make CustomProtocolManager a MessageReceiver to remove more special casing
+ https://bugs.webkit.org/show_bug.cgi?id=105682
+
+ Reviewed by Dan Bernstein.
+
+ To avoid storing a Connection in CustomProtocolManager, which is not a great idea without
+ it being the Connection::Client and therefore getting death notifications, I also made
+ ChildProcess a MessageSender so that extensions to it, like CustomProtocolManager, can
+ easily send messages to the parent process.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ Initialize the shared CustomProtocolManager, which will add it to the MessageReceiverMap in
+ the ChildProcess.
+
+ (WebKit::NetworkProcess::didReceiveMessage):
+ Remove the special case for CustomProtocolManager.
+
+ (WebKit::NetworkProcess::initializeNetworkProcess):
+ Call connectionEstablished on the CustomProtocolManager to make it start working as a NSURLProtocol handler.
+
+ * NetworkProcess/NetworkProcess.h:
+ Add overrides necessary for MessageSender.
+
+ * PluginProcess/PluginProcess.h:
+ Ditto.
+
+ * Shared/ChildProcess.h:
+ (ChildProcess):
+ Make ChildProcess a MessageSender.
+
+ * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+ (CustomProtocolManager):
+ (WebKit::CustomProtocolManager::childProcess):
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ (-[WKCustomProtocol startLoading]):
+ (-[WKCustomProtocol stopLoading]):
+ (WebKit::CustomProtocolManager::CustomProtocolManager):
+ (WebKit::CustomProtocolManager::initialize):
+ (WebKit::CustomProtocolManager::connectionEstablished):
+ Make CustomProtocolManager a MessageReceiver and split initialization and the time when it can
+ start acting as protocol handler as these happen at different times now. It also now stores a
+ ChildProcess rather than a Connection.
+
+ * SharedWorkerProcess/SharedWorkerProcess.h:
+ Add overrides necessary for MessageSender.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ Initialize the shared CustomProtocolManager, which will add it to the MessageReceiverMap in
+ the ChildProcess.
+
+ (WebKit::WebProcess::didReceiveMessage):
+ Remove the special case for CustomProtocolManager.
+
+ (WebKit::WebProcess::initializeCustomProtocolManager):
+ Call connectionEstablished on the CustomProtocolManager to make it start working as a NSURLProtocol handler.
+
+ * WebProcess/WebProcess.h:
+ Add overrides necessary for MessageSender.
+
+2012-12-20 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] Remove plugin process configuration option
+ https://bugs.webkit.org/show_bug.cgi?id=105564
+
+ Reviewed by Carlos Garcia Campos.
+
+ Remove the --enable-plugin-process configuration option, opting instead to
+ always build the plugin process when building WebKit2. It isn't very interesting
+ for downstream to enable or disable the plugin process. It should always be
+ enabled for WebKit2 and it's better for us not to have to keep a disabled plugin
+ process building. Additionally, the in-process plugin isn't functional, since
+ plugins depend on GTK+ 2 and WebKit2 depends on GTK+ 3.
+
+ * GNUmakefile.am: Remove the option.
+ * GNUmakefile.list.am: Remote the option.
+
+2012-12-22 Sam Weinig <sam@webkit.org>
+
+ Give the ChildProcess a MessageReceiverMap
+ https://bugs.webkit.org/show_bug.cgi?id=105681
+
+ Reviewed by Dan Bernstein.
+
+ Moving the MessageReceiverMap to the ChildProcess will help shared code
+ between the WebProcess and NetworkProcess.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::NetworkProcess):
+ Pass 'this' instead of the MessageReceiverMap, now that ChildProcess
+ can be used to access the MessageReceiverMap.
+
+ * NetworkProcess/NetworkProcess.h:
+ (NetworkProcess):
+ Remove the now extraneous MessageReceiverMap.
+
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::ChildProcess):
+ (WebKit):
+ (WebKit::ChildProcess::~ChildProcess):
+ (WebKit::ChildProcess::addMessageReceiver):
+ (WebKit::ChildProcess::removeMessageReceiver):
+ * Shared/ChildProcess.h:
+ (ChildProcess):
+ Add a MessageReceiverMap and helper functions from WebProcess.
+
+ * WebProcess/Authentication/AuthenticationManager.cpp:
+ (WebKit::AuthenticationManager::AuthenticationManager):
+ * WebProcess/Authentication/AuthenticationManager.h:
+ (AuthenticationManager):
+ Fix the FIXME, passing the ChildProcess rather than the MessageReceiverMap.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::WebProcess):
+ * WebProcess/WebProcess.h:
+ (WebProcess):
+ Remove the MessageReceiverMap and helper functions.
+
+2012-12-22 Alexey Proskuryakov <ap@apple.com>
+
+ Windows build fix.
+
+ * WebProcess/Cookies/cf/WebCookieManagerCFNet.cpp:
+
+2012-12-22 Alexey Proskuryakov <ap@apple.com>
+
+ Add a separate class for networking related storage
+ https://bugs.webkit.org/show_bug.cgi?id=105676
+
+ Reviewed by Sam Weinig.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp: We no longer need to create
+ fake RemoteNetworkingContexts here! Use an actual default or private storage session.
+
+ * NetworkProcess/mac/NetworkProcessMainMac.mm: Updated form of WebSystemInterface.h include,
+ it's not a system one.
+
+ * NetworkProcess/mac/RemoteNetworkingContext.h: Expose privateBrowsingSession(),
+ so that NetworkConnectionToWebProcess could use it. We can generalize the interface
+ one we support more sessions.
+
+ * NetworkProcess/mac/RemoteNetworkingContext.mm: This class now only tracks private
+ browsing session, with most other code being in NetworkStorageSession.
+
+ * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm:
+ * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+ * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
+ * WebProcess/WebProcess.cpp:
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ * WebProcess/gtk/WebProcessMainGtk.cpp:
+ * WebProcess/Downloads/cfnet/DownloadCFNet.cpp:
+ * WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp:
+ * WebProcess/Downloads/gtk/DownloadSoupErrorsGtk.cpp:
+ * WebProcess/Downloads/mac/DownloadMac.mm:
+ * WebProcess/Network/WebResourceLoader.cpp:
+ Updated includes for ResourceHandle change. For some ports, the includes could be
+ made more tight, but I have no practical way to do that.
+
+ * WebKit2.xcodeproj/project.pbxproj: Removed WebPlatformStrategiesMac.mm.
+
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit::WebCookieManager::getHostnamesWithCookies):
+ (WebKit::WebCookieManager::deleteCookiesForHostname):
+ (WebKit::WebCookieManager::deleteAllCookies):
+ Pass a proper session instead of relying on a strategy to call back to WebKit
+ for default cookie storage (we don't even have strategies initialized in NetworkProcess).
+
+ * WebProcess/InjectedBundle/InjectedBundle.cpp:
+ (WebKit::InjectedBundle::switchNetworkLoaderToNewTestingSession): Initialize WCSI
+ before calling a function that now uses in in WebCore.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: We no longer need a strategy
+ for default cookie storage! Updated other functions to use sessions.
+
+ * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
+ * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
+ * WebProcess/WebCoreSupport/mac/WebPlatformStrategiesMac.mm: Removed.
+ * WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h:
+ WebFrameNetworkingContext is now simpler, with more tracking being donre through WebCore.
+
+2012-12-21 Elliott Sprehn <esprehn@chromium.org>
+
+ Replace documentFragmentIsShadowRoot with isTreeScope
+ https://bugs.webkit.org/show_bug.cgi?id=105345
+
+ Reviewed by Dimitri Glazkov.
+
+ Expose isTreeScope symbol.
+
+ * win/WebKit2.def.in:
+
+2012-12-21 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r138331.
+ http://trac.webkit.org/changeset/138331
+ https://bugs.webkit.org/show_bug.cgi?id=105668
+
+ Broke Windows clean builds; can't figure out how to fix it
+ (Requested by rniwa on #webkit).
+
+ * win/WebKit2.def.in:
+
+2012-12-21 Brady Eidson <beidson@apple.com>
+
+ ASSERT in WebResourceLoadScheduler::scheduleLoad with a crashed NetworkProcess.
+ <rdar://problem/12924845> and https://bugs.webkit.org/show_bug.cgi?id=105646
+
+ Reviewed by Alexey Proskuryakov.
+
+ If we fail to schedule a loader with the NetworkProcess it is probably because the NetworkProcess crashed.
+
+ Since these loaders will never succeed in loading we should schedule them to fail on a timer.
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::WebResourceLoadScheduler):
+ (WebKit::WebResourceLoadScheduler::scheduleLoad):
+ (WebKit::WebResourceLoadScheduler::addUnschedulableLoad):
+ (WebKit::WebResourceLoadScheduler::unscheduledLoadTimerFired):
+ (WebKit::WebResourceLoadScheduler::remove):
+ * WebProcess/Network/WebResourceLoadScheduler.h:
+
+2012-12-21 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ Unreviewed potential fix EFL/Qt test breakage on WK2
+
+ Only disable scrollbars when in fixed layout mode.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
+
+2012-12-21 Brady Eidson <beidson@apple.com>
+
+ Remove ResourceLoadScheduler::addMainResourceLoad and all related code
+ <rdar://problem/12925275> and https://bugs.webkit.org/show_bug.cgi?id=105644
+
+ Reviewed by Alexey Proskuryakov.
+
+ Now that main resources loads are scheduled (bug 49246) we don't need this stuff anymore.
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::remove):
+ (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
+ * WebProcess/Network/WebResourceLoadScheduler.h:
+
+2012-12-20 Sam Weinig <sam@webkit.org>
+
+ Add WebKit2 SPI to get the current selection as a WebArchive
+ https://bugs.webkit.org/show_bug.cgi?id=105613
+
+ Reviewed by Anders Carlsson.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageGetSelectionAsWebArchiveData):
+ * UIProcess/API/C/WKPage.h:
+ Add SPI.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::getSelectionAsWebArchiveData):
+ (WebKit):
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit):
+ (WebKit::frameWithSelection):
+ (WebKit::WebPage::getSelectionAsWebArchiveData):
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage):
+ * WebProcess/WebPage/WebPage.messages.in:
+ Pipe getter to the WebProcess and back.
+
+2012-12-21 Brady Eidson <beidson@apple.com>
+
+ Perform cleanup in WebProcess if the NetworkProcess crashes.
+ <rdar://problem/12903117> and https://bugs.webkit.org/show_bug.cgi?id=105592
+
+ Reviewed by Alexey Proskuryakov.
+
+ If the NetworkProcess crashes, a whole bunch of WebResourceLoaders (and WebCore::ResourceLoaders)
+ might be orphaned in the WebProcess.
+
+ These loaders need to fail once it is apparent they will never finish loading.
+
+ * Shared/API/c/WKError.h: Add a new error representing an "WebKit Internal Error."
+
+ * WebProcess/WebCoreSupport/WebErrors.h:
+ * WebProcess/WebCoreSupport/mac/WebErrorsMac.mm:
+ (WebKit::internalError):
+
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::networkProcessCrashed): Call didFail all outstanding ResourceLoaders
+ and tell all WebResourceLoaders the NetworkProcess crashed.
+ * WebProcess/Network/WebResourceLoadScheduler.h:
+
+ * WebProcess/Network/WebResourceLoader.cpp:
+ (WebKit::WebResourceLoader::networkProcessCrashed): Call didFail with the new InternalError
+ * WebProcess/Network/WebResourceLoader.h:
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::networkProcessConnectionClosed): Tell the scheduled the NetworkProcess crashed.
+
+2012-12-21 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][WK2] Never create WebCore scrollbars for EFL/WK2
+ https://bugs.webkit.org/show_bug.cgi?id=105632
+
+ Reviewed by Antonio Gomes.
+
+ Then creating the frame ask to not create scrollbars and
+ lock it so they won't be created at any later time.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
+
+2012-12-21 Seokju Kwon <seokju.kwon@gmail.com>
+
+ [EFL] Add guard around ContextMenuItemTagInspectElement
+ https://bugs.webkit.org/show_bug.cgi?id=105267
+
+ Reviewed by Ryosuke Niwa.
+
+ Need INSPECTOR guard for using ContextMenuItemTagInspectElement.
+
+ * UIProcess/API/efl/ewk_context_menu_item.cpp:
+
+2012-12-21 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ [WK2] TiledBackingStore: Scroll position is not reset when new page is loaded
+ https://bugs.webkit.org/show_bug.cgi?id=105627
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Reset scroll position to (0,0) when new page is loaded.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::sendViewportAttributesChanged):
+
+2012-12-21 Tim Horton <timothy_horton@apple.com>
+
+ PDFPlugin: Cannot drop files/URLs on PDFPlugin
+ https://bugs.webkit.org/show_bug.cgi?id=105516
+ <rdar://problem/12729443>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Add shouldAllowNavigationFromDrags to Plugin/PluginView/etc., which WebCore will
+ consult when dragging over a PluginDocument to decide whether or not a drag may result in navigation.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::shouldAllowNavigationFromDrags): Added, always returning false to keep existing behavior.
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+ (NetscapePlugin): Added.
+ * WebProcess/Plugins/PDF/SimplePDFPlugin.h:
+ (WebKit::SimplePDFPlugin::shouldAllowNavigationFromDrags): Added, always returning true. (Simple)PDFPlugin should
+ navigate when dropped onto, just like an image or HTML document would.
+ * WebProcess/Plugins/Plugin.h:
+ (Plugin): Add shouldAllowNavigationFromDrags.
+ * WebProcess/Plugins/PluginProxy.h: Add shouldAllowNavigationFromDrags.
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::shouldAllowNavigationFromDrags): Forward shouldAllowNavigationFromDrags to the plugin.
+ * WebProcess/Plugins/PluginView.h: Add shouldAllowNavigationFromDrags.
+
+2012-12-21 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r138357.
+ http://trac.webkit.org/changeset/138357
+ https://bugs.webkit.org/show_bug.cgi?id=105622
+
+ wrong fix for the problem (the original author actually
+ already did this, and it's not helping) (Requested by thorton
+ on #webkit).
+
+ * win/WebKit2.def.in:
+
+2012-12-21 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r138338.
+ http://trac.webkit.org/changeset/138338
+ https://bugs.webkit.org/show_bug.cgi?id=105621
+
+ speculative rollout because fast/dom/shadow/content-element-
+ distributed-nodes.html is crashing on linux debug. (Requested
+ by loislo on #webkit).
+
+ * win/WebKit2.def.in:
+
+2012-12-21 Tim Horton <timothy_horton@apple.com>
+
+ Unreviewed Windows build fix after http://trac.webkit.org/changeset/138338
+
+ * win/WebKit2.def.in:
+
+2012-12-21 Tim Horton <timothy_horton@apple.com>
+
+ Reducing print preview scale significantly causes a crash
+ https://bugs.webkit.org/show_bug.cgi?id=105519
+ <rdar://problem/12807090>
+
+ Reviewed by Alexey Proskuryakov.
+
+ The bitmap image used for print previews was being created respecting the print preview scale.
+ This doesn't make any sense, as the scale does not affect the size of the image required to
+ represent the previewed page. Instead, we should not scale the size, creating the buffer at a
+ size that is constant regardless of scale, and do the scaling when drawing *into* the buffer instead.
+
+ In some cases, this could cause an out-of-memory crash.
+
+ * UIProcess/API/mac/WKPrintingView.mm:
+ (-[WKPrintingView _drawPreview:]): Rename rect to scaledPrintingRect for clarity. Compute print
+ preview bitmap image size from the original non-scaled drawing size and the device scale factor.
+ Hand the image size to drawRectToImage. Draw the image without scaling, as it's always created
+ at the correct size. Don't compute the scale factor from the size of the image, we can know it from WebPageProxy.
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::drawRectToImage): Add a parameter to drawRectForImage, imageSize.
+ * UIProcess/WebPageProxy.h:
+ (WebPageProxy): Add a parameter to drawRectForImage, imageSize.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::drawRectToImage): Use imageSize to size our buffer, and scale up to make the printing rect
+ fit in the bitmap's bounds.
+ * WebProcess/WebPage/WebPage.h:
+ (WebPage): Add a parameter to drawRectForImage, imageSize.
+ * WebProcess/WebPage/WebPage.messages.in: Add a parameter to drawRectForImage, imageSize.
+
+2012-12-20 Helder Correia <helder.correia@nokia.com>
+
+ [CoordGfx] Make single-argument AreaAllocator constructors explicit
+ https://bugs.webkit.org/show_bug.cgi?id=105598
+
+ Reviewed by Noam Rosenthal.
+
+ Follow the coding style for AreaAllocator and GeneralAreaAllocator.
+
+ * WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h:
+ (AreaAllocator):
+ (GeneralAreaAllocator):
+
+2012-12-20 Elliott Sprehn <esprehn@chromium.org>
+
+ Replace documentFragmentIsShadowRoot with isTreeScope
+ https://bugs.webkit.org/show_bug.cgi?id=105345
+
+ Reviewed by Dimitri Glazkov.
+
+ Expose isTreeScope symbol.
+
+ * win/WebKit2.def.in:
+
+2012-12-20 Kiran Muppala <cmuppala@apple.com>
+
+ Set timer coalescing policy for WebKit2 processes on Mac until process visible assertion handles it automatically
+ https://bugs.webkit.org/show_bug.cgi?id=105594
+
+ Reviewed by Mark Rowe.
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::initializeTimerCoalescingPolicy): Set task_latency and task_throughput QOS tiers as appropriate
+ for visible applications.
+ (WebKit::ChildProcess::platformInitialize): Add call to initializeTimerCoalescingPolicy.
+
+2012-12-20 Anders Carlsson <andersca@apple.com>
+
+ Stop building WebKit2 for Windows
+ https://bugs.webkit.org/show_bug.cgi?id=105585
+
+ Reviewed by Brian Weinstein.
+
+ Remove an unneeded export.
+
+ * win/WebKit2.def.in:
+
+2012-12-20 Ryuan Choi <ryuan.choi@samsung.com>
+
+ [EFL] Build break with latest EFL libraries.
+ https://bugs.webkit.org/show_bug.cgi?id=104827
+
+ Reviewed by Laszlo Gombos.
+
+ The eo EFL package is introduced and evas and ecore use it since 1.8.
+ While introducing Eo, EFL changed several structures of Evas and Ecore
+ from own specific class to Eo.
+
+ So, this patch adds FindEo and changes declaration of Evas, Evas_Object,
+ Ecore_Timer to build with latest EFL libraries.
+
+ * PlatformEfl.cmake: Includes eo EFL library.
+ * UIProcess/API/C/efl/WKAPICastEfl.h: Modified declaration of Evas_Object.
+ * UIProcess/API/C/efl/WKView.h: Modified declaration of Evas.
+ * UIProcess/efl/WebPopupMenuProxyEfl.h: Removed unnecessary declaration.
+
+2012-12-20 Helder Correia <helder.correia@nokia.com>
+
+ [CoordGfx] Remove CoordinatedLayerUpdateInfo class forwarding
+ https://bugs.webkit.org/show_bug.cgi?id=105588
+
+ Reviewed by Noam Rosenthal.
+
+ There is no such class.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
+ (WebKit):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (WebKit):
+
+2012-12-20 Pratik Solanki <psolanki@apple.com>
+
+ Rename HAVE(NETWORK_CFDATA_ARRAY_CALLBACK) to USE(NETWORK_CFDATA_ARRAY_CALLBACK)
+ https://bugs.webkit.org/show_bug.cgi?id=105578
+
+ Reviewed by Alexey Proskuryakov.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ * NetworkProcess/NetworkResourceLoader.h:
+
+2012-12-20 Alexey Proskuryakov <ap@apple.com>
+
+ LocalTerminationDisabler is not needed in WebCookieManager.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=105581
+
+ Reviewed by Anders Carlsson.
+
+ All WebCookieManager functions are synchronous, and all LocalTerminationDisabler does
+ is enable/disable a timer that cannot fire inside the function anyway.
+
+ * WebProcess/Cookies/WebCookieManager.cpp:
+ (WebKit::WebCookieManager::getHostnamesWithCookies):
+ (WebKit::WebCookieManager::deleteCookiesForHostname):
+ (WebKit::WebCookieManager::deleteAllCookies):
+ (WebKit::WebCookieManager::startObservingCookieChanges):
+ (WebKit::WebCookieManager::setHTTPCookieAcceptPolicy):
+ (WebKit::WebCookieManager::getHTTPCookieAcceptPolicy):
+
+2012-12-20 Brady Eidson <beidson@apple.com>
+
+ NetworkProcess has no need for suspend/resumePendingRequests.
+ <rdar://problem/12866005> and https://bugs.webkit.org/show_bug.cgi?id=105550
+
+ Reviewed by Alexey Proskuryakov.
+
+ suspend/resumePendingRequests were important in a single-process, WebKit1 API world to help prevent
+ client callbacks from occurring during layout/painting.
+
+ In a WebKit2 + NetworkProcess world, they aren't important.
+
+ Remove the Web->Network process messages:
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+ * NetworkProcess/NetworkResourceLoadScheduler.cpp:
+ * NetworkProcess/NetworkResourceLoadScheduler.h:
+
+ For now, still keep the per-WebProcess count to help keep servePendingRequest working as WebCore intends:
+ * WebProcess/Network/WebResourceLoadScheduler.cpp:
+ (WebKit::WebResourceLoadScheduler::servePendingRequests):
+ (WebKit::WebResourceLoadScheduler::suspendPendingRequests):
+ (WebKit::WebResourceLoadScheduler::resumePendingRequests):
+
+2012-12-20 Carlos Garcia Campos <cgarcia@igalia.com>
+
+ [GTK] Add API to set a TLS errors policy to WebKit2 GTK+ API
+ https://bugs.webkit.org/show_bug.cgi?id=104482
+
+ Reviewed by Martin Robinson.
+
+ Add an emum for TLS errors policy with values IGNORE and FAIL and
+ API to WebKitWebContext to set/get the policy.
+
+ * Shared/WebProcessCreationParameters.cpp:
+ (WebKit::WebProcessCreationParameters::encode): Encode ignoreTLSErrors.
+ (WebKit::WebProcessCreationParameters::decode): Decode ignoreTLSErrors.
+ * Shared/WebProcessCreationParameters.h:
+ (WebProcessCreationParameters): Add ignoreTLSErrors when building
+ with soup network backend.
+ * Shared/soup/PlatformCertificateInfo.cpp:
+ (WebKit::PlatformCertificateInfo::PlatformCertificateInfo): Add a
+ constructor that receives a ResourceError.
+ * Shared/soup/PlatformCertificateInfo.h:
+ * Shared/soup/WebCoreArgumentCodersSoup.cpp:
+ (CoreIPC::::encodePlatformData): Encode the
+ PlatformCertificateInfo as part for the ResourceError.
+ (CoreIPC::::decodePlatformData): Decode the
+ PlatformCertificateInfo and set certificate and TLS errors in the
+ ResourceError.
+ * UIProcess/API/gtk/WebKitLoaderClient.cpp:
+ (didFailProvisionalLoadWithErrorForFrame): Call
+ webkitWebViewLoadFailedWithTLSErrors() if the load failed due to
+ TLS errors.
+ * UIProcess/API/gtk/WebKitWebContext.cpp:
+ (_WebKitWebContextPrivate): Add tlsErrorsPolicy member.
+ (createDefaultWebContext): Initiales tlsErrorsPolicy.
+ (webkit_web_context_set_tls_errors_policy): Set the TLS errors
+ policy notify WebContext to ignore TLS errors or not.
+ (webkit_web_context_get_tls_errors_policy): Return the current TLS
+ errors policy.
+ * UIProcess/API/gtk/WebKitWebContext.h:
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewLoadFailedWithTLSErrors): Finish the load with an
+ error if the TLS errors policy is FAIL.
+ * UIProcess/API/gtk/WebKitWebViewPrivate.h:
+ * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
+ * UIProcess/API/gtk/tests/TestSSL.cpp:
+ (testTLSErrorsPolicy):
+ (beforeAll):
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::WebContext): Initialize m_ignoreTLSErrors.
+ * UIProcess/WebContext.h:
+ (WebContext): Add m_ignoreTLSErrors member.
+ (WebKit::WebContext::ignoreTLSErrors): Return m_ignoreTLSErrors.
+ * UIProcess/efl/WebContextEfl.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess): Set
+ ignoreTLSErrors parameter.
+ (WebKit::WebContext::setIgnoreTLSErrors): Send SetIgnoreTLSErrors
+ message to the web process.
+ * UIProcess/gtk/WebContextGtk.cpp:
+ (WebKit::WebContext::platformInitializeWebProcess): Set
+ ignoreTLSErrors parameter.
+ (WebKit::WebContext::setIgnoreTLSErrors): Send SetIgnoreTLSErrors
+ message to the web process.
+ (WebKit):
+ * WebProcess/WebProcess.h:
+ * WebProcess/WebProcess.messages.in:
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ (WebKit::WebProcessMainEfl): Remove the call to
+ ResourceHandle::setIgnoreSSLErrors().
+ * WebProcess/gtk/WebProcessMainGtk.cpp:
+ (WebKit::WebProcessMainGtk): Remove the call to
+ ResourceHandle::setIgnoreSSLErrors().
+ * WebProcess/soup/WebProcessSoup.cpp:
+ (WebKit::WebProcess::platformInitializeWebProcess):
+ (WebKit::WebProcess::setIgnoreTLSErrors): Call
+ ResourceHandle::setIgnoreSSLErrors().
+ (WebKit):
+
+2012-12-20 Dominik Röttsches <dominik.rottsches@intel.com>
+
+ [EFL] MiniBrowser does not play Infinite Gangnam Style
+ https://bugs.webkit.org/show_bug.cgi?id=103531
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ WebAudio preference now defaults to switched on.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::EwkViewImpl):
+
+2012-12-20 Huang Dongsung <luxtella@company100.net>
+
+ Remove GraphicsLayer::setGraphicsLayerFactory().
+ https://bugs.webkit.org/show_bug.cgi?id=105503
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ We don't need GraphicsLayer::setGraphicsLayerFactory() anymore. After r130302,
+ we have used a graphics layer factory explicitly.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ * WebProcess/efl/WebProcessMainEfl.cpp:
+ (WebKit::WebProcessMainEfl):
+ * WebProcess/qt/WebProcessMainQt.cpp:
+ (WebKit::WebProcessMainQt):
+
+2012-12-20 Dominik Röttsches <dominik.rottsches@intel.com>
+
+ [WK2] WebAudio WKTR support
+ https://bugs.webkit.org/show_bug.cgi?id=95084
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Implementing audio data dump support for WebKitTestRunner,
+ by adding the API to the IDL, enabling IPC for transferring
+ the audio data as bytebuffer and dumping it according
+ to run-webkit-tests script's expectations.
+
+ I am adding a testrunner specific bundle method to extract data
+ from a Uint8Array into a bytebuffer. This API is used by
+ WebKitTestRunner's TestRunner to extract the data into a local
+ variable, then sending it over IPC.
+
+ * DerivedSources.pri: Fixing Qt build by adding JSUint8Array.h header to list of forwarding headers.
+ * Target.pri: Adding missing WKData.* files. Qt build fix.
+ * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
+ (WKBundleCreateWKDataFromUint8Array): Added.
+ * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: Adding WKBundleCreateWKDataFromUint8Array.
+ * WebProcess/InjectedBundle/InjectedBundle.cpp: Convert Uint8Array to WebData.
+ (WebKit::InjectedBundle::createWebDataFromUint8Array):
+ (WebKit):
+ * WebProcess/InjectedBundle/InjectedBundle.h:
+ (WebKit):
+ (InjectedBundle):
+
+2012-12-19 Kiran Muppala <cmuppala@apple.com>
+
+ Adopt new assertion SPI for process suppression on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=105378
+
+ Reviewed by Mark Rowe.
+
+ Process suppression for WebKit2 child processes is currently enabled or disabled using AutomaticTermination.
+ This should be replaced with a new assertion SPI specific to process suppression.
+
+ * Shared/ChildProcess.cpp:
+ (WebKit::ChildProcess::ChildProcess): Remove unused member variable m_applicationIsOccluded.
+ * Shared/ChildProcess.h:
+ (WebKit::ChildProcess::applicationIsOccluded): Infer occlusion state from m_processVisibleAssertion.
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::setApplicationIsOccluded): Use applicationIsOccluded() accessor to check if the
+ occlusion state has changed and take or release a process visible assertion accordingly.
+ (WebKit::ChildProcess::platformInitialize): Remove call to initializeTimerCoalescingPolicy(), since taking
+ a process visible assertion also sets the timer coalescing policy appropriately. Set the occlusion
+ state to false on initialization.
+
+2012-12-19 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
+ https://bugs.webkit.org/show_bug.cgi?id=105467
+
+ Reviewed by Brady Eidson.
+
+ * NetworkProcess/NetworkResourceLoader.cpp:
+ (WebKit::NetworkResourceLoader::didReceiveResponse):
+ * Shared/mac/PlatformCertificateInfo.mm:
+ (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
+ * WebProcess/Network/WebResourceLoader.cpp:
+ (WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
+ * WebProcess/Network/WebResourceLoader.h:
+ * WebProcess/Network/WebResourceLoader.messages.in:
+ Pass certificate chain over IPC, so that we could ultimately send it to client
+ via WebPageProxy::DidCommitLoadForFrame message.
+
+ * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: (InitWebCoreSystemInterface):
+ Initialize a WKSI function we've been missing.
+
+2012-12-19 Jon Lee <jonlee@apple.com>
+
+ Add a function to set the origin hash table
+ https://bugs.webkit.org/show_bug.cgi?id=105447
+ <rdar://problem/12910985>
+
+ Reviewed by Brian Weinstein.
+
+ Add a new API called WKContextSetPlugInAutoStartOriginHashes. It assigns the table of hashes,
+ keyed by main frame origin, to the WebContext. That, in turn, notifies all existing web
+ processes, so that each web process can update its copy of the auto-start hashes.
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextSetPlugInAutoStartOriginHashes): To clear the table, an empty dictionary must be
+ provided.
+ * UIProcess/API/C/WKContext.h:
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::setPlugInAutoStartOriginHashes): Forward to PlugInAutoStartProvider.
+ * UIProcess/WebContext.h:
+
+ * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
+ (WebKit::PlugInAutoStartProvider::setAutoStartOriginsTable): Clear the map and set of hashes,
+ and convert the data from the provided dictionary. Also add it to a temporary vector, which will
+ be used to pass along to all of the active web processes.
+ * UIProcess/Plugins/PlugInAutoStartProvider.h:
+
+ * WebProcess/WebProcess.messages.in: Add plugInAutoStartOriginsChanged. Takes in a vector of
+ the new set of hashes.
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::plugInAutoStartOriginsChanged): Clear the existing set, and copy the new
+ hashes.
+ * WebProcess/WebProcess.h:
+
+2012-12-18 Jon Lee <jonlee@apple.com>
+
+ Notify context client of change to table, and allow client to get a copy of it
+ https://bugs.webkit.org/show_bug.cgi?id=105364
+ <rdar://problem/12906267>
+
+ Reviewed by Brady Eidson.
+
+ Add a callback to notify the context client that the origin hashes have changed.
+ The client may choose to get a copy of that table and save it to disk.
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextCopyPlugInAutoStartOriginHashes): Added to the context client.
+ * UIProcess/API/C/WKContext.h:
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::plugInAutoStartOriginHashes): Return a copy of the origin hash
+ table.
+ * UIProcess/WebContext.h:
+
+ * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
+ (WebKit::PlugInAutoStartProvider::addAutoStartOrigin): When the origin is added to
+ the table, notify the context client.
+ (WebKit::PlugInAutoStartProvider::autoStartOriginsTableCopy): Create a copy of the
+ table.
+ * UIProcess/Plugins/PlugInAutoStartProvider.h:
+
+ * UIProcess/WebContextClient.cpp:
+ (WebKit::WebContextClient::plugInAutoStartOriginHashesChanged): Call the client.
+ * UIProcess/WebContextClient.h:
+
+2012-12-19 Alexis Menard <alexis@webkit.org>
+
+ Implement CSS parsing for CSS transitions unprefixed.
+ https://bugs.webkit.org/show_bug.cgi?id=104804
+
+ Reviewed by Dean Jackson.
+
+ Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
+ to cover the work of unprefixing Transforms, Animations and
+ Transitions. It will let the possibility of each ports to turn it off
+ in their release branches until we're confident that these CSS
+ properties are ready to be unprefixed.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2012-12-19 Kondapally Kalyan <kalyan.kondapally@intel.com>
+
+ [EFL][WK2][AC] Avoid creating an empty surface.
+ https://bugs.webkit.org/show_bug.cgi?id=105410
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Ensure that the view has valid size before creating the surface.
+
+ * UIProcess/API/efl/EvasGLSurface.h:
+ (WebKit::EvasGLSurface::create):
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::displayTimerFired):
+
+2012-12-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][Qt][WK2] Going back to 47-amazing-css3-animation-demos shows nothing or wrong position
+ https://bugs.webkit.org/show_bug.cgi?id=104414
+
+ Reviewed by Simon Hausmann.
+
+ When contents size changes, make sure to apply any pending position
+ change if possible.
+
+ * UIProcess/PageViewportController.cpp:
+ (WebKit::PageViewportController::didChangeContentsSize):
+
+2012-12-19 Alberto Garcia <agarcia@igalia.com>
+
+ [GTK] [WK2] Trailing semicolon in an #include line
+ https://bugs.webkit.org/show_bug.cgi?id=105418
+
+ Reviewed by Xan Lopez.
+
+ * UIProcess/gtk/WebContextGtk.cpp:
+ Remove trailing semicolon in #include line.
+
+2012-12-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ [EFL][WK2] Move deviceScaleFactor to our view as it's view related
+ https://bugs.webkit.org/show_bug.cgi?id=105412
+
+ Reviewed by Laszlo Gombos.
+
+ * UIProcess/API/efl/EwkViewImpl.cpp:
+ (EwkViewImpl::setDeviceScaleFactor):
+ (EwkViewImpl::transformFromScene):
+ * UIProcess/API/efl/EwkViewImpl.h:
+ (EwkViewImpl):
+ * UIProcess/API/efl/ewk_view.cpp:
+ (ewk_view_device_pixel_ratio_set):
+
+2012-12-19 Zeno Albisser <zeno@webkit.org>
+
+ [Qt] Missing vtable for LoadStartedCatcher.
+ https://bugs.webkit.org/show_bug.cgi?id=105313
+
+ Properly splitting class declarations and function
+ definitions into headers/cpp-files.
+ This makes including util.moc redundant
+ and avoids the well known vtable issues with QObject classes.
+
+ Reviewed by Simon Hausmann.
+
+ * UIProcess/API/qt/tests/util.cpp:
+ (LoadSpy::LoadSpy):
+ (LoadSpy::onLoadingChanged):
+ * UIProcess/API/qt/tests/util.h:
+ (LoadSpy):
+
+2012-12-19 KyungTae Kim <ktf.kim@samsung.com>
+
+ Unused parameters on WebContext.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=105395
+
+ Reviewed by Kentaro Hara.
+
+ Because the parameters 'certficate', 'host' are not used if !ENABLE(NETWORK_PROCESS),
+ use UNUSED_PARAM macro to fix build warning -Wunused-parameter.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::allowSpecificHTTPSCertificateForHost):
+
+2012-12-18 Alexey Proskuryakov <ap@apple.com>
+
+ Remove unnecessary functions from CookiesStrategy
+ https://bugs.webkit.org/show_bug.cgi?id=105369
+
+ Reviewed by Brady Eidson.
+
+ * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+ * NetworkProcess/NetworkConnectionToWebProcess.h:
+ * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+
+ * WebProcess/Cookies/WebCookieManager.cpp: Call PlatformCookieJar directly.
+ Cookie messages to NetworkProcess should not be sent through WebProcess. In a future
+ patch, I'll make WebCookieManagerProxy message NetworkProcess instead.
+
+2012-12-18 Jon Lee <jonlee@apple.com>
+
+ [WK2] Create a context client
+ https://bugs.webkit.org/show_bug.cgi?id=105316
+ <rdar://problem/12901762>
+
+ Reviewed by Brady Eidson.
+
+ Web contexts already have clients related to downloads or history.
+ Miscellaneous callbacks can be grouped into a generic client for the
+ web context.
+
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextSetClient): Set the client for the context.
+ * UIProcess/API/C/WKContext.h: Define a new, empty WKContextClient.
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::initializeClient):
+ * UIProcess/WebContext.h: Add a variable for the new client. Move the
+ download client so that all the clients are grouped together.
+ (WebKit::WebContext::client): Returns the context client.
+ * UIProcess/WebContextClient.cpp: Added. Currently empty, but will be
+ filled out in a pending patch.
+ * UIProcess/WebContextClient.h: Added.
+
+ Add WebContextClient.{h,cpp}.
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * WebKit2.xcodeproj/project.pbxproj:
+ * win/WebKit2.vcproj:
+
+2012-12-18 Ivan Krstić <ike@apple.com>
+
+ <rdar://problem/12720539> per-pid private temporary directories for sandboxed webkit2 plugins
+
+ Reviewed by Sam Weinig, Alexey Proskuryakov, Anders Carlsson.
+
+ Previously we assigned each PluginProcess a private temporary and
+ cache directory based on the bundle name of the plugin that was
+ running. This sometimes led to overly-long pathnames (sockets on OS X
+ can only be 103 characters long), and didn't provide isolation between
+ multiple running instances of the same plugin on behalf of different
+ processes. We now assign each PluginProcess its own private
+ temporary and cache directory regardless of which plugin it's running,
+ and make an attempt to clean these up when the process terminates.
+
+ We also pass the temporary directory into the sandbox
+ profile as a parameter, in case the plugin profile needs to apply
+ additional rules beyond the default read/write policy.
+
+ * PluginProcess/mac/PluginProcessMainMac.mm:
+ (WebKit::PluginProcessMain):
+ * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm:
+ (enterSandbox):
+
+2012-12-18 Beth Dakin <bdakin@apple.com>
+
+ https://bugs.webkit.org/show_bug.cgi?id=102579
+ [mac] Enable scaled cursors
+
+ Reviewed by Dean Jackson.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2012-12-18 Joseph Pecoraro <pecoraro@apple.com>
+
+ [Mac] Add Build Phase to Check Headers for Inappropriate Macros (Platform.h macros)
+ https://bugs.webkit.org/show_bug.cgi?id=104279
+
+ Reviewed by David Kilzer.
+
+ Add a build phase to check the public WebKit2 headers for
+ inappropriate macros. Also set the executable as an input
+ path on the other check-* build phases.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2012-12-18 Jer Noble <jer.noble@apple.com>
+
+ REGRESSION: Using the Exit Full Screen button in the menu bar to exit HTML5 / media full screen breaks Safari windows
+ https://bugs.webkit.org/show_bug.cgi?id=104610
+
+ Reviewed by Anders Carlsson.
+
+ When a user clicks on the menu-bar exit fullscreen button, that skips notifying the document that
+ the window is exiting fullscreen and tearing down the placeholder. Manually call that part of the code
+ when we detect that it has been skipped.
+
+ * UIProcess/mac/WKFullScreenWindowController.mm:
+ (-[WKFullScreenWindowController _startExitFullScreenAnimationWithDuration:]):
+
+2012-12-18 Brady Eidson <beidson@apple.com>
+
+ WebProcesses often crash if they access the network after a NetworkProcess crash.
+ <rdar://problem/12865789> and https://bugs.webkit.org/show_bug.cgi?id=105338
+
+ Reviewed by Alexey Proskuryakov.
+
+ After a NetworkProcess crash we should try to re-establish a connection to a new NetworkProcess
+ when it is needed.
+
+ If that attempt fails, then the WebProcess should "cleanly" crash.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::networkConnection):
+
+2012-12-17 Sam Weinig <sam@webkit.org>
+
+ Try to fix the Mac build.
+
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+
+2012-12-17 Halton Huo <halton.huo@intel.com>
+
+ [EFL] Add ecore_imf_evas to FindEcore.cmake
+ https://bugs.webkit.org/show_bug.cgi?id=105159
+
+ Reviewed by Laszlo Gombos.
+
+ * PlatformEfl.cmake: Add ECORE_IMF_EVAS_LIBRARIES to WebProcess_LIBRARIES
+
+2012-12-17 Huang Dongsung <luxtella@company100.net>
+
+ Coordinated Graphics: Refactor TiledBackingStore code in CoordinatedGraphicsLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=103959
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Currently, CoordinatedGraphicsLayer has complex code related to TiledBackingStore.
+ It has two problem.
+ 1. CoordinatedGraphicsLayer hacks TiledBackingStore to prevent
+ TiledBackingStore from asynchronously sending UpdateTile message to UI
+ Process.
+ 2. CreateTile and RemoveTile message can be sent to UI Process at any time.
+
+ This patch makes CoordinatedGraphicsLayer use TiledBackingStore more explicitly.
+ It means only during flushing layer states, CoordinatedGraphicsLayer
+ calls methods of TiledBackingStore, which indirectly call createTile(),
+ updateTile() and removeTile().
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
+ (WebCore::CoordinatedGraphicsLayer::setVisibleContentRectTrajectoryVector):
+ (WebCore::CoordinatedGraphicsLayer::setContentsScale):
+ (WebCore::CoordinatedGraphicsLayer::adjustContentsScale):
+ (WebCore::CoordinatedGraphicsLayer::tiledBackingStoreHasPendingTileCreation):
+ (WebCore::CoordinatedGraphicsLayer::beginContentUpdate):
+ (WebCore::CoordinatedGraphicsLayer::createTile):
+ (WebCore::CoordinatedGraphicsLayer::updateTile):
+ (WebCore::CoordinatedGraphicsLayer::removeTile):
+ (WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
+ (WebCore::CoordinatedGraphicsLayer::purgeBackingStores):
+ (WebCore::CoordinatedGraphicsLayer::setNeedsVisibleRectAdjustment):
+ (WebCore::CoordinatedGraphicsLayer::computeTransformedVisibleRect):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayerClient):
+ (CoordinatedGraphicsLayer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::notifyFlushRequired):
+ (WebKit::CoordinatedLayerTreeHost::createGraphicsLayer):
+ (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
+2012-12-17 Brady Eidson <beidson@apple.com>
+
+ Can't visit sites with untrusted certs with the NetworkProcess.
+ <rdar://problem/12885641> and https://bugs.webkit.org/show_bug.cgi?id=105235
+
+ Reviewed by Sam Weinig.
+
+ For Mac the missing functionality is being able to tell the network layer in the
+ NetworkProcess to temporarily accept a certificate chain for the given host.
+
+ This patch adds some SPI supporting the way this works on Mac.
+
+ Add a message and Mac implementation for "allowSpecificHTTPSCertificateForHost":
+ * NetworkProcess/NetworkProcess.h:
+ * NetworkProcess/NetworkProcess.messages.in:
+ * NetworkProcess/mac/NetworkProcessMac.mm:
+ (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
+
+ Add SPI for the embedding app"
+ * UIProcess/API/C/WKContext.cpp:
+ (WKContextAllowSpecificHTTPSCertificateForHost):
+ * UIProcess/API/C/WKContextPrivate.h:
+
+ * UIProcess/WebContext.cpp:
+ (WebKit::WebContext::allowSpecificHTTPSCertificateForHost):
+ * UIProcess/WebContext.h:
+
+2012-12-17 Huang Dongsung <luxtella@company100.net>
+
+ [CoordinatedGraphics] Assertion hit in WebKit::LayerTreeRenderer::setLayerState()
+ https://bugs.webkit.org/show_bug.cgi?id=104518
+
+ Reviewed by Noam Rosenthal.
+
+ CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly() must perform
+ only during flushing pending layer changes in CoordinatedLayerTreeHost.
+ RenderLayerCompositor can call GraphicsLayer::flushCompositingState() regardless
+ of CoordinatedLayerTreeHost and it breaks our assumption. It means that
+ CoordinatedGraphicsLayer can send messages although m_waitingForUIProcess in
+ CoordinatedLayerTreeHost is true.
+
+ Assertion hits because of the same reason. If RenderLayerCompositor calls
+ flushCompositingState() before the first CoordinatedLayerTreeHost::flushPendingLayerChanges(),
+ SetCompositingLayerState message can be prior to SetRootCompositingLayer message.
+
+ We fix this by ensuring that we perform the layer flush only in the code
+ path originating from CoordinatedLayerTreeHost.
+
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::flushCompositingState):
+ (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayerClient):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+ (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+ (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
+
2012-12-17 Alexey Proskuryakov <ap@apple.com>
<rdar://problem/12895354> NetworkProcess should not exit after downloading
« no previous file with comments | « Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm ('k') | Source/WebKit2/WebProcess/Plugins/PluginView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698