- 19 May, 2013 6 commits
-
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116415 Reviewed by Darin Adler. .: This code was only used by Chromium and is dead now. * Source/autotools/SetupWebKitFeatures.m4: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Source/JavaScriptCore: This code was only used by Chromium and is dead now. * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.list.am: * Target.pri: * WebCore.vcproj/WebCore.vcproj: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * dom/Document.cpp: (WebCore::Document::Document): * dom/Document.h: (WebCore): (Document): * dom/EventNames.h: (WebCore): * html/HTMLLinkElement.cpp: * html/HTMLLinkElement.h: * html/LinkRelAttribute.cpp: (WebCore::LinkRelAttribute::LinkRelAttribute): * html/LinkRelAttribute.h: (LinkRelAttribute): * loader/LinkLoader.cpp: (WebCore::LinkLoader::~LinkLoader): (WebCore::LinkLoader::loadLink): (WebCore::LinkLoader::released): * loader/LinkLoader.h: (WebCore): (LinkLoader): * loader/LinkLoaderClient.h: (LinkLoaderClient): * loader/Prerenderer.cpp: Removed. * loader/Prerenderer.h: Removed. * loader/PrerendererClient.cpp: Removed. * loader/PrerendererClient.h: Removed. * platform/PrerenderClient.h: Removed. * platform/PrerenderHandle.h: Removed. Source/WebKit/blackberry: This code was only used by Chromium and is dead now. * WebCoreSupport/AboutDataEnableFeatures.in: Source/WebKit/mac: This code was only used by Chromium and is dead now. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: This code was only used by Chromium and is dead now. * Configurations/FeatureDefines.xcconfig: Source/WTF: This code was only used by Chromium and is dead now. * wtf/FeatureDefines.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Change the terminology used by rendering code when painting a given node and its children from "paintingRoot" to "subtreePaintRoot" https://bugs.webkit.org/show_bug.cgi?id=116417 Reviewed by Sam Weinig. PaintInfo and RenderLayer code referred to a "paintingRoot". This is only set when FrameView::setNodeToDraw() has been called and is used to restrict painting to some part of the subtree, but it could easily be misinterpreted, and confused with the "rootLayer" used by RenderLayer (which is usually not the layer associated with the paintingRoot). Change the terminology from "paintingRoot" to "subtreePaintRoot" root to make the purpose of this variable more obvious. No behavior change. * page/FrameView.cpp: Add a comment for setNodeToDraw(); in future this should be called setSubtreePaintRoot() or something. Not done in this patch to avoid risk; this function is exported from WebCore. * rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paint): * rendering/PaintInfo.h: (WebCore::PaintInfo::PaintInfo): (WebCore::PaintInfo::updateSubtreePaintRootForChildren): (WebCore::PaintInfo::shouldPaintWithinRoot): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintContents): * rendering/RenderBox.cpp: (WebCore::RenderBox::paint): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::paint): (WebCore::RenderLayer::paintOverlayScrollbars): (WebCore::RenderLayer::paintLayerContents): (WebCore::RenderLayer::paintLayerByApplyingTransform): (WebCore::RenderLayer::paintBackgroundForFragments): (WebCore::RenderLayer::paintForegroundForFragments): (WebCore::RenderLayer::paintForegroundForFragmentsWithPhase): (WebCore::RenderLayer::paintOutlineForFragments): (WebCore::RenderLayer::paintMaskForFragments): * rendering/RenderLayer.h: (WebCore::RenderLayer::LayerPaintingInfo::LayerPaintingInfo): * rendering/RenderObject.cpp: Add a comment to recommend changing the name of paintingRootRect() to refer to a subtree paint. Not done in this patch to avoid risk; this function is exported from WebCore. * rendering/RenderSnapshottedPlugIn.cpp: (WebCore::RenderSnapshottedPlugIn::paint): * rendering/RenderTable.cpp: (WebCore::RenderTable::paintObject): * rendering/svg/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116411 Reviewed by Sam Weinig. The drag source is an element, so use RefPtr<Element> instead of RefPtr<Node>. Also, the entire drag state is about dragging, so no need for the word "drag" in the name of its members. Also, it's a struct, so the members don't need m_ prefixes. * page/DragController.cpp: Removed unneeded include of Node.h since it's included by Element.h, which is also included. (WebCore::DragController::draggableElement): Renamed from Node to Element and changed the types and names of arguments accordingly. Also made this function handle a startElement of 0 so callers don't need to. Also updated for changes to DragState members. (WebCore::DragController::startDrag): Updated for changes to DragState members. Since dragSource can only be an element, was able to get rid of isElementNode checks. * page/DragController.h: Fixed style of forward declarations of structs. Updated for change of draggableNode to draggableElement. Also removed declarations of nonexistent selectionDraggingRect and doDrag functions. * page/DragState.h: Rewrote practically this whole header. Added an include of Element instead of Node since that's what we use now. Removed includes that are redundant. There's no problem copying a DragState, so removed WTF_MAKE_NONCOPYABLE. There's no need to allocate a DragState on the heap, so removed WTF_MAKE_FAST_ALLOCATED. The event dispatch boolean is never set to a constant, so there's no need for a policy enum; it can just be a boolean. Removed the "m_" prefixes from the struct members, since this is a struct with public members and we don't use the prefix in those cases. Removed the word "drag" from the struct member names since this entire struct is about dragging and has drag in its name. Left the comments mostly intact, even though I'm not certain of their value. * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent): Updated for changes to DragState. (WebCore::EventHandler::eventMayStartDrag): Use innerElement instead of innerNode to call draggableElement instead of draggableNode. (WebCore::EventHandler::updateDragAndDrop): Updated for changes to DragState. (WebCore::EventHandler::cancelDragAndDrop): Ditto. (WebCore::EventHandler::handleWheelEvent): Added FIXME. (WebCore::EventHandler::dragHysteresisExceeded): Updated for changes to DragState. (WebCore::EventHandler::freeClipboard): Updated for changes to DragState. Also re-added code to release the clipboard object, which is needed here to avoid keeping it around in memory until the next drag. (WebCore::EventHandler::dragSourceEndedAt): Updated for changes to DragState. (WebCore::EventHandler::updateDragStateAfterEditDragIfNeeded): Ditto. (WebCore::EventHandler::dispatchDragSrcEvent): Ditto. (WebCore::EventHandler::handleDrag): Updated for changes to DragState. Use innerElement instead of innerNode to call draggableElement instead of draggableNode. No longer need to null check innerElement because draggableElement does that. Removed unneeded else that was setting m_dragSrc to zero since it's guaranteed to already be zero. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116054 Source/WebCore: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * loader/EmptyClients.h: * page/ChromeClient.h: (ChromeClient): Source/WebKit/blackberry: Reviewed by Andreas Kling. This blatantly horrible layer violation was only used by the Chromium port; get rid of it. * WebCoreSupport/ChromeClientBlackBerry.h: (ChromeClientBlackBerry): Source/WebKit/efl: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): Source/WebKit/gtk: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/ChromeClientGtk.h: (ChromeClient): Source/WebKit/mac: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): Source/WebKit/qt: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/ChromeClientQt.h: (ChromeClientQt): Source/WebKit/win: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): Source/WebKit/wince: Reviewed by Darin Adler. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty client or not. We already have a (slightly less horrible) way to do that. * WebCoreSupport/ChromeClientWinCE.h: (ChromeClientWinCE): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116410 Reviewed by Andreas Kling. This is one of the clean-ups made possible by the changes to the DOM clipboard class. I had been waiting until all the platforms were moved over to it, but it turns out to be easy to do this now, just with #ifdefs. * PlatformBlackBerry.cmake: Deleted EditorBlackBerry.cpp. * editing/Editor.cpp: (WebCore::Editor::dispatchCPPEvent): Call Clipboard::createForCopyAndPaste directly when using the new version of the Clipboard class. Also some small style cleanup nearby. * editing/blackberry/EditorBlackBerry.cpp: Removed. The only function in this file was newGeneralClipboard. * editing/mac/EditorMac.mm: Deleted newGeneralClipboard. * platform/efl/ClipboardEfl.cpp: Ditto. * platform/gtk/ClipboardGtk.cpp: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113962 Reviewed by Anders Carlsson. No new tests. Since drag data is interpreted as a null-terminated string this is difficult to test with a C program and we have no infrastructure built for using GIR tests. * platform/gtk/PasteboardHelper.cpp: (WebCore::PasteboardHelper::fillSelectionData): Instead of including the null character in the paste data length, just include the string. This matches the behavior of Firefox. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 May, 2013 19 commits
-
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116406 Reviewed by Andreas Kling. RenderLayer::paintLayerContents() was getting polluted with code related to filters, clipping and font subpixel quantization, and hard to follow. Move three hunks of code into new functions: setupFontSubpixelQuantization() now contains the code related to whether we disable font subpixel quantization on the context. setupClipPath() now contains code related to clipping to shapes and references. setupFilters() and applyFilters() contain code related to CSS filters. As part of this, the interaction with FilterEffectRendererHelper was simplified. It was convenient for setupFilters() to return a FilterEffectRendererHelper object if successful, so we use an OwnPtr<FilterEffectRendererHelper> now. In addition, the GraphicsContext swapping was moved from FilterEffectRendererHelper code into RenderLayer to make it easier to follow. FilterEffectRendererHelper no longer holds on to the old GraphicsContext. No behavior change. * rendering/FilterEffectRenderer.cpp: (WebCore::FilterEffectRendererHelper::filterContext): (WebCore::FilterEffectRendererHelper::beginFilterEffect): (WebCore::FilterEffectRendererHelper::applyFilterEffect): * rendering/FilterEffectRenderer.h: (WebCore::FilterEffectRendererHelper::FilterEffectRendererHelper): (WebCore::FilterEffectRendererHelper::hasStartedFilterEffect): (FilterEffectRendererHelper): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::setupFontSubpixelQuantization): (WebCore::RenderLayer::setupClipPath): (WebCore::RenderLayer::setupFilters): (WebCore::RenderLayer::applyFilters): (WebCore::RenderLayer::paintLayerContents): * rendering/RenderLayer.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116397 Reviewed by Andreas Kling. RenderStyle::diff() was prone to being changed incorrectly, since there was a poorly documented ordering requirement: style changes that cause layout have to be detected before those that cause only repainting. In addition, the existing code made it impossible to separately ask whether a given style change requires a repaint, if we've already detected that it requires a positioned-movement-only layout. Fix by factoring the code into member functions that check for each type of style change. No behavior change. * rendering/style/RenderStyle.cpp: (WebCore::positionChangeIsMovementOnly): (WebCore::RenderStyle::changeRequiresLayout): (WebCore::RenderStyle::changeRequiresPositionedLayoutOnly): (WebCore::RenderStyle::changeRequiresLayerRepaint): (WebCore::RenderStyle::changeRequiresRepaint): (WebCore::RenderStyle::changeRequiresRepaintIfText): (WebCore::RenderStyle::changeRequiresRecompositeLayer): (WebCore::RenderStyle::diff): * rendering/style/RenderStyle.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116402 Reviewed by Sam Weinig. Source/WebCore: Move more security checking code to Storage so more code can be shared between WebKit1 and WebKit2. * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::setDOMStorageItem): (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem): * storage/Storage.cpp: (WebCore::Storage::setItem): (WebCore::Storage::removeItem): (WebCore::Storage::clear): * storage/StorageArea.h: (StorageArea): * storage/StorageAreaImpl.cpp: (WebCore::StorageAreaImpl::setItem): (WebCore::StorageAreaImpl::removeItem): (WebCore::StorageAreaImpl::clear): * storage/StorageAreaImpl.h: (StorageAreaImpl): Source/WebKit2: Remove security checking code that lives in Storage now. * WebProcess/Storage/StorageAreaImpl.cpp: (WebKit::StorageAreaImpl::setItem): (WebKit::StorageAreaImpl::removeItem): (WebKit::StorageAreaImpl::clear): * WebProcess/Storage/StorageAreaImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
* UIProcess/API/mac/WKTypeRefWrapper.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116389 Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-05-18 Reviewed by Martin Robinson. There's no longer WebKeyValueStorageManager in the web process after r150305. * WebProcess/WebPage/WebPageGroupProxy.cpp: (WebKit::WebPageGroupProxy::WebPageGroupProxy): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116345 Reviewed by Anders Carlsson. In order to efficiently send a WKImageRef to another process when using the Objective-C WKConnection (or other user data messages), we need a way to encode WKTypeRefs in the objective-c object graph. Thus was born WKTypeRefWrapper. * Shared/mac/ObjCObjectGraphCoders.mm: (WebKit::typeFromObject): (WebKit::WebContextObjCObjectGraphEncoderImpl::encode): (WebKit::WebContextObjCObjectGraphDecoderImpl::decode): (WebKit::InjectedBundleObjCObjectGraphEncoderImpl::encode): (WebKit::InjectedBundleObjCObjectGraphDecoderImpl::decode): * UIProcess/API/mac/WKTypeRefWrapper.h: Added. * UIProcess/API/mac/WKTypeRefWrapper.mm: Added. (-[WKTypeRefWrapper initWithObject:]): (-[WKTypeRefWrapper object]): * WebKit2.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116399 Reviewed by Sam Weinig. Source/WebCore: Move the security and private browsing checks from StorageArea to Storage so we can share more code between WebKit1 and WebKit2. * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::getDOMStorageItems): Update to new StorageArea interface. The security checks are unnecessary here anyway because InspectorDOMStorageAgent::findStorageArea will only return a StorageArea that can be accessed by the frame's security origin. * storage/Storage.cpp: (WebCore::Storage::key): (WebCore::Storage::getItem): (WebCore::Storage::contains): * storage/StorageArea.h: (StorageArea): * storage/StorageAreaImpl.cpp: (WebCore::StorageAreaImpl::key): (WebCore::StorageAreaImpl::item): (WebCore::StorageAreaImpl::contains): * storage/StorageAreaImpl.h: (StorageAreaImpl): Source/WebKit2: Remove security and private browsing checks. * WebProcess/Storage/StorageAreaImpl.cpp: (WebKit::StorageAreaImpl::key): (WebKit::StorageAreaImpl::item): (WebKit::StorageAreaImpl::contains): * WebProcess/Storage/StorageAreaImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://canberraballoons.com.ausimon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116384 <rdar://problem/13930328> Reviewed by Dan Bernstein. This page loads a large JPEG image as the body background. ImageSource::frameHasAlphaAtIndex() always claims that JPEG images are opaque, but this isn't true if the frame is only partially loaded. However, this would cause FillLayer::hasOpaqueImage() to report that the background image is opaque, so we'd skip painting the background color. Unpainted content in an opaque layer results in garbage. Fix by having ImageSource::frameHasAlphaAtIndex() always return true for frames that are not complete. When the image load completes, we recompute metadata and correctly determine that the frame is opaque. * platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::frameHasAlphaAtIndex): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
https://webkit.org/b/116392 Reviewed by Anders Carlsson. * platform/mac/EventLoopMac.mm: (WebCore::EventLoop::cycle): Use CFRunLoopRunInMode instead. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<http://webkit.org/b/116382> Reviewed by Antti Koivisto. CSSParserSelector already knows how to append another component to itself, no need to duplicate that logic in the grammar. * css/CSSGrammar.y.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114554 Reviewed by Gyuyoung Kim. Using variables as target names is very uncommon in CMake. The usual way to specify the name of the resulting binary is to set the OUTPUT_NAME target property. .: * CMakeLists.txt: * Source/CMakeLists.txt: * Source/PlatformEfl.cmake: * Source/PlatformGTK.cmake: * Source/cmake/OptionsBlackBerry.cmake: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/WebKitHelpers.cmake: * Source/cmake/gtest/CMakeLists.txt: Source/JavaScriptCore: * CMakeLists.txt: * shell/CMakeLists.txt: Source/WebCore: * CMakeLists.txt: Source/WebKit: * CMakeLists.txt: * PlatformBlackBerry.cmake: * PlatformEfl.cmake: Source/WebKit/efl: * ewebkit.pc.in: Source/WebKit2: * CMakeLists.txt: * PlatformEfl.cmake: * efl/ewebkit2.pc.in: Source/WTF: * wtf/CMakeLists.txt: Tools: * DumpRenderTree/efl/CMakeLists.txt: * EWebLauncher/CMakeLists.txt: * ImageDiff/CMakeLists.txt: * MiniBrowser/efl/CMakeLists.txt: * TestWebKitAPI/CMakeLists.txt: * WebKitTestRunner/CMakeLists.txt: * WebKitTestRunner/PlatformEfl.cmake: * WinCELauncher/CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ch.dumez@sisa.samsung.com authored
.: Temporarily disabled INDEXED_DATABASE at compile-time as it breaks WK2 build after r150305. * Source/cmake/OptionsEfl.cmake: Tools: Temporarily disabled INDEXED_DATABASE at compile-time as it breaks WK2 build after r150305. * Scripts/webkitperl/FeatureList.pm: LayoutTests: Skip indexeddb test cases as the feature is temporarily disabled due to r150305. * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116221 Reviewed by Martin Robinson. Source/WebCore: Merge clipboard methods into PasteboardGtk that now wraps a DataObjectGtk. * GNUmakefile.list.am: Remove ClipboardGtk.h. * dom/Clipboard.h: Remove GTK from the list of ports using legacy clipboard. * page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::createDraggingClipboard): Use Clipboard::createForDragAndDrop(). * platform/Pasteboard.h: (Pasteboard): * platform/gtk/ClipboardGtk.cpp: (WebCore::Editor::newGeneralClipboard): Use Clipboard::createForCopyAndPaste(). (WebCore::Clipboard::createDragImage): (WebCore::Clipboard::declareAndWriteDragImage): * platform/gtk/ClipboardGtk.h: Removed. * platform/gtk/DragDataGtk.cpp: * platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::create): Create a new Pasteboard for a given GtkClipboard or DataObjectGtk. (WebCore::Pasteboard::createForCopyAndPaste): Create a Pasteboard for the GDK_SELECTION_CLIPBOARD clipboard. (WebCore::Pasteboard::createPrivate): Create a Pasteboard without a GtkClipboard associated. (WebCore::Pasteboard::createForDragAndDrop): Create a Pasteboard for drag and drop operations. (WebCore::selectionClipboard): Return a static Pasteboard for the GDK_SELECTION_CLIPBOARD clipboard. (WebCore::primaryClipboard): Return a static Pasteboard for the GDK_SELECTION_PRIMARY clipboard. (WebCore::Pasteboard::generalPasteboard): Return selectionClipboard() or primaryClipboard() depending on whether primary selection clipboard is the active one or not. (WebCore::Pasteboard::Pasteboard): (WebCore::Pasteboard::~Pasteboard): (WebCore::Pasteboard::dataObject): Return the wrapped DataObjectGtk. (WebCore::dataObjectTypeFromHTMLClipboardType): Copied from ClipboardGtk.cpp. (WebCore::Pasteboard::writeString): Adapted to upate the wrapped DataObjectGtk and the GtkClipboard if needed. (WebCore::Pasteboard::writeSelection): Ditto. (WebCore::Pasteboard::writePlainText): Ditto. (WebCore::Pasteboard::writeURL): Ditto. (WebCore::Pasteboard::writeImage): Ditto. (WebCore::Pasteboard::writePasteboard): Copy the wrapped DataObjectGtk from the DataObjectGtk of the given Pasteboard and upsate the GtkClipboard if needed. (WebCore::Pasteboard::clear): Copied from ClipboardGtk.cpp. (WebCore::Pasteboard::canSmartReplace): Check if current GtkClipboard supports smart replace. (WebCore::Pasteboard::setDragImage): (WebCore::Pasteboard::documentFragment): Adapted to use the wrapped DataObjectGtk reading from the current GtkClipboard if present. (WebCore::Pasteboard::plainText): Ditto. (WebCore::Pasteboard::hasData): Copied from ClipboardGtk.cpp. (WebCore::Pasteboard::types): Ditto. (WebCore::Pasteboard::readString): Ditto. (WebCore::Pasteboard::readFilenames): Ditto. Source/WebKit/gtk: * WebCoreSupport/DragClientGtk.cpp: (WebKit::DragClient::startDrag): Get the DataObjectGtk from the Pasteboard associated to the given Clipboard. Source/WebKit2: * UIProcess/API/gtk/WebKitWebViewBase.cpp: Remove ClipboardGtk.h include. * WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp: (WebKit::WebDragClient::startDrag): Get the DataObjectGtk from the Pasteboard associated to the given Clipboard. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116386 Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-05-18 Reviewed by Christophe Dumez. Refactor the API to handle 'const char*' parameter in right way and enable the unit test which was disabled in r136230 as there is no assertion now. * UIProcess/API/efl/EwkView.cpp: (EwkView::setCustomTextEncodingName): * UIProcess/API/efl/EwkView.h: (EwkView::customTextEncodingName): (EwkView): * UIProcess/API/efl/ewk_view.cpp: (ewk_view_custom_encoding_set): * UIProcess/API/efl/tests/test_ewk2_view.cpp: (TEST_F): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116289 Patch by Tim Horton <timothy_horton@apple.com> on 2013-05-18 Reviewed by Csaba Osztrogonác. Don't try to static cast something that isn't a ChromeClientQt to ChromeClientQt. It's actually SVGImage's EmptyChromeClient-derived client (or other such things). * WebCoreSupport/PlatformStrategiesQt.cpp: (PlatformStrategiesQt::getPluginInfo): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* DerivedSources.pri: * Target.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116227 Patch by Alberto Garcia <agarcia@igalia.com> on 2013-05-18 Reviewed by Martin Robinson. .: * GNUmakefile.am: Define an empty noinst_DATA variable where other automake files can add additional objects to be built. Source/WebCore: * GNUmakefile.am: Don't overwrite noinst_DATA, modify its existing value instead. Tools: * GNUmakefile.am: Don't use the 'all' target to generate the documentation. The prerequisites of this target must be files that need to be built _before_ the actual compilation of WebKit starts. Since the documentation depends on WebKit being built first, this means in practice that the code will be built in parallel with the generation of its dependencies, potentially making the build fail. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* GNUmakefile.list.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 May, 2013 15 commits
-
-
rdar://problem/13819878ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116359 The condition was accidentally negated, fixing. * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: (WebKit::WebPlatformStrategies::isAvailable): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
michelangelo@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116370 CSSPropertyFontStretch mistakenly fell through the shader parsing logic. Reviewed by Alexandru Chiculita. No new test possible, the feature is not implemented nor exposed. * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
There might be some cases where the debugger will stay in the nested run loop which cause weird issues. Speculative fix for: https://webkit.org/b/111438 Reviewed by Joseph Pecoraro. * inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::disable): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116287 Reviewed by Rob Buis. * PlatformBlackBerry.cmake: Removed ClipboardBlackBerry.cpp. * dom/Clipboard.h: Removed BLACKBERRY from the list of platforms that use the legacy clipboard. * editing/blackberry/EditorBlackBerry.cpp: (WebCore::Editor::newGeneralClipboard): Changed to just create a copy and paste clipboard. * page/blackberry/EventHandlerBlackBerry.cpp: Removed a drag-related function that wasn't doing any good. * platform/blackberry/ClipboardBlackBerry.cpp: Removed. * platform/blackberry/ClipboardBlackBerry.h: Removed. * platform/blackberry/PasteboardBlackBerry.cpp: (WebCore::Pasteboard::createForCopyAndPaste): Added. (WebCore::Pasteboard::createPrivate): Added. (WebCore::Pasteboard::hasData): Added. Moved code here from ClipboardBlackBerry.cpp. (WebCore::Pasteboard::clear): Ditto. (WebCore::Pasteboard::readString): Ditto. (WebCore::Pasteboard::writeString): Ditto. (WebCore::Pasteboard::types): Ditto. (WebCore::Pasteboard::readFilenames): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<http://webkit.org/b/116344> Reviewed by Darin Adler. Teach RenderStyle::diff() to ignore differences in the outline value if both styles have non-visible outlines. * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::diff): * rendering/style/StyleBackgroundData.cpp: (WebCore::StyleBackgroundData::isEquivalentForPainting): * rendering/style/StyleBackgroundData.h: (StyleBackgroundData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<http://webkit.org/b/116371> <rdar://problem/13930698> Reviewed by Ryosuke Niwa. Don't forget to destroy the very last selector in the list. * css/CSSSelectorList.cpp: (WebCore::CSSSelectorList::deleteSelectors): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116368 <rdar://problem/13392600> Reviewed by Geoff Garen & Anders Carlson. * UIProcess/WebContext.cpp: (WebKit::WebContext::WebContext): (WebKit::WebContext::processDidSaveToPageCache): (WebKit): (WebKit::WebContext::disconnectProcess): * UIProcess/WebContext.h: - Added m_processWithPageCache, only allow one process to keep a PageCache. (WebContext): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didSaveToPageCache): (WebKit): * UIProcess/WebPageProxy.h: (WebPageProxy): * UIProcess/WebPageProxy.messages.in: - Forward didSaveToPageCache to the WebProcessProxy. * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::addBackForwardItem): (WebKit::WebProcessProxy::didSaveToPageCache): (WebKit): (WebKit::WebProcessProxy::releasePageCache): - Forward releasePageCache to the WebProcess. - Forward didSaveToPageCache to the WebContext. * UIProcess/WebProcessProxy.h: (WebProcessProxy): * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::didSaveToPageCache): - Forward didSaveToPageCache to the WebPageProxy. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::releasePageCache): (WebKit): * WebProcess/WebProcess.h: (WebProcess): * WebProcess/WebProcess.messages.in: - Added 'ReleasePageCache' to instruct a web process to drop any cached pages. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116367 Reviewed by Andreas Kling. Source/WebCore: * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::getDOMStorageItems): Remove ec parameter. * inspector/InspectorDOMStorageAgent.h: Add forward declaration. * page/DOMWindow.cpp: (WebCore::DOMWindow::sessionStorage): (WebCore::DOMWindow::localStorage): Storage::StorageArea returns a reference now. * storage/Storage.cpp: (WebCore::Storage::length): Check that the storage area can be accessed by the frame, and that it's not disabled by private browsing. Then call down to the (now simplified) StorageArea::length(). (WebCore::Storage::isDisabledByPrivateBrowsing): New helper function that's based on StorageAreaImpl::disabledByPrivateBrowsingInFrame, but reordered to make it easier to follow. * storage/Storage.h: (WebCore::Storage::area): Return a reference. * storage/StorageAreaImpl.cpp: (WebCore::StorageAreaImpl::storageType): Add this new virtual member funciton that's needed by Storage::isDisabledByPrivateBrowsing. (WebCore::StorageAreaImpl::length): Remove unneeded code. Source/WebKit2: * WebProcess/Storage/StorageAreaImpl.cpp: (WebKit::StorageAreaImpl::length): Remove code that's now in Storage::length. (WebKit::StorageAreaImpl::storageType): Make this a virtual member function. * WebProcess/Storage/StorageAreaImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/150294 https://bugs.webkit.org/show_bug.cgi?id=116369 Caused 31 tests to fail (Requested by rniwa on #webkit). * WebCore.exp.in: * rendering/InlineFlowBox.h: * rendering/InlineTextBox.h: (InlineTextBox): * rendering/RenderApplet.h: * rendering/RenderBR.h: * rendering/RenderBlock.h: (RenderBlock): (WebCore::RenderBlock::virtualContinuation): * rendering/RenderBox.h: (WebCore::RenderBox::borderBoundingBox): (RenderBox): (WebCore::RenderBox::marginLogicalLeft): (WebCore::RenderBox::marginLogicalRight): * rendering/RenderBoxModelObject.h: (WebCore::RenderBoxModelObject::isBoxModelObject): * rendering/RenderButton.h: * rendering/RenderCombineText.h: * rendering/RenderCounter.h: * rendering/RenderDeprecatedFlexibleBox.h: * rendering/RenderDetailsMarker.h: * rendering/RenderEmbeddedObject.h: (RenderEmbeddedObject): (WebCore::RenderEmbeddedObject::isEmbeddedObject): (WebCore::RenderEmbeddedObject::virtualChildren): * rendering/RenderFieldset.h: * rendering/RenderFileUploadControl.h: * rendering/RenderFlexibleBox.h: * rendering/RenderFlowThread.h: * rendering/RenderFrame.h: * rendering/RenderFrameSet.h: * rendering/RenderFullScreen.cpp: * rendering/RenderFullScreen.h: * rendering/RenderGrid.h: * rendering/RenderHTMLCanvas.h: * rendering/RenderIFrame.h: * rendering/RenderImage.h: (RenderImage): (WebCore::RenderImage::isRenderImage): * rendering/RenderInline.h: (RenderInline): (WebCore::RenderInline::virtualContinuation): (WebCore::RenderInline::virtualChildren): (WebCore::RenderInline::isRenderInline): (WebCore::RenderInline::layout): (WebCore::RenderInline::requiresLayer): (WebCore::RenderInline::offsetWidth): (WebCore::RenderInline::offsetHeight): (WebCore::RenderInline::borderBoundingBox): (WebCore::RenderInline::dirtyLinesFromChangedChild): * rendering/RenderLayerModelObject.h: * rendering/RenderListBox.h: * rendering/RenderListItem.h: * rendering/RenderListMarker.h: * rendering/RenderMedia.h: (WebCore::RenderMedia::virtualChildren): (WebCore::RenderMedia::canHaveChildren): (WebCore::RenderMedia::isMedia): (WebCore::RenderMedia::isImage): (WebCore::RenderMedia::requiresForcedStyleRecalcPropagation): * rendering/RenderMediaControlElements.h: * rendering/RenderMenuList.h: * rendering/RenderMeter.h: * rendering/RenderMultiColumnBlock.h: * rendering/RenderMultiColumnFlowThread.h: * rendering/RenderMultiColumnSet.h: * rendering/RenderNamedFlowThread.h: * rendering/RenderPart.h: (RenderPart): (WebCore::RenderPart::isRenderPart): (WebCore::RenderPart::renderName): * rendering/RenderProgress.h: * rendering/RenderRegion.h: (WebCore::RenderRegion::isRenderRegion): * rendering/RenderRegionSet.h: * rendering/RenderReplaced.h: (RenderReplaced): (WebCore::RenderReplaced::renderName): * rendering/RenderReplica.h: * rendering/RenderRuby.h: * rendering/RenderRubyBase.h: * rendering/RenderRubyRun.h: * rendering/RenderRubyText.h: * rendering/RenderScrollbarPart.h: * rendering/RenderSearchField.h: * rendering/RenderSlider.h: * rendering/RenderSnapshottedPlugIn.h: (RenderSnapshottedPlugIn): * rendering/RenderTable.h: (RenderTable): (WebCore::RenderTable::renderName): (WebCore::RenderTable::isTable): (WebCore::RenderTable::avoidsFloats): * rendering/RenderTableCaption.h: * rendering/RenderTableCell.h: * rendering/RenderTableCol.h: * rendering/RenderTableRow.h: * rendering/RenderTableSection.h: * rendering/RenderText.h: (RenderText): (WebCore::RenderText::marginLeft): (WebCore::RenderText::marginRight): (WebCore::RenderText::styleWillChange): (WebCore::RenderText::length): (WebCore::RenderText::paint): (WebCore::RenderText::layout): * rendering/RenderTextControl.h: (RenderTextControl): (WebCore::RenderTextControl::renderName): (WebCore::RenderTextControl::isTextControl): (WebCore::RenderTextControl::avoidsFloats): * rendering/RenderTextControlMultiLine.h: * rendering/RenderTextControlSingleLine.h: (RenderTextControlSingleLine): (WebCore::RenderTextControlSingleLine::isTextField): * rendering/RenderTextFragment.h: * rendering/RenderTextTrackCue.h: * rendering/RenderVideo.h: * rendering/RenderView.h: * rendering/RenderWidget.h: (RenderWidget): (WebCore::RenderWidget::isWidget): * rendering/RenderWordBreak.h: * rendering/RootInlineBox.h: (RootInlineBox): * rendering/mathml/RenderMathMLBlock.h: * rendering/svg/RenderSVGBlock.h: (RenderSVGBlock): * rendering/svg/RenderSVGContainer.h: (WebCore::RenderSVGContainer::setNeedsBoundariesUpdate): (WebCore::RenderSVGContainer::virtualChildren): (WebCore::RenderSVGContainer::isSVGContainer): (WebCore::RenderSVGContainer::renderName): (RenderSVGContainer): (WebCore::RenderSVGContainer::objectBoundingBox): (WebCore::RenderSVGContainer::strokeBoundingBox): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): * rendering/svg/RenderSVGEllipse.h: * rendering/svg/RenderSVGForeignObject.h: * rendering/svg/RenderSVGGradientStop.h: * rendering/svg/RenderSVGHiddenContainer.h: (WebCore::RenderSVGHiddenContainer::renderName): (RenderSVGHiddenContainer): (WebCore::RenderSVGHiddenContainer::isSVGHiddenContainer): * rendering/svg/RenderSVGImage.h: * rendering/svg/RenderSVGInline.h: (WebCore::RenderSVGInline::renderName): (WebCore::RenderSVGInline::requiresLayer): (WebCore::RenderSVGInline::isSVGInline): (RenderSVGInline): * rendering/svg/RenderSVGInlineText.h: * rendering/svg/RenderSVGModelObject.h: (WebCore::RenderSVGModelObject::requiresLayer): (RenderSVGModelObject): * rendering/svg/RenderSVGPath.h: * rendering/svg/RenderSVGRect.h: * rendering/svg/RenderSVGResourceClipper.h: * rendering/svg/RenderSVGResourceContainer.h: (RenderSVGResourceContainer): (WebCore::RenderSVGResourceContainer::isSVGResourceContainer): (WebCore::RenderSVGResourceContainer::toRenderSVGResourceContainer): * rendering/svg/RenderSVGResourceFilter.h: * rendering/svg/RenderSVGResourceFilterPrimitive.h: * rendering/svg/RenderSVGResourceGradient.h: (RenderSVGResourceGradient): (WebCore::RenderSVGResourceGradient::resourceBoundingBox): * rendering/svg/RenderSVGResourceLinearGradient.h: * rendering/svg/RenderSVGResourceMarker.h: * rendering/svg/RenderSVGResourceMasker.h: * rendering/svg/RenderSVGResourcePattern.h: * rendering/svg/RenderSVGResourceRadialGradient.h: * rendering/svg/RenderSVGRoot.h: * rendering/svg/RenderSVGShape.h: (WebCore::RenderSVGShape::setNeedsBoundariesUpdate): (WebCore::RenderSVGShape::setNeedsTransformUpdate): (WebCore::RenderSVGShape::repaintRectInLocalCoordinates): (WebCore::RenderSVGShape::localToParentTransform): (WebCore::RenderSVGShape::localTransform): (WebCore::RenderSVGShape::isSVGShape): (RenderSVGShape): (WebCore::RenderSVGShape::objectBoundingBox): (WebCore::RenderSVGShape::strokeBoundingBox): * rendering/svg/RenderSVGTSpan.h: * rendering/svg/RenderSVGText.h: * rendering/svg/RenderSVGTextPath.h: * rendering/svg/RenderSVGTransformableContainer.h: * rendering/svg/RenderSVGViewportContainer.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=116343 Reviewed by Geoffrey Garen. Remove custom code for Audio global constructor. It is no longer needed now that the the bindings generator no longer require custom code for named constructors and now that [EnabledAtRuntime] extended attribute is supported for global constructors. HTMLAudioElement global constructors are now automatically generated. No new tests, no behavior change for layout tests. * bindings/js/JSDOMWindowCustom.cpp: * html/HTMLAudioElement.idl: * page/DOMWindow.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/13819878ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116359 Reviewed by Anders Carlsson. This feature was already RuntimeEnabled. Call through layers to get the answer from a platform strategy. * workers/DefaultSharedWorkerRepository.cpp: (WebCore::DefaultSharedWorkerRepository::isAvailable): * workers/DefaultSharedWorkerRepository.h: * workers/SharedWorkerRepository.cpp: (WebCore::SharedWorkerRepository::isAvailable): * workers/SharedWorkerStrategy.h: (WebCore::SharedWorkerStrategy::isAvailable): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116364 Reviewed by Andreas Kling. This is preparation for sharing more code between the WebKit1 and WebKit2 storage area subclasses. Also remove unnecessary null checks and make m_storageArea const. * storage/Storage.cpp: (WebCore::Storage::length): (WebCore::Storage::key): (WebCore::Storage::getItem): (WebCore::Storage::setItem): (WebCore::Storage::removeItem): (WebCore::Storage::clear): (WebCore::Storage::contains): * storage/Storage.h: (WebCore::Storage::area): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
...in the hopes that the resulting world rebuild will fix failures after r150294. * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116336 -and corresponding- <rdar://problem/13886753> Reviewed by Simon Fraser. This patch changes the WebCore-level API that WebKit uses to create a banner. Specifically this patch removes FrameView::setWantsLayerForHeader(), which created and returned a layer. Instead, WK2 will call Page::addHeaderWithHeight(). When the layer has been created, it will call back into WK2 via ChromeClient. This will allow WebCore to re-create the header/footer layers as needed whenever the FrameView/RenderLayerCompositor have been destroyed and recreated. Source/WebCore: Remove references to old FrameView functions. Add references to new Page functions. * WebCore.exp.in: New ChromeClient functions will pass the new layers up to WK2. * page/ChromeClient.h: (WebCore::ChromeClient::didAddHeaderLayer): (WebCore::ChromeClient::didAddFooterLayer): (ChromeClient): Remove setWantsLayerForHeader/Footer. * page/FrameView.cpp: * page/FrameView.h: (FrameView): Page now caches the header and footer height. When the FrameView/RLC have been destroyed, and the cached layer/height information on those classes has been lost, this data on Page will persist so that we can build the layers back up. * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::addHeaderWithHeight): (WebCore::Page::addFooterWithHeight): * page/Page.h: (WebCore::Page::headerHeight): (WebCore::Page::footerHeight): As soon as the root gets a backing, recreate the header and footer layers if needed. * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateBacking): Call into ChromeClient. (WebCore::RenderLayerCompositor::updateLayerForHeader): (WebCore::RenderLayerCompositor::updateLayerForFooter): Source/WebKit2: Send the layers over to PageBanner. * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::didAddHeaderLayer): (WebKit::WebChromeClient::didAddFooterLayer): * WebProcess/WebCoreSupport/WebChromeClient.h: (WebChromeClient): PageBanner::addToPage() now does much less work since it can’t get the parent layer right away. The work that is used to do once it had the parent layer is now performed in didAddParentLayer() * WebProcess/WebPage/PageBanner.cpp: (WebKit::PageBanner::didAddParentLayer): * WebProcess/WebPage/PageBanner.h: * WebProcess/WebPage/mac/PageBannerMac.mm: (WebKit::PageBanner::addToPage): (WebKit::PageBanner::didAddParentLayer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116361 Reviewed by Andreas Kling. There's nothing proxy about this class anymore! * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/WKContext.cpp: * UIProcess/API/C/WKKeyValueStorageManager.cpp: * UIProcess/WebKeyValueStorageManager.cpp: Renamed from Source/WebKit2/UIProcess/WebKeyValueStorageManagerProxy.cpp. * UIProcess/WebKeyValueStorageManager.h: Renamed from Source/WebKit2/UIProcess/WebKeyValueStorageManagerProxy.h. * WebKit2.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-