2011-02-19 Charlie Reis Reviewed by Mihai Parparita. Ensure loading has stopped in HistoryController::goToItem https://bugs.webkit.org/show_bug.cgi?id=54517 Add a FrameLoaderClient callback for whether to stop loading before goToItem. Test: http/tests/navigation/forward-to-fragment-fires-onload.html * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added. * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: 2011-02-18 Sam Weinig Reviewed by Adele Peterson. Real fix for CrashTracer: [USER] 1 crash in WebProcess at com.apple.WebKit2: WebKit::WebPage::didChangeScrollOffsetForMainFrame + 31 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::didChangeScrollOffset): Add null check for the FrameView. This function can be called when the FrameView is being torn down during a transition to a new FrameView. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::didChangeScrollOffsetForMainFrame): Revert last attempt. 2011-02-18 Anders Carlsson Reviewed by Sam Weinig. Hang trying to load nytimes.com with Flash installed * Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::sendSyncMessage): Call beginWaitForSyncReply() before sending the message. Otherwise, in some cases we could have gotten back a synchronous request before calling beginWaitForSyncReply(), and then we wouldn't process it correctly. (Which would lead to the hang). 2011-02-18 Simon Fraser Reviewed by Kevin Decker. Some plug-ins are the wrong size after zooming Use the same frame/bounds adjustment that we use for NSView-based plugins in WebKit2, which allows plug-ins and their snapshots to render with the correct size after scaling. * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::setBoundsSize): (WebKit::PluginView::viewGeometryDidChange): (WebKit::PluginView::clipRectInWindowCoordinates): * WebProcess/Plugins/PluginView.h: 2011-02-18 Beth Dakin Rubber-stamped by Adele Peterson. Fix for CrashTracer: [USER] 1 crash in WebProcess at com.apple.WebKit2: WebKit::WebPage::didChangeScrollOffsetForMainFrame + 31 Simple null-check. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::didChangeScrollOffsetForMainFrame): 2011-02-18 Viatcheslav Ostapenko Reviewed by Kenneth Rohde Christiansen. Tiled backing store area is too big. Error in area calculcation causes size of backing store up to 8 times bigger than viewport with default multipliers. https://bugs.webkit.org/show_bug.cgi?id=54587 * UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::calculateKeepRect): (WebKit::TiledDrawingAreaProxy::calculateCoverRect): 2011-02-18 John Sullivan Reviewed by Maciej Stachowiak. https://bugs.webkit.org/show_bug.cgi?id=54780 pendingAPIRequestURL isn't updated for WKPageGoToBackForwardListItem * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::goToBackForwardItem): Update the pending API URL. 2011-02-18 Anders Carlsson Reviewed by Sam Weinig. Accelerated content fades in when using a layer backed WKView * UIProcess/API/mac/WKView.mm: (-[WKView _enterAcceleratedCompositingMode:]): Make a new nested CATransaction and disable animations when adding the layer hosting subview. This avoids an implicit fade animation that would otherwise occur. 2011-02-18 Simon Fraser Reviewed by Dan Bernstein. Plugin snapshot location is wrong for subframes https://bugs.webkit.org/show_bug.cgi?id=54776 Only change the CTM to the way that the plugin expects it when painting the plugin, not when drawing the snapshot. This fixes the snapshot location when painting flattened frames. * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::paint): 2011-02-18 Anders Carlsson Reviewed by Simon Fraser. Implement NetscapePlugin::pluginComplexTextInputIdentifier https://bugs.webkit.org/show_bug.cgi?id=54770 * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::NetscapePlugin::pluginComplexTextInputIdentifier): 2011-02-18 Sam Weinig Reviewed by Maciej Stachowiak. Add the ability to ask the WKPage if the main frame is pinned to the right or left hand side. Part of . * UIProcess/API/C/WKPage.cpp: (WKPageIsPinnedToLeftSide): (WKPageIsPinnedToRightSide): * UIProcess/API/C/WKPage.h: Add new API calls. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::processDidCrash): (WebKit::WebPageProxy::didChangeScrollOffsetPinningForMainFrame): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::isPinnedToLeftSide): (WebKit::WebPageProxy::isPinnedToRightSide): Initialize, reset and update the pinned state. * UIProcess/WebPageProxy.messages.in: Add message to update the pinned state. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::didChangeScrollOffset): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): (WebKit::WebPage::didChangeScrollOffsetForMainFrame): * WebProcess/WebPage/WebPage.h: Cache the pinned state, and only update the UIProcess when it changes. 2011-02-18 Anders Carlsson Reviewed by Simon Fraser. Fix assertion in SharedMemory::create when trying to snapshot 0x0 plug-in https://bugs.webkit.org/show_bug.cgi?id=54768 * PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::snapshot): Don't try to create a handle from a null ShareableBitmap. * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::snapshot): Check for a zero sized plug-in before trying to create a snapshot. 2011-02-18 Anders Carlsson Reviewed by Simon Fraser. WKView flashes when entering/exiting compositing mode https://bugs.webkit.org/show_bug.cgi?id=54695 * UIProcess/API/mac/WKView.mm: (-[WKView _exitAcceleratedCompositingMode]): Remove the layer hosting view before clearing out its layer, otherwise we can get white flashes when exiting accelerated compositing mode. * WebProcess/WebPage/DrawingAreaImpl.cpp: When entering accelerated compositing mode, we want to defer sending the message until we've actually committed the layer tree and pushed all changes over to the UI process. (WebKit::DrawingAreaImpl::layerHostDidFlushLayers): Tell the layer tree host to force a repaint. This will ensure that all layer tree changes are pushed over to the UI process. When that is done, send the new layer tree context over to the UI process. (WebKit::DrawingAreaImpl::setRootCompositingLayer): When exiting compositing mode in response to a didSetSize, we want to exit accelerated compositing mode right away to avoid flashes. This is safe since we've laid out the page already so we won't end up reentering setRootCompositingLayer. (WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode): Tell the layer tree host to notify us when the next layer tree flush happened, so we can let the UI process know. If we're entering accelerated compositing mode in response to a SetSize message, the new layer tree context will be passed in the DidSetSize message. * WebProcess/WebPage/DrawingAreaImpl.h: Add layerHostDidFlushLayers. * WebProcess/WebPage/LayerTreeHost.h: Add setShouldNotifyAfterNextScheduledLayerFlush. * WebProcess/WebPage/mac/LayerTreeHostMac.h: Add a m_notifyAfterScheduledLayerFlush flag. * WebProcess/WebPage/mac/LayerTreeHostMac.mm: (WebKit::LayerTreeHostMac::LayerTreeHostMac): Initialize m_notifyAfterScheduledLayerFlush to false. (WebKit::LayerTreeHostMac::setShouldNotifyAfterNextScheduledLayerFlush): Set m_notifyAfterScheduledLayerFlush to true. (WebKit::LayerTreeHostMac::flushPendingLayerChangesRunLoopObserverCallback): If m_notifyAfterScheduledLayerFlush is true, call DrawingAreaImpl::layerHostDidFlushLayers. 2011-02-18 Alexey Proskuryakov Reviewed by Adele Peterson. REGRESSION (WebKit2): Wrong frame printed on tivofaq.com https://bugs.webkit.org/show_bug.cgi?id=54677 * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::area): Use visible frame bounds. (WebKit::findLargestFrameInFrameSet): Added a comment explaining what we're up to here. WebKit2 shouldn't be making policy decisions for the client, but it gets dangerously close to that. We used to expose the same as WK1 API though. 2011-02-18 Balazs Kelemen Unreviwed. Remove CleanupHandler since we do not use it anymore. * Shared/qt/CleanupHandler.cpp: Removed. * Shared/qt/CleanupHandler.h: Removed. 2011-02-18 Alejandro G. Castro Fix GTK build by fixing signature of platformPaint(), required after r78956. * WebProcess/Plugins/Netscape/gtk/NetscapePluginGtk.cpp: (WebKit::NetscapePlugin::platformPaint): 2011-02-17 Dan Bernstein LLVM Compiler build fix. * UIProcess/WebResourceCacheManagerProxy.h: * WebProcess/ResourceCache/WebResourceCacheManager.h: 2011-02-17 Simon Fraser Fix Windows and Qt builds by fixing signature of platformPaint(). * WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp: (WebKit::NetscapePlugin::platformPaint): * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp: (WebKit::NetscapePlugin::platformPaint): 2011-02-17 Simon Fraser Reviewed by Sam Weinig. WebKit2 snapshots don't show plug-ins https://bugs.webkit.org/show_bug.cgi?id=54716 Fix WebKit2 plug-ins to do a software paint for snapshotting. * PluginProcess/PluginControllerProxy.h: * PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::snapshot): Respond to the snapshot message by getting a sharable bitmap from the plugin, and returning a handle to it in the reply. * PluginProcess/PluginControllerProxy.messages.in: Add the snapshot message. * Shared/Plugins/PluginQuirks.h: * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: (WebKit::NetscapePluginModule::determineQuirks): Add a quirk for the ability to be snapshotted, which we only set for Flash at the moment. * WebProcess/Plugins/Netscape/NetscapePlugin.h: * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::snapshot): Create a shareable bitmap, and paint into it. (WebKit::NetscapePlugin::supportsSnapshotting): Test the quirk. * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::NetscapePlugin::platformPaint): Allow the paint to happen if we're snapshotting, even when using the CoreAnimation drawing model. * WebProcess/Plugins/Plugin.h: New snapshot method. * WebProcess/Plugins/PluginProxy.h: * WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::snapshot): Send a sync message to the plugin process, asking for a snapshot in a shareble bitmap. * WebProcess/Plugins/PluginView.h: * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::paint): Use the snapshot if we have one, to avoid calling into the plugin to draw, which may run script. (WebKit::PluginView::notifyWidget): Generate the snapshot before a flattening paint, and throw it away after. 2011-02-17 Jessie Berlin Reviewed by Adam Roben. WebKit2: The CFNetwork Cache should be shared between the UI Process and the Web Process on Windows. https://bugs.webkit.org/show_bug.cgi?id=54683 * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * UIProcess/win/WebContextWin.cpp: (WebKit::WebContext::platformInitializeWebProcess): Make sure to remove the ending slash, as CFNetwork does not recognize the directory with that slash. * WebProcess/win/WebProcessWin.cpp: (WebKit::WebProcess::platformInitializeWebProcess): Create a cache using the path, disk capacity, and memory capacity and set it as default. 2011-02-17 Anders Carlsson Reviewed by Sam Weinig. Web and/or plug-in process crashes when NPN_Evaluate destroys the plug-in https://bugs.webkit.org/show_bug.cgi?id=54686 This patch fixes two bugs with a plug-in calling NPN_Evaluate to destroy itself: - The PluginProxy object would be destroyed in the middle of PluginProxy::evaluate. This would cause the web process to crash. - The PluginControllerProxy would call NPP_Destroy while the plug-in was busy running code. This would cause the plug-in process to crash. To fix this, we add protectPluginFromDestruction/unprotectPluginFromDestruction to PluginControllerProxy and use it to defer calling destroy() in the plug-in process, and defer actually destroying the plug-in in the web process. https://bugs.webkit.org/show_bug.cgi?id=54171 tracks adding a test for this. * PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::PluginControllerProxy): (WebKit::PluginControllerProxy::destroy): (WebKit::PluginControllerProxy::evaluate): (WebKit::PluginControllerProxy::protectPluginFromDestruction): (WebKit::PluginControllerProxy::unprotectPluginFromDestruction): * PluginProcess/PluginControllerProxy.h: (WebKit::PluginControllerProxy::asPluginController): * PluginProcess/WebProcessConnection.cpp: (WebKit::WebProcessConnection::destroyPluginControllerProxy): (WebKit::WebProcessConnection::didReceiveMessage): (WebKit::WebProcessConnection::didReceiveSyncMessage): * PluginProcess/WebProcessConnection.h: (WebKit::WebProcessConnection::connection): * WebProcess/Plugins/PluginController.h: (WebKit::PluginController::PluginDestructionProtector::PluginDestructionProtector): (WebKit::PluginController::PluginDestructionProtector::~PluginDestructionProtector): * WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::evaluate): * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::protectPluginFromDestruction): (WebKit::PluginView::unprotectPluginFromDestruction): * WebProcess/Plugins/PluginView.h: 2011-02-17 Sam Weinig Build fix. * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::performDictionaryLookupAtLocation): 2011-02-17 Sam Weinig Reviewed by Maciej Stachowiak. WebKit2: Support Dictionary popup * Shared/TextInfo.cpp: Added. (WebKit::TextInfo::encode): (WebKit::TextInfo::decode): * Shared/TextInfo.h: Added. (WebKit::TextInfo::TextInfo): Add class to represent the location and style of a run of text. * UIProcess/PageClient.h: * UIProcess/API/mac/PageClientImpl.h: * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::didPerformDictionaryLookup): Invoke the dictionary popup. * UIProcess/API/mac/WKView.mm: (-[WKView performLookupAtCurrentMouseLocation]): Tell the WebProcess to get get the text under the mouse and cause the dictionary popup to appear. * UIProcess/API/mac/WKViewPrivate.h: Add performLookupAtCurrentMouseLocation. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::performDictionaryLookupAtLocation): (WebKit::WebPageProxy::didPerformDictionaryLookup): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: Pipe messages through. * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::characterRangeAtPoint): Fix to return PassRefPtr and not potentially stale pointers. (WebKit::WebPage::characterIndexForPoint): Change to use a RefPtr. (WebKit::WebPage::performDictionaryLookupAtLocation): Add simple heuristic to get the word at the current point (or the current selection if it is at that point) and grab the style of the word to send the UIProcess. * WebKit2.pro: * WebKit2.xcodeproj/project.pbxproj: * win/WebKit2.vcproj: Add new files. 2011-02-17 Brian Weinstein Qt build fix. * WebKit2.pro: Update after renaming of MemoryCache to ResourceCache. 2011-02-17 Brian Weinstein Mac build fix. * WebKit2.xcodeproj/project.pbxproj: Use relative to group instead of absolute paths. Not everyone's home directory is /Users/brian_weinstein. 2011-02-16 Brian Weinstein Reviewed by Brady Eidson. WebKit2: Need a way to manage the WebCore Cache https://bugs.webkit.org/show_bug.cgi?id=54501 Implement a WebKit2 API to manage the WebCore memory cache. This API exposes three functions: 1) A method to get a list of all security origins that have entries in the WebCore memory cache. 2) A method to remove all entries in the WebCore memory cache from a SecurityOrigin. 3) A method to remove all entries from the WebCore memory cache. * Platform/CoreIPC/MessageID.h: Add two new MessageClasses. * Shared/API/c/WKBase.h: * Shared/APIObject.h: Add a CacheManager type. * Shared/WebSecurityOrigin.h: Typedef WKCacheManagerRef. (WebKit::WebSecurityOrigin::createFromString): Creates a WebCore::SecurityOrigin using SecurityOrigin::createFromString. (WebKit::WebSecurityOrigin::toString): Calls through to SecurityOrigin::toString. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/WKCacheManager.cpp: Added. (WKCacheManagerGetTypeID): Returns the WebResourceCacheManagerProxy type. (WKCacheManagerGetCacheOrigins): Calls through to WebResourceCacheManagerProxy::getCacheOrigins. (callGetCacheOriginsBlockBlockAndDispose): (WKCacheManagerGetCacheOrigins_b): (WKCacheManagerDeleteCacheForOrigin): Calls through to WebResourceCacheManagerProxy::deleteCacheForOrigin. (WKCacheManagerDeleteAllCache): Calls through to WebResourceCacheManagerProxy::deleteAllCache. * UIProcess/API/C/WKCacheManager.h: Added. * UIProcess/API/C/WKContext.cpp: (WKContextGetCacheManager): Calls to get the WebResourceCacheManagerProxy. * UIProcess/API/C/WKContext.h: * UIProcess/WebResourceCacheManagerProxy.cpp: Added. (WebKit::WebResourceCacheManagerProxy::create): Calls through to the constructor. (WebKit::WebResourceCacheManagerProxy::WebResourceCacheManagerProxy): Initialize the m_webContext variable. (WebKit::WebResourceCacheManagerProxy::~WebResourceCacheManagerProxy): (WebKit::WebResourceCacheManagerProxy::invalidate): Invalidate the callback map. (WebKit::WebResourceCacheManagerProxy::getCacheOrigins): Call through to the web process to get the cache origins. (WebKit::WebResourceCacheManagerProxy::didGetCacheOrigins): Call the callback. (WebKit::WebResourceCacheManagerProxy::deleteCacheForOrigin): Call through to the web process to delete cache for the given origin. (WebKit::WebResourceCacheManagerProxy::deleteAllCache): Call through to the web process to delete all of the cache. * UIProcess/WebResourceCacheManagerProxy.h: Added. (WebKit::WebResourceCacheManagerProxy::clearContext): (WebKit::WebResourceCacheManagerProxy::type): * UIProcess/WebResourceCacheManagerProxy.messages.in: Added. * UIProcess/WebContext.cpp: (WebKit::WebContext::WebContext): Initialize new member variable. (WebKit::WebContext::~WebContext): Invalidates new member variable. (WebKit::WebContext::didReceiveMessage): Passes cache messages to the cache manager. * UIProcess/WebContext.h: (WebKit::WebContext::cacheManagerProxy): * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::didReceiveMessage): Add a new message class. * WebProcess/ResourceCache/WebResourceCacheManager.cpp: Added. (WebKit::WebResourceCacheManager::shared): (WebKit::WebResourceCacheManager::WebResourceCacheManager): (WebKit::WebResourceCacheManager::~WebResourceCacheManager): (WebKit::WebResourceCacheManager::didReceiveMessage): Calls through to didReceiveWebResourceCacheManagerMessage. (WebKit::WebResourceCacheManager::getCacheOrigins): Gets a list of origins with cache entries from the memory cache, and puts them into a vector to send to the UI process. (WebKit::WebResourceCacheManager::deleteCacheForOrigin): Calls through to ResourceCache to delete all cache entries from a given origin. (WebKit::WebResourceCacheManager::deleteAllCache): * WebProcess/ResourceCache/WebResourceCacheManager.h: Added. * WebProcess/ResourceCache/WebResourceCacheManager.messages.in: Added. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::didReceiveMessage): (WebKit::WebProcess::clearResourceCaches): Tell the memory cache to evict its resources. This was done on WebKit1, but not WebKit2. * WebProcess/WebProcess.h: * WebKit2.xcodeproj/project.pbxproj: Added new files. * win/WebKit2.vcproj: Ditto. * win/WebKit2Common.vsprops: Added new include directory. * win/WebKit2Generated.make: Added new header. 2011-02-16 David Hyatt Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=54244 Convert the line box tree to floating point and eliminate font rounding hacks. This patch removes all of the rounding hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats. The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have been changed as well. In terms of pixel adjustments, overflow is using an enclosing model (so it will be enclosingIntRect of a line box's x/y/width/height). Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting. Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes still have a precise floating point position. Justification will now allow subpixel positioning to occur as well. Platforms that don't support subpixel positioning should already be rounding justification spacing in their font code. Many layout test results change on Mac, since rounding hacks were used there and are now gone. * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp: (WebKit::WebPopupMenu::setUpPlatformData): 2011-02-10 Luiz Agostini Reviewed by Adam Roben. HTML5
and : localized text https://bugs.webkit.org/show_bug.cgi?id=54260 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to provide the default label to be used by a
tag that has no child. * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: (WebKit::WebPlatformStrategies::defaultDetailsSummaryText): * WebProcess/WebCoreSupport/WebPlatformStrategies.h: 2011-02-17 Adam Roben Make sure layout is up-to-date before rendering the layer tree in DrawingAreaImpl Fixes Assertion failure in FrameView::paintContents when calling WKPageForceRepaint on a page that uses accelerated compositing Reviewed by Anders Carlsson. * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::forceRepaint): Lay out before we do anything else. 2011-02-17 Alejandro G. Castro Reviewed by Martin Robinson. [GTK] Add WKPluginSiteDataManager.cpp compilation after r78647 https://bugs.webkit.org/show_bug.cgi?id=54564 * GNUmakefile.am: Added files to compilation. * Shared/Plugins/Netscape/NetscapePluginModule.h: used npruntime_internal.h in the include to avoid problems with X types. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::setAlwaysUsesComplexTextCodePath): fixed ambiguous reference to Font caused by the X headers required by the plugins. 2011-02-16 Matthew Delaney Reviewed by Simon Fraser. Allow acceleratesDrawing for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=54511 Plumb through preference for accelerated drawing. If accelerated drawing is enabled, keep the DrawingAreaImpl in accelerated compositing mode. * Shared/WebPreferencesStore.h: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetAcceleratedDrawingEnabled): (WKPreferencesGetAcceleratedDrawingEnabled): * UIProcess/API/C/WKPreferencesPrivate.h: * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::DrawingAreaImpl): (WebKit::DrawingAreaImpl::setRootCompositingLayer): (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode): * WebProcess/WebPage/DrawingAreaImpl.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): 2011-02-16 Yael Aharon Reviewed by Andreas Kling. [Qt] White screen is displayed when tiled backing store is enabled in MiniBrowser. https://bugs.webkit.org/show_bug.cgi?id=54583 Make sure to invalidate all the tiles, including the last one. * UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::invalidate): 2011-02-16 Yael Aharon Reviewed by Andreas Kling. [Qt] Tiles are not created for webkit2 after r77286. https://bugs.webkit.org/show_bug.cgi?id=54577 When using the default tile size of 1024x1024, only one tile is created. Make sure to create this tile by undoing what seems to be a typo in r77286. * UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::paint): (WebKit::TiledDrawingAreaProxy::createTiles): == Rolled over to ChangeLog-2011-02-16 ==