WebKit-https.git
10 years ago2010-08-02 Paul Sawaya <psawaya@apple.com>
cmarrin@apple.com [Tue, 3 Aug 2010 16:26:48 +0000 (16:26 +0000)]
2010-08-02  Paul Sawaya  <psawaya@apple.com>

        Reviewed by Adele Peterson.

        Add ANGLE library to WebKit. From the repository (http://angleproject.googlecode.com) as of July 22.
        https://bugs.webkit.org/show_bug.cgi?id=42789

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64560 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 ryuan choi <ryuan.choi@samsung.com>
leandro@webkit.org [Tue, 3 Aug 2010 15:47:18 +0000 (15:47 +0000)]
2010-08-03  ryuan choi  <ryuan.choi@samsung.com>

        Reviewed by Darin Adler.

        [EFL] REGRESSION(64425) need to fix build break
        https://bugs.webkit.org/show_bug.cgi?id=43322

        just add include path missed after r64425

        * CMakeListsEfl.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 Aug 2010 15:33:34 +0000 (15:33 +0000)]
2010-08-03  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: speculative chromium tests fix.

        * inspector/front-end/ExtensionServer.js:
        * inspector/front-end/inspector.js:
        (WebInspector.loaded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64558 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Platform plugin interface for Haptics
hausmann@webkit.org [Tue, 3 Aug 2010 15:26:55 +0000 (15:26 +0000)]
[Qt] Platform plugin interface for Haptics
https://bugs.webkit.org/show_bug.cgi?id=43143

Patch by Kim Grönholm <kim.1.gronholm@nokia.com> on 2010-08-03
Reviewed by Simon Hausmann.

Platform plugin interface for playing haptic feedback

* Api/qwebkitplatformplugin.h:
(QWebHapticFeedbackPlayer::):
(QWebKitPlatformPlugin::):
* examples/platformplugin/WebPlugin.h:
(WebPlugin::createHapticFeedbackPlayer):
* examples/platformplugin/qwebkitplatformplugin.h:
(QWebHapticFeedbackPlayer::):
(QWebKitPlatformPlugin::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Antonio Gomes <tonikitoo@webkit.org>
tonikitoo@webkit.org [Tue, 3 Aug 2010 15:14:52 +0000 (15:14 +0000)]
2010-08-02  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Kenneth Christiansen.

        [Qt] QtTestBrowser not setting preferredContentsSize for resizesToContents
        https://bugs.webkit.org/show_bug.cgi?id=43168

        QGraphicsWebView resizesToContents property has to work together with QWebPage's
        setPreferredContentsSize as stated by the docs. Patch addresses that for QtTestBrowser.

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::applyPrefs):
        * QtTestBrowser/webview.h:
        (WebViewGraphicsBased::setCustomLayoutSize): Setter helper.
        (WebViewGraphicsBased::customLayoutSize): Getter helper.
        * QtTestBrowser/webview.cpp:
        (WebViewGraphicsBased::resizeEvent):
        (WebViewGraphicsBased::setResizesToContents): Properly handle scene, webview and viewport sizes
                                                      needed when toggle resizesToContents on/off.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64556 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 3 Aug 2010 15:07:20 +0000 (15:07 +0000)]
2010-08-03  Martin Robinson  <mrobinson@igalia.com>

        [GTK] Incorrect keyIdentifier for print screen key events
        https://bugs.webkit.org/show_bug.cgi?id=43422

        Skip this test on GTK+ until this bug can be fixed. Correct the
        baseline, so that the Mac bots pass the test.

        * fast/events/special-key-events-in-input-text-expected.txt:
        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64555 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 3 Aug 2010 14:53:46 +0000 (14:53 +0000)]
2010-08-03  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Fix Chromium interactive UI tests.

        * src/js/Tests.js:
        (.TestSuite.prototype.testResourceHeaders):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64554 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Tue, 3 Aug 2010 13:44:55 +0000 (13:44 +0000)]
2010-08-03  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Antonio Gomes.

        Fix warning in WebCore/rendering/RenderBoxModelObject.cpp
        https://bugs.webkit.org/show_bug.cgi?id=43412

        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::clipBorderSidePolygon): Remove useless assignment.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64553 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore:
xan@webkit.org [Tue, 3 Aug 2010 13:38:05 +0000 (13:38 +0000)]
WebCore:

2010-08-03  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Make string parameters be 'const char*' instead of just 'char*'.

        * bindings/scripts/CodeGeneratorGObject.pm:

WebKit/gtk:

2010-08-03  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Update unit tests now that string parameters are 'const char*'.

        * tests/testdomdocument.c:
        (test_dom_document_title):
        (test_dom_document_get_elements_by_tag_name):
        (test_dom_document_get_elements_by_class_name):
        (test_dom_document_get_element_by_id):
        * tests/testdomnode.c:
        (test_dom_node_insertion):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64552 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 3 Aug 2010 13:37:15 +0000 (13:37 +0000)]
2010-08-03  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Get rid of extra spaces in the type strings.

        * bindings/scripts/CodeGeneratorGObject.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64551 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 3 Aug 2010 13:33:07 +0000 (13:33 +0000)]
2010-08-03  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Silence JSCore gir "creation".

        * GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64550 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Jochen Eisinger <jochen@chromium.org>
jochen@chromium.org [Tue, 3 Aug 2010 13:24:28 +0000 (13:24 +0000)]
2010-08-03  Jochen Eisinger  <jochen@chromium.org>

        Unreviewed. Adding myself as committer.

        * Scripts/webkitpy/common/config/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64549 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Tue, 3 Aug 2010 13:22:29 +0000 (13:22 +0000)]
2010-08-03  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Adam Roben.

        Fix warning in WebCore/plugins/win/PluginMessageThrottlerWin.cpp
        https://bugs.webkit.org/show_bug.cgi?id=43413

        * plugins/win/PluginMessageThrottlerWin.cpp:
        (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin): Modify initialization order.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64548 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 3 Aug 2010 13:07:01 +0000 (13:07 +0000)]
2010-08-03  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: use InspectorValue to push resource data to the frontend
        https://bugs.webkit.org/show_bug.cgi?id=43414

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::disconnectFrontend): destroy remote frontend object along with the old inspector frontend
        (WebCore::InspectorController::populateScriptObjects):
        (WebCore::InspectorController::didCommitLoad):
        (WebCore::InspectorController::didLoadResourceFromMemoryCache):
        (WebCore::InspectorController::identifierForInitialRequest):
        (WebCore::InspectorController::mainResourceFiredDOMContentEvent):
        (WebCore::InspectorController::mainResourceFiredLoadEvent):
        (WebCore::InspectorController::willSendRequest):
        (WebCore::InspectorController::didReceiveResponse):
        (WebCore::InspectorController::didReceiveContentLength):
        (WebCore::InspectorController::didFinishLoading):
        (WebCore::InspectorController::didFailLoading):
        (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest):
        (WebCore::InspectorController::scriptImported):
        * inspector/InspectorFrontend.cpp:
        * inspector/InspectorFrontend.h:
        * inspector/InspectorResource.cpp:
        (WebCore::buildHeadersObject):
        (WebCore::buildObjectForTiming):
        (WebCore::InspectorResource::updateScriptObject):
        * inspector/InspectorResource.h:
        * inspector/front-end/inspector.js:
        (WebInspector.updateResource):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64547 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Sheriff Bot <webkit.review.bot@gmail.com>
zimmermann@webkit.org [Tue, 3 Aug 2010 12:50:41 +0000 (12:50 +0000)]
2010-08-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r64539.
        http://trac.webkit.org/changeset/64539
        https://bugs.webkit.org/show_bug.cgi?id=43409

        Accidently changed licenses in some files (Requested by
        WildFox on #webkit).

        * svg/ColorDistance.cpp:
        * svg/ColorDistance.h:
        * svg/ElementTimeControl.h:
        * svg/ElementTimeControl.idl:
        * svg/GradientAttributes.h:
        * svg/LinearGradientAttributes.h:
        * svg/PatternAttributes.h:
        * svg/RadialGradientAttributes.h:
        * svg/SVGAElement.cpp:
        * svg/SVGAElement.h:
        * svg/SVGAElement.idl:
        * svg/SVGAllInOne.cpp:
        * svg/SVGAltGlyphElement.cpp:
        * svg/SVGAltGlyphElement.h:
        * svg/SVGAltGlyphElement.idl:
        * svg/SVGAngle.cpp:
        * svg/SVGAngle.h:
        * svg/SVGAngle.idl:
        * svg/SVGAnimateColorElement.cpp:
        * svg/SVGAnimateColorElement.h:
        * svg/SVGAnimateColorElement.idl:
        * svg/SVGAnimateElement.cpp:
        * svg/SVGAnimateElement.h:
        * svg/SVGAnimateElement.idl:
        * svg/SVGAnimateMotionElement.cpp:
        * svg/SVGAnimateMotionElement.h:
        * svg/SVGAnimateTransformElement.cpp:
        * svg/SVGAnimateTransformElement.h:
        * svg/SVGAnimateTransformElement.idl:
        * svg/SVGAnimatedAngle.idl:
        * svg/SVGAnimatedBoolean.idl:
        * svg/SVGAnimatedEnumeration.idl:
        * svg/SVGAnimatedInteger.idl:
        * svg/SVGAnimatedLength.idl:
        * svg/SVGAnimatedLengthList.idl:
        * svg/SVGAnimatedNumber.idl:
        * svg/SVGAnimatedNumberList.idl:
        * svg/SVGAnimatedPathData.cpp:
        * svg/SVGAnimatedPathData.h:
        * svg/SVGAnimatedPathData.idl:
        * svg/SVGAnimatedPoints.cpp:
        * svg/SVGAnimatedPoints.h:
        * svg/SVGAnimatedPoints.idl:
        * svg/SVGAnimatedPreserveAspectRatio.idl:
        * svg/SVGAnimatedProperty.h:
        * svg/SVGAnimatedPropertySynchronizer.h:
        * svg/SVGAnimatedPropertyTraits.h:
        * svg/SVGAnimatedRect.idl:
        * svg/SVGAnimatedString.idl:
        * svg/SVGAnimatedTemplate.h:
        * svg/SVGAnimatedTransformList.idl:
        * svg/SVGAnimationElement.cpp:
        * svg/SVGAnimationElement.h:
        * svg/SVGAnimationElement.idl:
        * svg/SVGCircleElement.cpp:
        * svg/SVGCircleElement.h:
        * svg/SVGCircleElement.idl:
        * svg/SVGClipPathElement.cpp:
        * svg/SVGClipPathElement.h:
        * svg/SVGClipPathElement.idl:
        * svg/SVGColor.cpp:
        * svg/SVGColor.h:
        * svg/SVGColor.idl:
        * svg/SVGComponentTransferFunctionElement.cpp:
        * svg/SVGComponentTransferFunctionElement.h:
        * svg/SVGComponentTransferFunctionElement.idl:
        * svg/SVGCursorElement.cpp:
        * svg/SVGCursorElement.h:
        * svg/SVGCursorElement.idl:
        * svg/SVGDefsElement.cpp:
        * svg/SVGDefsElement.h:
        * svg/SVGDefsElement.idl:
        * svg/SVGDescElement.cpp:
        * svg/SVGDescElement.h:
        * svg/SVGDescElement.idl:
        * svg/SVGDocument.cpp:
        * svg/SVGDocument.h:
        * svg/SVGDocument.idl:
        * svg/SVGDocumentExtensions.cpp:
        * svg/SVGDocumentExtensions.h:
        * svg/SVGElement.cpp:
        * svg/SVGElement.h:
        * svg/SVGElement.idl:
        * svg/SVGElementInstance.cpp:
        * svg/SVGElementInstance.h:
        * svg/SVGElementInstance.idl:
        * svg/SVGElementInstanceList.cpp:
        * svg/SVGElementInstanceList.h:
        * svg/SVGElementInstanceList.idl:
        * svg/SVGElementRareData.h:
        * svg/SVGEllipseElement.cpp:
        * svg/SVGEllipseElement.h:
        * svg/SVGEllipseElement.idl:
        * svg/SVGException.h:
        * svg/SVGExternalResourcesRequired.cpp:
        * svg/SVGExternalResourcesRequired.h:
        * svg/SVGExternalResourcesRequired.idl:
        * svg/SVGFEBlendElement.cpp:
        * svg/SVGFEBlendElement.h:
        * svg/SVGFEBlendElement.idl:
        * svg/SVGFEColorMatrixElement.cpp:
        * svg/SVGFEColorMatrixElement.h:
        * svg/SVGFEColorMatrixElement.idl:
        * svg/SVGFEComponentTransferElement.cpp:
        * svg/SVGFEComponentTransferElement.h:
        * svg/SVGFEComponentTransferElement.idl:
        * svg/SVGFECompositeElement.cpp:
        * svg/SVGFECompositeElement.h:
        * svg/SVGFECompositeElement.idl:
        * svg/SVGFEConvolveMatrixElement.cpp:
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEConvolveMatrixElement.idl:
        * svg/SVGFEDiffuseLightingElement.cpp:
        * svg/SVGFEDiffuseLightingElement.h:
        * svg/SVGFEDiffuseLightingElement.idl:
        * svg/SVGFEDisplacementMapElement.cpp:
        * svg/SVGFEDisplacementMapElement.h:
        * svg/SVGFEDisplacementMapElement.idl:
        * svg/SVGFEDistantLightElement.cpp:
        * svg/SVGFEDistantLightElement.h:
        * svg/SVGFEDistantLightElement.idl:
        * svg/SVGFEFloodElement.cpp:
        * svg/SVGFEFloodElement.h:
        * svg/SVGFEFloodElement.idl:
        * svg/SVGFEFuncAElement.cpp:
        * svg/SVGFEFuncAElement.h:
        * svg/SVGFEFuncAElement.idl:
        * svg/SVGFEFuncBElement.cpp:
        * svg/SVGFEFuncBElement.h:
        * svg/SVGFEFuncBElement.idl:
        * svg/SVGFEFuncGElement.cpp:
        * svg/SVGFEFuncGElement.h:
        * svg/SVGFEFuncGElement.idl:
        * svg/SVGFEFuncRElement.cpp:
        * svg/SVGFEFuncRElement.h:
        * svg/SVGFEFuncRElement.idl:
        * svg/SVGFEGaussianBlurElement.cpp:
        * svg/SVGFEGaussianBlurElement.h:
        * svg/SVGFEGaussianBlurElement.idl:
        * svg/SVGFEImageElement.cpp:
        * svg/SVGFEImageElement.h:
        * svg/SVGFEImageElement.idl:
        * svg/SVGFELightElement.cpp:
        * svg/SVGFELightElement.h:
        * svg/SVGFEMergeElement.cpp:
        * svg/SVGFEMergeElement.h:
        * svg/SVGFEMergeElement.idl:
        * svg/SVGFEMergeNodeElement.cpp:
        * svg/SVGFEMergeNodeElement.h:
        * svg/SVGFEMergeNodeElement.idl:
        * svg/SVGFEMorphologyElement.cpp:
        * svg/SVGFEMorphologyElement.h:
        * svg/SVGFEMorphologyElement.idl:
        * svg/SVGFEOffsetElement.cpp:
        * svg/SVGFEOffsetElement.h:
        * svg/SVGFEOffsetElement.idl:
        * svg/SVGFEPointLightElement.cpp:
        * svg/SVGFEPointLightElement.h:
        * svg/SVGFEPointLightElement.idl:
        * svg/SVGFESpecularLightingElement.cpp:
        * svg/SVGFESpecularLightingElement.h:
        * svg/SVGFESpecularLightingElement.idl:
        * svg/SVGFESpotLightElement.cpp:
        * svg/SVGFESpotLightElement.h:
        * svg/SVGFESpotLightElement.idl:
        * svg/SVGFETileElement.cpp:
        * svg/SVGFETileElement.h:
        * svg/SVGFETileElement.idl:
        * svg/SVGFETurbulenceElement.cpp:
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGFETurbulenceElement.idl:
        * svg/SVGFilterElement.cpp:
        * svg/SVGFilterElement.h:
        * svg/SVGFilterElement.idl:
        * svg/SVGFilterPrimitiveStandardAttributes.cpp:
        * svg/SVGFilterPrimitiveStandardAttributes.h:
        * svg/SVGFilterPrimitiveStandardAttributes.idl:
        * svg/SVGFitToViewBox.cpp:
        * svg/SVGFitToViewBox.h:
        * svg/SVGFitToViewBox.idl:
        * svg/SVGFont.cpp:
        * svg/SVGFontData.cpp:
        * svg/SVGFontData.h:
        * svg/SVGFontElement.cpp:
        * svg/SVGFontElement.h:
        * svg/SVGFontElement.idl:
        * svg/SVGFontFaceElement.cpp:
        * svg/SVGFontFaceElement.h:
        * svg/SVGFontFaceElement.idl:
        * svg/SVGFontFaceFormatElement.cpp:
        * svg/SVGFontFaceFormatElement.h:
        * svg/SVGFontFaceFormatElement.idl:
        * svg/SVGFontFaceNameElement.cpp:
        * svg/SVGFontFaceNameElement.h:
        * svg/SVGFontFaceNameElement.idl:
        * svg/SVGFontFaceSrcElement.cpp:
        * svg/SVGFontFaceSrcElement.h:
        * svg/SVGFontFaceSrcElement.idl:
        * svg/SVGFontFaceUriElement.cpp:
        * svg/SVGFontFaceUriElement.h:
        * svg/SVGFontFaceUriElement.idl:
        * svg/SVGForeignObjectElement.cpp:
        * svg/SVGForeignObjectElement.h:
        * svg/SVGForeignObjectElement.idl:
        * svg/SVGGElement.cpp:
        * svg/SVGGElement.h:
        * svg/SVGGElement.idl:
        * svg/SVGGlyphElement.cpp:
        * svg/SVGGlyphElement.h:
        * svg/SVGGlyphElement.idl:
        * svg/SVGGlyphMap.h:
        * svg/SVGGradientElement.cpp:
        * svg/SVGGradientElement.h:
        * svg/SVGGradientElement.idl:
        * svg/SVGHKernElement.cpp:
        * svg/SVGHKernElement.h:
        * svg/SVGHKernElement.idl:
        * svg/SVGImageElement.cpp:
        * svg/SVGImageElement.h:
        * svg/SVGImageElement.idl:
        * svg/SVGImageLoader.cpp:
        * svg/SVGImageLoader.h:
        * svg/SVGLangSpace.cpp:
        * svg/SVGLangSpace.h:
        * svg/SVGLangSpace.idl:
        * svg/SVGLength.cpp:
        * svg/SVGLength.h:
        * svg/SVGLength.idl:
        * svg/SVGLengthList.cpp:
        * svg/SVGLengthList.h:
        * svg/SVGLengthList.idl:
        * svg/SVGLineElement.cpp:
        * svg/SVGLineElement.h:
        * svg/SVGLineElement.idl:
        * svg/SVGLinearGradientElement.cpp:
        * svg/SVGLinearGradientElement.h:
        * svg/SVGLinearGradientElement.idl:
        * svg/SVGList.h:
        * svg/SVGListTraits.h:
        * svg/SVGLocatable.cpp:
        * svg/SVGLocatable.h:
        * svg/SVGLocatable.idl:
        * svg/SVGMPathElement.cpp:
        * svg/SVGMPathElement.h:
        * svg/SVGMarkerElement.cpp:
        * svg/SVGMarkerElement.h:
        * svg/SVGMarkerElement.idl:
        * svg/SVGMaskElement.cpp:
        * svg/SVGMaskElement.h:
        * svg/SVGMaskElement.idl:
        * svg/SVGMatrix.idl:
        * svg/SVGMetadataElement.cpp:
        * svg/SVGMetadataElement.h:
        * svg/SVGMetadataElement.idl:
        * svg/SVGMissingGlyphElement.cpp:
        * svg/SVGMissingGlyphElement.h:
        * svg/SVGMissingGlyphElement.idl:
        * svg/SVGNumber.idl:
        * svg/SVGNumberList.cpp:
        * svg/SVGNumberList.h:
        * svg/SVGNumberList.idl:
        * svg/SVGPaint.cpp:
        * svg/SVGPaint.h:
        * svg/SVGPaint.idl:
        * svg/SVGParserUtilities.cpp:
        * svg/SVGParserUtilities.h:
        * svg/SVGPathBuilder.cpp:
        * svg/SVGPathBuilder.h:
        * svg/SVGPathConsumer.h:
        * svg/SVGPathElement.cpp:
        * svg/SVGPathElement.h:
        * svg/SVGPathElement.idl:
        * svg/SVGPathParser.cpp:
        * svg/SVGPathParser.h:
        * svg/SVGPathSeg.h:
        * svg/SVGPathSeg.idl:
        * svg/SVGPathSegArc.cpp:
        * svg/SVGPathSegArc.h:
        * svg/SVGPathSegArcAbs.idl:
        * svg/SVGPathSegArcRel.idl:
        * svg/SVGPathSegClosePath.cpp:
        * svg/SVGPathSegClosePath.h:
        * svg/SVGPathSegClosePath.idl:
        * svg/SVGPathSegCurvetoCubic.cpp:
        * svg/SVGPathSegCurvetoCubic.h:
        * svg/SVGPathSegCurvetoCubicAbs.idl:
        * svg/SVGPathSegCurvetoCubicRel.idl:
        * svg/SVGPathSegCurvetoCubicSmooth.cpp:
        * svg/SVGPathSegCurvetoCubicSmooth.h:
        * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
        * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
        * svg/SVGPathSegCurvetoQuadratic.cpp:
        * svg/SVGPathSegCurvetoQuadratic.h:
        * svg/SVGPathSegCurvetoQuadraticAbs.idl:
        * svg/SVGPathSegCurvetoQuadraticRel.idl:
        * svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
        * svg/SVGPathSegCurvetoQuadraticSmooth.h:
        * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
        * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
        * svg/SVGPathSegLineto.cpp:
        * svg/SVGPathSegLineto.h:
        * svg/SVGPathSegLinetoAbs.idl:
        * svg/SVGPathSegLinetoHorizontal.cpp:
        * svg/SVGPathSegLinetoHorizontal.h:
        * svg/SVGPathSegLinetoHorizontalAbs.idl:
        * svg/SVGPathSegLinetoHorizontalRel.idl:
        * svg/SVGPathSegLinetoRel.idl:
        * svg/SVGPathSegLinetoVertical.cpp:
        * svg/SVGPathSegLinetoVertical.h:
        * svg/SVGPathSegLinetoVerticalAbs.idl:
        * svg/SVGPathSegLinetoVerticalRel.idl:
        * svg/SVGPathSegList.cpp:
        * svg/SVGPathSegList.h:
        * svg/SVGPathSegList.idl:
        * svg/SVGPathSegListBuilder.cpp:
        * svg/SVGPathSegListBuilder.h:
        * svg/SVGPathSegMoveto.cpp:
        * svg/SVGPathSegMoveto.h:
        * svg/SVGPathSegMovetoAbs.idl:
        * svg/SVGPathSegMovetoRel.idl:
        * svg/SVGPatternElement.cpp:
        * svg/SVGPatternElement.h:
        * svg/SVGPatternElement.idl:
        * svg/SVGPoint.idl:
        * svg/SVGPointList.cpp:
        * svg/SVGPointList.h:
        * svg/SVGPointList.idl:
        * svg/SVGPolyElement.cpp:
        * svg/SVGPolyElement.h:
        * svg/SVGPolygonElement.cpp:
        * svg/SVGPolygonElement.h:
        * svg/SVGPolygonElement.idl:
        * svg/SVGPolylineElement.cpp:
        * svg/SVGPolylineElement.h:
        * svg/SVGPolylineElement.idl:
        * svg/SVGPreserveAspectRatio.cpp:
        * svg/SVGPreserveAspectRatio.h:
        * svg/SVGPreserveAspectRatio.idl:
        * svg/SVGRadialGradientElement.cpp:
        * svg/SVGRadialGradientElement.h:
        * svg/SVGRadialGradientElement.idl:
        * svg/SVGRect.idl:
        * svg/SVGRectElement.cpp:
        * svg/SVGRectElement.h:
        * svg/SVGRectElement.idl:
        * svg/SVGRenderingIntent.h:
        * svg/SVGRenderingIntent.idl:
        * svg/SVGSVGElement.cpp:
        * svg/SVGSVGElement.h:
        * svg/SVGSVGElement.idl:
        * svg/SVGScriptElement.cpp:
        * svg/SVGScriptElement.h:
        * svg/SVGScriptElement.idl:
        * svg/SVGSetElement.cpp:
        * svg/SVGSetElement.h:
        * svg/SVGSetElement.idl:
        * svg/SVGStopElement.cpp:
        * svg/SVGStopElement.h:
        * svg/SVGStopElement.idl:
        * svg/SVGStringList.cpp:
        * svg/SVGStringList.h:
        * svg/SVGStringList.idl:
        * svg/SVGStylable.cpp:
        * svg/SVGStylable.h:
        * svg/SVGStylable.idl:
        * svg/SVGStyleElement.cpp:
        * svg/SVGStyleElement.h:
        * svg/SVGStyleElement.idl:
        * svg/SVGStyledElement.cpp:
        * svg/SVGStyledElement.h:
        * svg/SVGStyledLocatableElement.cpp:
        * svg/SVGStyledLocatableElement.h:
        * svg/SVGStyledTransformableElement.cpp:
        * svg/SVGStyledTransformableElement.h:
        * svg/SVGSwitchElement.cpp:
        * svg/SVGSwitchElement.h:
        * svg/SVGSwitchElement.idl:
        * svg/SVGSymbolElement.cpp:
        * svg/SVGSymbolElement.h:
        * svg/SVGSymbolElement.idl:
        * svg/SVGTRefElement.cpp:
        * svg/SVGTRefElement.h:
        * svg/SVGTRefElement.idl:
        * svg/SVGTSpanElement.cpp:
        * svg/SVGTSpanElement.h:
        * svg/SVGTSpanElement.idl:
        * svg/SVGTests.cpp:
        * svg/SVGTests.h:
        * svg/SVGTests.idl:
        * svg/SVGTextContentElement.cpp:
        * svg/SVGTextContentElement.h:
        * svg/SVGTextContentElement.idl:
        * svg/SVGTextElement.cpp:
        * svg/SVGTextElement.h:
        * svg/SVGTextElement.idl:
        * svg/SVGTextPathElement.cpp:
        * svg/SVGTextPathElement.h:
        * svg/SVGTextPathElement.idl:
        * svg/SVGTextPositioningElement.cpp:
        * svg/SVGTextPositioningElement.h:
        * svg/SVGTextPositioningElement.idl:
        * svg/SVGTitleElement.cpp:
        * svg/SVGTitleElement.h:
        * svg/SVGTitleElement.idl:
        * svg/SVGTransform.cpp:
        * svg/SVGTransform.h:
        * svg/SVGTransform.idl:
        * svg/SVGTransformDistance.cpp:
        * svg/SVGTransformDistance.h:
        * svg/SVGTransformList.cpp:
        * svg/SVGTransformList.h:
        * svg/SVGTransformList.idl:
        * svg/SVGTransformable.cpp:
        * svg/SVGTransformable.h:
        * svg/SVGTransformable.idl:
        * svg/SVGURIReference.cpp:
        * svg/SVGURIReference.h:
        * svg/SVGURIReference.idl:
        * svg/SVGUnitTypes.h:
        * svg/SVGUnitTypes.idl:
        * svg/SVGUseElement.cpp:
        * svg/SVGUseElement.h:
        * svg/SVGUseElement.idl:
        * svg/SVGVKernElement.cpp:
        * svg/SVGVKernElement.h:
        * svg/SVGVKernElement.idl:
        * svg/SVGViewElement.cpp:
        * svg/SVGViewElement.h:
        * svg/SVGViewElement.idl:
        * svg/SVGViewSpec.cpp:
        * svg/SVGViewSpec.h:
        * svg/SVGViewSpec.idl:
        * svg/SVGZoomAndPan.cpp:
        * svg/SVGZoomAndPan.h:
        * svg/SVGZoomAndPan.idl:
        * svg/SVGZoomEvent.cpp:
        * svg/SVGZoomEvent.h:
        * svg/SVGZoomEvent.idl:
        * svg/animation/SMILTime.cpp:
        * svg/animation/SMILTime.h:
        * svg/animation/SMILTimeContainer.cpp:
        * svg/animation/SMILTimeContainer.h:
        * svg/animation/SVGSMILElement.cpp:
        * svg/animation/SVGSMILElement.h:
        * svg/graphics/SVGImage.cpp:
        * svg/graphics/SVGImage.h:
        * svg/graphics/filters/SVGDistantLightSource.h:
        * svg/graphics/filters/SVGFEConvolveMatrix.cpp:
        * svg/graphics/filters/SVGFEConvolveMatrix.h:
        * svg/graphics/filters/SVGFEDiffuseLighting.cpp:
        * svg/graphics/filters/SVGFEDiffuseLighting.h:
        * svg/graphics/filters/SVGFEDisplacementMap.cpp:
        * svg/graphics/filters/SVGFEDisplacementMap.h:
        * svg/graphics/filters/SVGFEFlood.cpp:
        * svg/graphics/filters/SVGFEFlood.h:
        * svg/graphics/filters/SVGFEImage.cpp:
        * svg/graphics/filters/SVGFEImage.h:
        * svg/graphics/filters/SVGFELighting.cpp:
        * svg/graphics/filters/SVGFELighting.h:
        * svg/graphics/filters/SVGFEMerge.cpp:
        * svg/graphics/filters/SVGFEMerge.h:
        * svg/graphics/filters/SVGFEMorphology.cpp:
        * svg/graphics/filters/SVGFEMorphology.h:
        * svg/graphics/filters/SVGFEOffset.cpp:
        * svg/graphics/filters/SVGFEOffset.h:
        * svg/graphics/filters/SVGFESpecularLighting.cpp:
        * svg/graphics/filters/SVGFESpecularLighting.h:
        * svg/graphics/filters/SVGFETile.cpp:
        * svg/graphics/filters/SVGFETile.h:
        * svg/graphics/filters/SVGFETurbulence.cpp:
        * svg/graphics/filters/SVGFETurbulence.h:
        * svg/graphics/filters/SVGFilter.cpp:
        * svg/graphics/filters/SVGFilter.h:
        * svg/graphics/filters/SVGFilterBuilder.cpp:
        * svg/graphics/filters/SVGFilterBuilder.h:
        * svg/graphics/filters/SVGLightSource.cpp:
        * svg/graphics/filters/SVGLightSource.h:
        * svg/graphics/filters/SVGPointLightSource.h:
        * svg/graphics/filters/SVGSpotLightSource.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64546 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Balazs Kelemen <kb@inf.u-szeged.hu>
abecsi@webkit.org [Tue, 3 Aug 2010 12:36:43 +0000 (12:36 +0000)]
2010-08-03  Balazs Kelemen  <kb@inf.u-szeged.hu>

        [Qt] Unreviewed typo fix in the WebKit2/DerivedSources.pro project file.

        Use QMAKE_MKDIR as the command for directory creation.

        * DerivedSources.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64545 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Andrei Popescu <andreip@google.com>
andreip@google.com [Tue, 3 Aug 2010 11:08:07 +0000 (11:08 +0000)]
2010-08-03  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [IndexedDB] Chromium build is broken due to typo in WebCore.gypi:3501
        https://bugs.webkit.org/show_bug.cgi?id=43408

        Add missing ' in WebCore.gypi:3501.

        * WebCore.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-07-30 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
andreip@google.com [Tue, 3 Aug 2010 10:43:59 +0000 (10:43 +0000)]
2010-07-30  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>

        Reviewed by Jeremy Orlow.

        Rename IDBDatabaseRequest to IDBDatabase
        https://bugs.webkit.org/show_bug.cgi?id=43250

        No new tests, just refactoring.

        * Android.derived.jscbindings.mk:
        * Android.derived.v8bindings.mk:
        * Android.mk:
        * CMakeLists.txt:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.vcproj/WebCore.vcproj~: Added.
        * WebCore.xcodeproj/project.pbxproj:
        * WebCore.xcodeproj/project.pbxproj~: Added.
        * bindings/js/JSIDBAnyCustom.cpp:
        (WebCore::toJS):
        * bindings/v8/custom/V8IDBAnyCustom.cpp:
        (WebCore::toV8):
        * storage/IDBAny.cpp:
        (WebCore::IDBAny::idbDatabase):
        (WebCore::IDBAny::set):
        * storage/IDBAny.h:
        (WebCore::IDBAny::):
        * storage/IDBCallbacks.h:
        * storage/IDBDatabase.cpp: Added.
        (WebCore::IDBDatabase::IDBDatabase):
        (WebCore::IDBDatabase::~IDBDatabase):
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::objectStore):
        (WebCore::IDBDatabase::removeObjectStore):
        * storage/IDBDatabase.h:
        (WebCore::IDBDatabase::create):
        (WebCore::IDBDatabase::name):
        (WebCore::IDBDatabase::description):
        (WebCore::IDBDatabase::version):
        (WebCore::IDBDatabase::objectStores):
        * storage/IDBDatabase.idl: Added.
        * storage/IDBDatabaseBackendImpl.cpp: Added.
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::~IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::objectStores):
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::objectStore):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        * storage/IDBDatabaseBackendImpl.h: Added.
        (WebCore::IDBDatabaseBackendImpl::create):
        (WebCore::IDBDatabaseBackendImpl::name):
        (WebCore::IDBDatabaseBackendImpl::description):
        (WebCore::IDBDatabaseBackendImpl::version):
        * storage/IDBDatabaseBackendInterface.h: Added.
        (WebCore::IDBDatabaseBackendInterface::~IDBDatabaseBackendInterface):
        * storage/IDBDatabaseImpl.cpp: Removed.
        * storage/IDBDatabaseImpl.h: Removed.
        * storage/IDBDatabaseRequest.cpp: Removed.
        * storage/IDBDatabaseRequest.h: Removed.
        * storage/IDBDatabaseRequest.idl: Removed.
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::onSuccess):
        * storage/IDBRequest.h:
2010-07-30  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>

        Reviewed by Jeremy Orlow.

        Rename IDBDatabaseRequest to IDBDatabase
        https://bugs.webkit.org/show_bug.cgi?id=43250

        * src/IDBCallbacksProxy.cpp:
        (WebCore::IDBCallbacksProxy::onSuccess):
        * src/IDBCallbacksProxy.h:
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::create):
        * src/IDBDatabaseProxy.h:
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
        (WebKit::WebIDBDatabaseImpl::name):
        (WebKit::WebIDBDatabaseImpl::description):
        (WebKit::WebIDBDatabaseImpl::version):
        (WebKit::WebIDBDatabaseImpl::objectStores):
        (WebKit::WebIDBDatabaseImpl::createObjectStore):
        (WebKit::WebIDBDatabaseImpl::objectStore):
        (WebKit::WebIDBDatabaseImpl::removeObjectStore):
        * src/WebIDBDatabaseImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64543 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Satish Sampath <satish@chromium.org>
tkent@chromium.org [Tue, 3 Aug 2010 10:12:34 +0000 (10:12 +0000)]
2010-08-03  Satish Sampath  <satish@chromium.org>

        Reviewed by Kent Tamura.

        Initiate speech input requests on click event
        https://bugs.webkit.org/show_bug.cgi?id=43352

        * rendering/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 Aug 2010 09:54:44 +0000 (09:54 +0000)]
2010-08-03  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Chromium test expectations update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64541 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 3 Aug 2010 09:33:30 +0000 (09:33 +0000)]
2010-08-02  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: debugger code should serialize call frames to InspectorObjects instead of SerializedScriptValues.
        https://bugs.webkit.org/show_bug.cgi?id=43339

        No new tests. Refactoring.

        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::callFrames):
        * inspector/InjectedScript.h:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::editScriptSource):
        (WebCore::InspectorController::getScriptSource):
        (WebCore::InspectorController::currentCallFrames):
        (WebCore::InspectorController::didPause):
        * inspector/InspectorController.h:
        * inspector/front-end/InspectorBackendStub.js:
        (WebInspector.InspectorBackendStub):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64540 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 3 Aug 2010 09:21:09 +0000 (09:21 +0000)]
2010-08-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Cleanup all of svg/ code
        https://bugs.webkit.org/show_bug.cgi?id=43311

        Unify the license header in all files in svg/, to use the same template as most WebCore files use.
        Unified email adress style, etc. all generated with a perl script attached to bug 43311.i

        * svg/...: Updated header template in all files, in the svg/ subdirectory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 Aug 2010 09:11:40 +0000 (09:11 +0000)]
2010-08-03  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Upstreaming test_expectations.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64538 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore: Turn all callbacks into ActiveDOMObjects and create callbacks in the correct...
dumi@chromium.org [Tue, 3 Aug 2010 09:04:08 +0000 (09:04 +0000)]
WebCore: Turn all callbacks into ActiveDOMObjects and create callbacks in the correct context.
https://bugs.webkit.org/show_bug.cgi?id=40112

Reviewed by Adam Barth.

Test: http/tests/storage/callbacks-are-called-in-correct-context.html

* CMakeLists.txt: Added new files.
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:

* bindings/generic/ActiveDOMCallback.cpp: Added. The base class
for all callbacks, that behaves like an ActiveDOMObject.
(WebCore::DestroyOnContextThreadTask::create):
(WebCore::DestroyOnContextThreadTask::performTask):
(WebCore::DestroyOnContextThreadTask::DestroyOnContextThreadTask):
(WebCore::ActiveDOMObjectCallbackImpl::ActiveDOMObjectCallbackImpl):
(WebCore::ActiveDOMObjectCallbackImpl::contextDestroyed):
(WebCore::ActiveDOMObjectCallbackImpl::canSuspend):
(WebCore::ActiveDOMObjectCallbackImpl::suspend):
(WebCore::ActiveDOMObjectCallbackImpl::resume):
(WebCore::ActiveDOMObjectCallbackImpl::stop):
(WebCore::ActiveDOMObjectCallbackImpl::canInvokeCallback):
(WebCore::ActiveDOMObjectCallbackImpl::scriptExecutionContext):
(WebCore::ActiveDOMObjectCallbackImpl::mutex):
(WebCore::destroyOnContextThread):
(WebCore::ActiveDOMCallback::ActiveDOMCallback):
(WebCore::ActiveDOMCallback::~ActiveDOMCallback):
(WebCore::ActiveDOMCallback::canInvokeCallback):
(WebCore::ActiveDOMCallback::scriptExecutionContext):
* bindings/generic/ActiveDOMCallback.h: Added.

* bindings/js/JSCustomSQLStatementErrorCallback.cpp: Pass the
right ScriptExecutionContext to the JSC callbacks.
(WebCore::JSSQLStatementErrorCallback::handleEvent):
* bindings/js/JSSQLTransactionCustom.cpp:
(WebCore::JSSQLTransaction::executeSql):

* bindings/scripts/CodeGeneratorJS.pm: Make all callbacks inherit
from ActiveDOMCallback, and make them use the right
ScriptExecutionContext.
* bindings/scripts/CodeGeneratorV8.pm:

* bindings/scripts/test/JS/JSTestCallback.cpp: Update the
expectations for the code generated by CodeGenerator{JS|V8}.pm.
(WebCore::JSTestCallback::JSTestCallback):
(WebCore::JSTestCallback::~JSTestCallback):
(WebCore::JSTestCallback::callbackWithClass1Param):
(WebCore::JSTestCallback::callbackWithClass2Param):
* bindings/scripts/test/JS/JSTestCallback.h:
* bindings/scripts/test/V8/V8TestCallback.cpp:
(WebCore::V8TestCallback::V8TestCallback):
(WebCore::V8TestCallback::callbackWithClass1Param):
(WebCore::V8TestCallback::callbackWithClass2Param):
* bindings/scripts/test/V8/V8TestCallback.h:
(WebCore::V8TestCallback::create):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjInternal::methodWithCallbackArgCallback):
(WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
(WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):

* bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: Pass
the right ScriptExecutionContext to the V8 callbacks.
(WebCore::V8SQLStatementErrorCallback::handleEvent):
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::V8DOMWindow::openDatabaseCallback):
* bindings/v8/custom/V8DatabaseCustom.cpp:
(WebCore::V8Database::changeVersionCallback):
(WebCore::createTransaction):
* bindings/v8/custom/V8DatabaseSyncCustom.cpp:
(WebCore::V8DatabaseSync::changeVersionCallback):
(WebCore::createTransaction):
* bindings/v8/custom/V8SQLTransactionCustom.cpp:
(WebCore::V8SQLTransaction::executeSqlCallback):
* bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::V8WorkerContext::openDatabaseCallback):
(WebCore::V8WorkerContext::openDatabaseSyncCallback):

* dom/ActiveDOMObject.cpp: Simplify the code.
(WebCore::ActiveDOMObject::ActiveDOMObject):
(WebCore::ActiveDOMObject::~ActiveDOMObject):

* storage/Database.cpp: CallbackClass::handleEvent() doesn't take
a ScriptExecutionContext anymore.
(WebCore::DatabaseCreationCallbackTask::performTask):
* storage/DatabaseCallback.h:
* storage/DatabaseSync.cpp:
(WebCore::DatabaseSync::openDatabaseSync):
* storage/EntryCallback.h:
* storage/ErrorCallback.h:
* storage/FileSystemCallback.h:
* storage/MetadataCallback.h:
* storage/SQLStatement.cpp:
(WebCore::SQLStatement::performCallback):
* storage/SQLStatementCallback.h:
* storage/SQLStatementErrorCallback.h:
* storage/SQLTransaction.cpp:
(WebCore::SQLTransaction::deliverTransactionCallback):
(WebCore::SQLTransaction::deliverTransactionErrorCallback):
* storage/SQLTransactionCallback.h:
* storage/SQLTransactionErrorCallback.h:
* storage/SQLTransactionSync.cpp:
(WebCore::SQLTransactionSync::execute):
* storage/SQLTransactionSyncCallback.h:

LayoutTests: Make sure all DB callbacks run in the correct context.
https://bugs.webkit.org/show_bug.cgi?id=40112

Reviewed by Adam Barth.

* http/tests/storage: Added.
* http/tests/storage/callbacks-are-called-in-correct-context-expected.txt: Added.
* http/tests/storage/callbacks-are-called-in-correct-context.html: Added.
* http/tests/storage/resources: Added.
* http/tests/storage/resources/callbacks-are-called-in-correct-context-first-frame.html: Added.
* http/tests/storage/resources/callbacks-are-called-in-correct-context-output-frame.html: Added.
* http/tests/storage/resources/callbacks-are-called-in-correct-context-second-frame.html: Added.
* http/tests/storage/resources/callbacks-are-called-in-correct-context-third-frame.html: Added.
* http/tests/storage/resources/callbacks-are-called-in-correct-context.cgi: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64537 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 3 Aug 2010 08:57:59 +0000 (08:57 +0000)]
2010-08-02  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: Trivial InspectorBackend functions were removed.
        And now it is   bit simpler to change Inspector API because we have
        less number of abstraction layers.
        https://bugs.webkit.org/show_bug.cgi?id=43402

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::clearConsoleMessages):
        (WebCore::InspectorBackend::releaseWrapperObjectGroup):
        (WebCore::InspectorBackend::inspectorFrontend):
        (WebCore::InspectorBackend::remoteFrontend):
        * inspector/InspectorBackend.h:
        (WebCore::InspectorBackend::inspectorDOMAgent):
        (WebCore::InspectorBackend::inspectorApplicationCacheAgent):
        * inspector/InspectorController.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago Unreviewed (emergency test fix).
ap@apple.com [Tue, 3 Aug 2010 08:32:33 +0000 (08:32 +0000)]
    Unreviewed (emergency test fix).

        REGRESSION (r64518): Most regression tests fail on ASSERT(shouldTrackVisitedLinks)
        on Snow Leopard.

        Platforms that use strategies now use a different code path than others, and that code path
        lacks necessary checks. We don't have a Snow Leopard debug buildbot.

        * page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLinkHash): The private version of
        addVisitedLink() must not be called when we're not tracking visited links.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 Aug 2010 07:36:44 +0000 (07:36 +0000)]
2010-08-02  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium DevTools: Get rid of DevTools RPC.

        https://bugs.webkit.org/show_bug.cgi?id=43335

        * bindings/js/ScriptProfiler.h:
        (WebCore::ScriptProfiler::getProfilerLogLines):
        * bindings/v8/ScriptProfiler.cpp:
        (WebCore::ScriptProfiler::getProfilerLogLines):
        * bindings/v8/ScriptProfiler.h:
        * inspector/Inspector.idl:
        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::takeHeapSnapshot):
        (WebCore::InspectorBackend::getProfilerLogLines):
        * inspector/InspectorBackend.h:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::disableProfiler):
        * inspector/InspectorController.h:
        * inspector/InspectorFrontend.h:
        * inspector/front-end/InspectorBackendStub.js:
        (WebInspector.InspectorBackendStub):

2010-08-02  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium DevTools: Get rid of DevTools RPC.

        https://bugs.webkit.org/show_bug.cgi?id=43335

        * WebKit.gyp:
        * public/WebDevToolsAgent.h:
        * public/WebDevToolsAgentClient.h:
        (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend):
        (WebKit::WebDevToolsAgentClient::sendDebuggerOutput):
        (WebKit::WebDevToolsAgentClient::sendDispatchToAPU):
        * public/WebDevToolsFrontend.h:
        * public/WebDevToolsFrontendClient.h:
        (WebKit::WebDevToolsFrontendClient::sendMessageToBackend):
        * public/WebDevToolsMessageData.h: Removed.
        * public/WebDevToolsMessageTransport.h: Removed.
        * src/APUAgentDelegate.h: Removed.
        * src/DebuggerAgent.h: Removed.
        * src/DebuggerAgentImpl.cpp:
        (WebKit::DebuggerAgentImpl::DebuggerAgentImpl):
        (WebKit::DebuggerAgentImpl::debuggerOutput):
        * src/DebuggerAgentImpl.h:
        * src/DebuggerAgentManager.cpp:
        (WebKit::DebuggerAgentManager::debugDetach):
        (WebKit::DebuggerAgentManager::onV8DebugMessage):
        (WebKit::DebuggerAgentManager::executeDebuggerCommand):
        (WebKit::DebuggerAgentManager::sendCommandToV8):
        (WebKit::DebuggerAgentManager::sendContinueCommandToV8):
        * src/DevToolsRPC.h: Removed.
        * src/DevToolsRPCJS.h: Removed.
        * src/InspectorClientImpl.cpp:
        * src/InspectorFrontendClientImpl.cpp:
        (WebKit::InspectorFrontendClientImpl::sendMessageToBackend):
        * src/ProfilerAgent.h: Removed.
        * src/ProfilerAgentImpl.cpp: Removed.
        * src/ProfilerAgentImpl.h: Removed.
        * src/ToolsAgent.h: Removed.
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::):
        (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
        (WebKit::WebDevToolsAgentImpl::attach):
        (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
        (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend):
        (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient):
        (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
        * src/WebDevToolsAgentImpl.h:
        * src/WebDevToolsFrontendImpl.cpp:
        (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
        (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
        (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
        (WebKit::WebDevToolsFrontendImpl::executeScript):
        * src/WebDevToolsFrontendImpl.h:
        * src/js/DevTools.js:
        (devtools.dispatch):
        (devtools.ToolsAgent):
        * src/js/DevToolsHostStub.js:
        * src/js/ProfilerAgent.js:
        (devtools.ProfilerAgent):

2010-08-02  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium DevTools: Get rid of DevTools RPC.

        https://bugs.webkit.org/show_bug.cgi?id=43335

        * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
        (DRTDevToolsAgent::sendMessageToInspectorFrontend):
        (DRTDevToolsAgent::call):
        * DumpRenderTree/chromium/DRTDevToolsAgent.h:
        * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
        (DRTDevToolsCallArgs::DRTDevToolsCallArgs):
        * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
        (DRTDevToolsClient::sendMessageToBackend):
        (DRTDevToolsClient::call):
        * DumpRenderTree/chromium/DRTDevToolsClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64534 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 3 Aug 2010 07:14:37 +0000 (07:14 +0000)]
2010-08-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update for DRT/Chromium.

        * platform/chromium/drt_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64533 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemoved temporary build rule introduced in r62594.
mitz@apple.com [Tue, 3 Aug 2010 06:19:41 +0000 (06:19 +0000)]
Removed temporary build rule introduced in r62594.

Rubber-stamped by Sam Weinig.

* DerivedSources.make:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 3 Aug 2010 06:00:56 +0000 (06:00 +0000)]
2010-08-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[DRT/Chromium] Remove dependencies to some Chromium headers
tkent@chromium.org [Tue, 3 Aug 2010 05:51:34 +0000 (05:51 +0000)]
[DRT/Chromium] Remove dependencies to some Chromium headers
https://bugs.webkit.org/show_bug.cgi?id=43396

Reviewed by Dimitri Glazkov.

WebKit/chromium:

* DEPS: Update Chromium revision to 54649 in order to have a
webkit_support change (r54646)

WebKitTools:

* DumpRenderTree/chromium/CppVariant.h:
 Remove base/basictypes.h because webkit_support.h contains it.
* DumpRenderTree/chromium/EventSender.cpp:
(getCurrentEventTimeSec): Use new wrapper function.
* DumpRenderTree/chromium/TestNavigationController.h:
 Remove base/basictypes.h because webkit_support.h contains it.
* DumpRenderTree/chromium/TestShell.cpp:
(dumpHistoryItem): Use new wrapper function.
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::cancelledError): Use new wrapper function.
(WebViewHost::didFailResourceLoad): Use new wrapper function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 Aug 2010 04:57:32 +0000 (04:57 +0000)]
2010-08-02  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Rolling out r64525 for breaking chromium tests.

        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::retrieve):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[wx] Build fixes after recent changes.
kevino@webkit.org [Tue, 3 Aug 2010 03:22:28 +0000 (03:22 +0000)]
[wx] Build fixes after recent changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago* platform/VisitedLinkStrategy.h: Added.
beidson@apple.com [Tue, 3 Aug 2010 03:00:05 +0000 (03:00 +0000)]
* platform/VisitedLinkStrategy.h: Added.
(WebCore::VisitedLinkStrategy::~VisitedLinkStrategy):

Reviewed by NOBODY (Build fix, forgot to svn add this file)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64527 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 3 Aug 2010 02:44:57 +0000 (02:44 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] WebKit2 requires lazy cursor support
        https://bugs.webkit.org/show_bug.cgi?id=43053

        Add lazy cursor support for GTK+. Lazy cursor support is used on some
        WebKit2 ports to support changing the cursor.

        No new tests, as this should not change functionality.

        * platform/Cursor.h: Changed the m_platformCursor member to be a GRefPtr.
        This simplifies the logic a great deal.
        * platform/gtk/CursorGtk.cpp:
        (WebCore::createNamedCursor): Added, adapted from existing code.
        (WebCore::createCustomCursor): Added, adapted from existing code.
        (WebCore::Cursor::ensurePlatformCursor): Added.
        (WebCore::Cursor::Cursor): Added.
        (WebCore::Cursor::operator=): Added.
        (WebCore::Cursor::~Cursor): Added.
        * platform/gtk/WidgetGtk.cpp:
        (WebCore::Widget::setCursor): Call platformCusor now to get the actual GdkCursor.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64526 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Rajiv Makhijani <rajivmakhijani@chromium.org>
dpranke@chromium.org [Tue, 3 Aug 2010 02:25:16 +0000 (02:25 +0000)]
2010-08-02  Rajiv Makhijani  <rajivmakhijani@chromium.org>

        Reviewed by Adam Barth.

        Committed by Dirk Pranke.

        Added missing "if (window.layoutTestController)" check.
        Removed expectation for test case that should now pass with this bugfix.

        https://bugs.webkit.org/show_bug.cgi?id=38705

        * http/tests/security/sandbox-inherit-to-initial-document-2.html:
        * platform/chromium/test_expectations.txt:
2010-08-02  Rajiv Makhijani  <rajivmakhijani@chromium.org>

        Reviewed by Adam Barth.

        Committed by Dirk Pranke.

        Bug 38705 - [v8] chromium fails http/tests/sandbox-inherit-to-initial-document-2
        https://bugs.webkit.org/show_bug.cgi?id=38705

        WebCore::V8Proxy::retrieve(Frame* frame) calls WebCore::ScriptController::canExecuteScripts
        and returns 0 if canExecuteScripts is false. It should return the proxy regardless
        of whether the frame can execute scripts.

        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::retrieve): Removed canExecuteScripts check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 3 Aug 2010 02:20:09 +0000 (02:20 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DRT implement execCommand()
        https://bugs.webkit.org/show_bug.cgi?id=35351

        Enable tests which are now passing and re-organize some others that
        will pass once we have editing callbacks enabled.

        * platform/gtk/Skipped:
        * platform/gtk/editing/deleting/5300379-expected.txt: Added.
        * platform/gtk/editing/deleting/delete-to-end-of-paragraph-expected.txt:
        * platform/gtk/editing/deleting/smart-delete-003-expected.txt: Added.
        * platform/gtk/editing/deleting/smart-delete-004-expected.txt: Added.
        * platform/gtk/editing/selection/selection-actions-expected.txt: Added.
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DRT implement execCommand()
        https://bugs.webkit.org/show_bug.cgi?id=35351

        * webkit/webkitprivate.h: Add some private methods for the DRT which enable
        LayoutTestController.execCommand and LayoutTestController.isCommandEnabled:
        webkit_web_view_execute_core_command_by_name and webkit_web_view_is_command_enabled.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_execute_core_command_by_name): added.
        (webkit_web_view_is_command_enabled): Added.
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DRT implement execCommand()
        https://bugs.webkit.org/show_bug.cgi?id=35351

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::execCommand): Implement using webkit_web_view_execute_core_command_by_name.
        (LayoutTestController::isCommandEnabled): Implement using webkit_web_view_is_command_enabled.
        (LayoutTestController::setCacheModel): Move below LayoutTestController::isCommandEnabled.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed Chromium change to mark keydown-numpad-keys.html as failing on all platfor...
atwilson@chromium.org [Tue, 3 Aug 2010 02:04:00 +0000 (02:04 +0000)]
Unreviewed Chromium change to mark keydown-numpad-keys.html as failing on all platforms (not just linux)

* platform/chromium/test_expectations.txt: Mark keydown-numpad-keys.html as failing on all platforms

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed rollback of Chromium expectations files to match rollback of r64471.
atwilson@chromium.org [Tue, 3 Aug 2010 02:00:27 +0000 (02:00 +0000)]
Unreviewed rollback of Chromium expectations files to match rollback of r64471.

* platform/chromium-mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
* platform/chromium-win/fast/dom/navigator-detached-no-crash-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 3 Aug 2010 01:48:07 +0000 (01:48 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        [GTK] Use GdkPixbuf for ImageBuffer::toDataURL
        https://bugs.webkit.org/show_bug.cgi?id=43088

        Rebaseline some tests after r64506.

        * platform/gtk/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt:
        * platform/gtk/fast/canvas/toDataURL-supportedTypes-expected.txt: Copied from LayoutTests/platform/qt/fast/canvas/toDataURL-supportedTypes-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed text expectations changes for Chromium.
atwilson@chromium.org [Tue, 3 Aug 2010 01:35:11 +0000 (01:35 +0000)]
Unreviewed text expectations changes for Chromium.

* platform/chromium-mac/fast/dom/navigator-detached-no-crash-expected.txt: Added.
* platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Added.
* platform/chromium-mac/plugins/npruntime/object-from-destroyed-plugin-expected.txt: Added.
* platform/chromium-win/fast/dom/navigator-detached-no-crash-expected.txt: Added.
* platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Added.
* platform/chromium-win/plugins/npruntime/object-from-destroyed-plugin-expected.txt: Added.
* platform/chromium/test_expectations.txt: Mark keydown-numpad-keys.html as failing on all platforms (not just linux).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd alias for run-webkit-tests --webkit-test-runner (run-webkit-tests -2).
weinig@apple.com [Tue, 3 Aug 2010 01:13:10 +0000 (01:13 +0000)]
Add alias for run-webkit-tests --webkit-test-runner (run-webkit-tests -2).

Reviewed by Anders Carlsson.

* Scripts/old-run-webkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Brady Eidson <beidson@apple.com>
beidson@apple.com [Tue, 3 Aug 2010 01:08:28 +0000 (01:08 +0000)]
2010-08-02  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson.

        Add VisitedLinkStrategy for each platform to implement
        https://bugs.webkit.org/show_bug.cgi?id=43393

        * WebCoreSupport/WebPlatformStrategies.h:
        * WebCoreSupport/WebPlatformStrategies.mm:
        (WebPlatformStrategies::createVisitedLinkStrategy):
        (WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links.
        (WebPlatformStrategies::addVisitedLink): Ditto.
2010-08-02  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson.

        Add VisitedLinkStrategy for each platform to implement
        https://bugs.webkit.org/show_bug.cgi?id=43393

        No new tests. (No change in behavior)

        * WebCore.exp.in:
        * WebCore.xcodeproj/project.pbxproj:

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::determineLinkStateSlowCase): Use VisitedLinkStrategy if it's enabled.

        * loader/HistoryController.cpp:
        (WebCore::addVisitedLink): Choose VisitedLinkStrategy if it's enabled, else fallback to PageGroup.
        (WebCore::HistoryController::updateForStandardLoad): Use addVisitedLink helper.
        (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): Ditto.
        (WebCore::HistoryController::updateForClientRedirect): Ditto.
        (WebCore::HistoryController::updateForSameDocumentNavigation): Ditto.

        * platform/PlatformStrategies.h:
        (WebCore::PlatformStrategies::visitedLinkStrategy):
        (WebCore::PlatformStrategies::PlatformStrategies):
2010-08-02  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson.

        Add VisitedLinkStrategy for each platform to implement
        https://bugs.webkit.org/show_bug.cgi?id=43393

        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
        (WebKit::WebPlatformStrategies::createVisitedLinkStrategy):
        (WebKit::WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links, for now.
        (WebKit::WebPlatformStrategies::addVisitedLink): Ditto.
        * WebProcess/WebCoreSupport/WebPlatformStrategies.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Tue, 3 Aug 2010 01:05:31 +0000 (01:05 +0000)]
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64471.
        http://trac.webkit.org/changeset/64471
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * Android.derived.v8bindings.mk:
        * Android.jscbindings.mk:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * accessibility/AXObjectCache.h:
        (WebCore::AXObjectCache::):
        * accessibility/Accessibility.cpp: Removed.
        * accessibility/Accessibility.h: Removed.
        * accessibility/Accessibility.idl: Removed.
        * accessibility/AccessibilityObject.h:
        * accessibility/ScreenReader.cpp: Removed.
        * accessibility/ScreenReader.h: Removed.
        * accessibility/ScreenReader.idl: Removed.
        * accessibility/mac/AXObjectCacheMac.mm:
        (WebCore::AXObjectCache::postPlatformNotification):
        * accessibility/mac/AccessibilityObjectMac.mm:
        * page/Navigator.cpp:
        (WebCore::Navigator::disconnectFrame):
        (WebCore::Navigator::mimeTypes):
        * page/Navigator.h:
        * page/Navigator.idl:
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64471.
        http://trac.webkit.org/changeset/64471
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * GNUmakefile.am:
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64471.
        http://trac.webkit.org/changeset/64471
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * platform/mac/accessibility/js-accessibility-expected.txt: Removed.
        * platform/mac/accessibility/js-accessibility.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 3 Aug 2010 00:59:58 +0000 (00:59 +0000)]
2010-08-02  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Range::create should not be calling deprecatedEditingOffset and node on start and end
        https://bugs.webkit.org/show_bug.cgi?id=43385

        Replaced node() and deprecatedEditingOffset() by containerNode() and computeOffsetInContainerNode().

        No new tests added since this does not change the behavior.

        * dom/Range.cpp:
        (WebCore::Range::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Tue, 3 Aug 2010 00:57:22 +0000 (00:57 +0000)]
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64472.
        http://trac.webkit.org/changeset/64472
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Tue, 3 Aug 2010 00:50:20 +0000 (00:50 +0000)]
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64476.
        http://trac.webkit.org/changeset/64476

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
luiz@webkit.org [Tue, 3 Aug 2010 00:39:44 +0000 (00:39 +0000)]
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        Classes PopupMenu and SearchPopupMenu have been made pure virtual.

        * platform/PopupMenu.h:
        (WebCore::PopupMenu::~PopupMenu):
        * platform/SearchPopupMenu.h:
        (WebCore::SearchPopupMenu::~SearchPopupMenu):

        Classes RenderMenuList and RenderTexyControlSingleLine have been changed to use
        the new pure virtual PopupMenu and SearchPopupMenu.

        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::adjustInnerStyle):
        (WebCore::RenderMenuList::showPopup):
        * rendering/RenderMenuList.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
        (WebCore::RenderTextControlSingleLine::addSearchResult):
        (WebCore::RenderTextControlSingleLine::showPopup):
        (WebCore::RenderTextControlSingleLine::hidePopup):
        (WebCore::RenderTextControlSingleLine::updateFromElement):
        (WebCore::RenderTextControlSingleLine::valueChanged):
        * rendering/RenderTextControlSingleLine.h:

        Chrome and ChromeClient were made responsible for providing instances of classes
        PopupMenu and SearchPopupMenu to its users.

        * loader/EmptyClients.h:
        (WebCore::EmptyPopupMenu::show):
        (WebCore::EmptyPopupMenu::hide):
        (WebCore::EmptyPopupMenu::updateFromElement):
        (WebCore::EmptyPopupMenu::disconnectClient):
        (WebCore::EmptySearchPopupMenu::popupMenu):
        (WebCore::EmptySearchPopupMenu::saveRecentSearches):
        (WebCore::EmptySearchPopupMenu::loadRecentSearches):
        (WebCore::EmptySearchPopupMenu::enabled):
        (WebCore::EmptyChromeClient::selectItemWritingDirectionIsNatural):
        (WebCore::EmptyChromeClient::createPopupMenu):
        (WebCore::EmptyChromeClient::createSearchPopupMenu):
        * page/Chrome.cpp:
        (WebCore::Chrome::selectItemWritingDirectionIsNatural):
        (WebCore::Chrome::createPopupMenu):
        (WebCore::Chrome::createSearchPopupMenu):
        * page/Chrome.h:
        * page/ChromeClient.h:

        Original contents of files PopupMenu.h and SearchPopupMenu.h have been splited
        in several files, two for each platform (PopupMenuXXX.h and SearchPopupMenuXXX.h).
        Each of new the files contain the concrete classes that inherit form PopupMenu or
        SearchPopupMenu and are specific for the corresponding platform.

        brew:

        * platform/brew/PopupMenuBrew.cpp:
        (WebCore::PopupMenuBrew::PopupMenuBrew):
        (WebCore::PopupMenuBrew::~PopupMenuBrew):
        (WebCore::PopupMenuBrew::disconnectClient):
        (WebCore::PopupMenuBrew::show):
        (WebCore::PopupMenuBrew::hide):
        (WebCore::PopupMenuBrew::updateFromElement):
        * platform/brew/PopupMenuBrew.h: Added.
        (WebCore::PopupMenuBrew::client):
        * platform/brew/SearchPopupMenuBrew.cpp:
        (WebCore::SearchPopupMenuBrew::saveRecentSearches):
        (WebCore::SearchPopupMenuBrew::loadRecentSearches):
        (WebCore::SearchPopupMenuBrew::SearchPopupMenuBrew):
        (WebCore::SearchPopupMenuBrew::enabled):
        (WebCore::SearchPopupMenuBrew::popupMenu):
        * platform/brew/SearchPopupMenuBrew.h: Added.

        chromium:

        * WebCore.gypi:
        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupMenuChromium::PopupMenuChromium):
        (WebCore::PopupMenuChromium::~PopupMenuChromium):
        (WebCore::PopupMenuChromium::show):
        (WebCore::PopupMenuChromium::hide):
        (WebCore::PopupMenuChromium::updateFromElement):
        (WebCore::PopupMenuChromium::disconnectClient):
        * platform/chromium/PopupMenuChromium.h:
        (WebCore::PopupMenuChromium::client):
        * platform/chromium/SearchPopupMenuChromium.cpp:
        (WebCore::SearchPopupMenuChromium::SearchPopupMenuChromium):
        (WebCore::SearchPopupMenuChromium::popupMenu):
        (WebCore::SearchPopupMenuChromium::enabled):
        (WebCore::SearchPopupMenuChromium::saveRecentSearches):
        (WebCore::SearchPopupMenuChromium::loadRecentSearches):
        * platform/chromium/SearchPopupMenuChromium.h: Added.

        efl:

        * platform/efl/PopupMenuEfl.cpp:
        (WebCore::PopupMenuEfl::PopupMenuEfl):
        (WebCore::PopupMenuEfl::~PopupMenuEfl):
        (WebCore::PopupMenuEfl::show):
        (WebCore::PopupMenuEfl::hide):
        (WebCore::PopupMenuEfl::updateFromElement):
        (WebCore::PopupMenuEfl::disconnectClient):
        * platform/efl/PopupMenuEfl.h: Added.
        (WebCore::PopupMenuEfl::client):
        * platform/efl/SearchPopupMenuEfl.cpp:
        (WebCore::SearchPopupMenuEfl::SearchPopupMenuEfl):
        (WebCore::SearchPopupMenuEfl::popupMenu):
        (WebCore::SearchPopupMenuEfl::saveRecentSearches):
        (WebCore::SearchPopupMenuEfl::loadRecentSearches):
        (WebCore::SearchPopupMenuEfl::enabled):
        * platform/efl/SearchPopupMenuEfl.h: Added.

        gtk:

        * GNUmakefile.am:
        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenuGtk::PopupMenuGtk):
        (WebCore::PopupMenuGtk::~PopupMenuGtk):
        (WebCore::PopupMenuGtk::show):
        (WebCore::PopupMenuGtk::hide):
        (WebCore::PopupMenuGtk::updateFromElement):
        (WebCore::PopupMenuGtk::disconnectClient):
        (WebCore::PopupMenuGtk::menuItemActivated):
        (WebCore::PopupMenuGtk::menuUnmapped):
        (WebCore::PopupMenuGtk::menuPositionFunction):
        (WebCore::PopupMenuGtk::menuRemoveItem):
        * platform/gtk/PopupMenuGtk.h: Added.
        (WebCore::PopupMenuGtk::client):
        * platform/gtk/SearchPopupMenuGtk.cpp:
        (WebCore::SearchPopupMenuGtk::SearchPopupMenuGtk):
        (WebCore::SearchPopupMenuGtk::popupMenu):
        (WebCore::SearchPopupMenuGtk::saveRecentSearches):
        (WebCore::SearchPopupMenuGtk::loadRecentSearches):
        (WebCore::SearchPopupMenuGtk::enabled):
        * platform/gtk/SearchPopupMenuGtk.h: Added.

        haiku:

        * platform/haiku/PopupMenuHaiku.cpp:
        (WebCore::HaikuPopup::HaikuPopup):
        (WebCore::HaikuPopup::~HaikuPopup):
        (WebCore::PopupMenuHaiku::PopupMenuHaiku):
        (WebCore::PopupMenuHaiku::~PopupMenuHaiku):
        (WebCore::PopupMenuHaiku::disconnectClient):
        (WebCore::PopupMenuHaiku::show):
        (WebCore::PopupMenuHaiku::hide):
        (WebCore::PopupMenuHaiku::updateFromElement):
        * platform/haiku/PopupMenuHaiku.h: Added.
        (WebCore::PopupMenuHaiku::disconnectClient):
        (WebCore::PopupMenuHaiku::client):
        * platform/haiku/SearchPopupMenuHaiku.cpp:
        (WebCore::SearchPopupMenuHaiku::SearchPopupMenuHaiku):
        (WebCore::SearchPopupMenuHaiku::saveRecentSearches):
        (WebCore::SearchPopupMenuHaiku::loadRecentSearches):
        (WebCore::SearchPopupMenuHaiku::enabled):
        (WebCore::SearchPopupMenuHaiku::popupMenu):
        * platform/haiku/SearchPopupMenuHaiku.h: Added.

        mac:

        * WebCore.exp.in:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/mac/PopupMenuMac.h: Added.
        (WebCore::PopupMenuMac::disconnectClient):
        (WebCore::PopupMenuMac::client):
        * platform/mac/PopupMenuMac.mm:
        (WebCore::PopupMenuMac::PopupMenuMac):
        (WebCore::PopupMenuMac::~PopupMenuMac):
        (WebCore::PopupMenuMac::clear):
        (WebCore::PopupMenuMac::populate):
        (WebCore::PopupMenuMac::show):
        (WebCore::PopupMenuMac::hide):
        (WebCore::PopupMenuMac::updateFromElement):
        (WebCore::PopupMenuMac::itemWritingDirectionIsNatural):
        * platform/mac/SearchPopupMenuMac.h: Added.
        * platform/mac/SearchPopupMenuMac.mm:
        (WebCore::SearchPopupMenuMac::SearchPopupMenuMac):
        (WebCore::SearchPopupMenuMac::popupMenu):
        (WebCore::SearchPopupMenuMac::enabled):
        (WebCore::SearchPopupMenuMac::saveRecentSearches):
        (WebCore::SearchPopupMenuMac::loadRecentSearches):

        qt:

        * WebCore.pro:
        * platform/qt/PopupMenuQt.cpp:
        (WebCore::PopupMenuQt::PopupMenuQt):
        (WebCore::PopupMenuQt::~PopupMenuQt):
        (WebCore::PopupMenuQt::disconnectClient):
        (WebCore::PopupMenuQt::show):
        (WebCore::PopupMenuQt::hide):
        (WebCore::PopupMenuQt::updateFromElement):
        * platform/qt/PopupMenuQt.h: Added.
        * platform/qt/QtAbstractWebPopup.h:
        * platform/qt/SearchPopupMenuQt.cpp:
        (WebCore::SearchPopupMenuQt::SearchPopupMenuQt):
        (WebCore::SearchPopupMenuQt::popupMenu):
        (WebCore::SearchPopupMenuQt::saveRecentSearches):
        (WebCore::SearchPopupMenuQt::loadRecentSearches):
        (WebCore::SearchPopupMenuQt::enabled):
        * platform/qt/SearchPopupMenuQt.h: Added.

        win:

        * WebCore.vcproj/WebCore.vcproj:
        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupMenuWin::PopupMenuWin):
        (WebCore::PopupMenuWin::~PopupMenuWin):
        (WebCore::PopupMenuWin::disconnectClient):
        (WebCore::PopupMenuWin::popupClassName):
        (WebCore::PopupMenuWin::show):
        (WebCore::PopupMenuWin::hide):
        (WebCore::PopupMenuWin::calculatePositionAndSize):
        (WebCore::PopupMenuWin::setFocusedIndex):
        (WebCore::PopupMenuWin::visibleItems):
        (WebCore::PopupMenuWin::listIndexAtPoint):
        (WebCore::PopupMenuWin::focusedIndex):
        (WebCore::PopupMenuWin::focusFirst):
        (WebCore::PopupMenuWin::focusLast):
        (WebCore::PopupMenuWin::down):
        (WebCore::PopupMenuWin::up):
        (WebCore::PopupMenuWin::invalidateItem):
        (WebCore::PopupMenuWin::clientRect):
        (WebCore::PopupMenuWin::incrementWheelDelta):
        (WebCore::PopupMenuWin::reduceWheelDelta):
        (WebCore::PopupMenuWin::scrollToRevealSelection):
        (WebCore::PopupMenuWin::updateFromElement):
        (WebCore::PopupMenuWin::paint):
        (WebCore::PopupMenuWin::valueChanged):
        (WebCore::PopupMenuWin::invalidateScrollbarRect):
        (WebCore::PopupMenuWin::registerClass):
        (WebCore::PopupMenuWin::PopupMenuWndProc):
        (WebCore::PopupMenuWin::wndProc):
        * platform/win/PopupMenuWin.h: Added.
        (WebCore::PopupMenuWin::client):
        (WebCore::PopupMenuWin::scrollbar):
        (WebCore::PopupMenuWin::itemHeight):
        (WebCore::PopupMenuWin::windowRect):
        (WebCore::PopupMenuWin::popupHandle):
        (WebCore::PopupMenuWin::setWasClicked):
        (WebCore::PopupMenuWin::wasClicked):
        (WebCore::PopupMenuWin::setScrollOffset):
        (WebCore::PopupMenuWin::scrollOffset):
        (WebCore::PopupMenuWin::wheelDelta):
        (WebCore::PopupMenuWin::scrollbarCapturingMouse):
        (WebCore::PopupMenuWin::setScrollbarCapturingMouse):
        * platform/win/SearchPopupMenuWin.cpp:
        (WebCore::SearchPopupMenuWin::SearchPopupMenuWin):
        (WebCore::SearchPopupMenuWin::popupMenu):
        (WebCore::SearchPopupMenuWin::enabled):
        (WebCore::SearchPopupMenuWin::saveRecentSearches):
        (WebCore::SearchPopupMenuWin::loadRecentSearches):
        * platform/win/SearchPopupMenuWin.h: Added.

        wx:

        * platform/wx/PopupMenuWx.cpp:
        (WebCore::PopupMenuWx::PopupMenuWx):
        (WebCore::PopupMenuWx::~PopupMenuWx):
        (WebCore::PopupMenuWx::disconnectClient):
        (WebCore::PopupMenuWx::show):
        (WebCore::PopupMenuWx::OnMenuItemSelected):
        (WebCore::PopupMenuWx::hide):
        (WebCore::PopupMenuWx::updateFromElement):
        * platform/wx/PopupMenuWx.h: Added.
        (WebCore::PopupMenuWx::client):
        * platform/wx/SearchPopupMenuWx.cpp:
        (WebCore::SearchPopupMenuWx::SearchPopupMenuWx):
        (WebCore::SearchPopupMenuWx::saveRecentSearches):
        (WebCore::SearchPopupMenuWx::loadRecentSearches):
        (WebCore::SearchPopupMenuWx::enabled):
        (WebCore::SearchPopupMenuWx::popupMenu):
        * platform/wx/SearchPopupMenuWx.h: Added.

2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural):
        (WebKit::ChromeClientImpl::createPopupMenu):
        (WebKit::ChromeClientImpl::createSearchPopupMenu):
        * src/ChromeClientImpl.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural):
        (WebCore::ChromeClientEfl::createPopupMenu):
        (WebCore::ChromeClientEfl::createSearchPopupMenu):
        * WebCoreSupport/ChromeClientEfl.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::selectItemWritingDirectionIsNatural):
        (WebKit::ChromeClient::createPopupMenu):
        (WebKit::ChromeClient::createSearchPopupMenu):
        * WebCoreSupport/ChromeClientGtk.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/ChromeClientHaiku.cpp:
        (WebCore::ChromeClientHaiku::selectItemWritingDirectionIsNatural):
        (WebCore::ChromeClientHaiku::createPopupMenu):
        (WebCore::ChromeClientHaiku::createSearchPopupMenu):
        * WebCoreSupport/ChromeClientHaiku.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/WebChromeClient.h:
        * WebCoreSupport/WebChromeClient.mm:
        (WebChromeClient::selectItemWritingDirectionIsNatural):
        (WebChromeClient::createPopupMenu):
        (WebChromeClient::createSearchPopupMenu):
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::selectItemWritingDirectionIsNatural):
        (WebCore::ChromeClientQt::createPopupMenu):
        (WebCore::ChromeClientQt::createSearchPopupMenu):
        * WebCoreSupport/ChromeClientQt.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebCoreSupport/WebChromeClient.cpp:
        (WebChromeClient::selectItemWritingDirectionIsNatural):
        (WebChromeClient::createPopupMenu):
        (WebChromeClient::createSearchPopupMenu):
        * WebCoreSupport/WebChromeClient.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebKitSupport/ChromeClientWx.cpp:
        (WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
        (WebCore::ChromeClientWx::createPopupMenu):
        (WebCore::ChromeClientWx::createSearchPopupMenu):
        * WebKitSupport/ChromeClientWx.h:
2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Fisher.

        PopupMenu refactoring in preparation to WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42592

        Classes WebPopupMenu and WebSearchPopupMenu inherit from PopupMenu and
        SearchPopupMenu respectively. At this point they are just empty implementations.

        * WebProcess/WebCoreSupport/WebPopupMenu.cpp: Added.
        (WebKit::WebPopupMenu::WebPopupMenu):
        (WebKit::WebPopupMenu::~WebPopupMenu):
        (WebKit::WebPopupMenu::disconnectClient):
        (WebKit::WebPopupMenu::show):
        (WebKit::WebPopupMenu::hide):
        (WebKit::WebPopupMenu::updateFromElement):
        * WebProcess/WebCoreSupport/WebPopupMenu.h: Added.
        * WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp: Added.
        (WebKit::WebSearchPopupMenu::WebSearchPopupMenu):
        (WebKit::WebSearchPopupMenu::popupMenu):
        (WebKit::WebSearchPopupMenu::saveRecentSearches):
        (WebKit::WebSearchPopupMenu::loadRecentSearches):
        (WebKit::WebSearchPopupMenu::enabled):
        * WebProcess/WebCoreSupport/WebSearchPopupMenu.h: Added.

        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
        instances, concrete classes that inherit from ChromeClient needed to be changed to
        implement the new methods.

        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        (WebKit::WebChromeClient::selectItemWritingDirectionIsNatural):
        (WebKit::WebChromeClient::createPopupMenu):
        (WebKit::WebChromeClient::createSearchPopupMenu):
        * WebProcess/WebCoreSupport/WebChromeClient.h:

        build issues:

        * WebKit2.xcodeproj/project.pbxproj:
        * win/WebKit2.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Tue, 3 Aug 2010 00:38:50 +0000 (00:38 +0000)]
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64478.
        http://trac.webkit.org/changeset/64478
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/navigator-detached-no-crash-expected.txt:
        * fast/dom/prototype-inheritance-2-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Tue, 3 Aug 2010 00:30:30 +0000 (00:30 +0000)]
2010-08-02  Chris Fleizach  <cfleizach@apple.com>

        Unreviewed, rolling out r64486.
        http://trac.webkit.org/changeset/64486
        https://bugs.webkit.org/show_bug.cgi?id=43005

        Rolling out https://bugs.webkit.org/show_bug.cgi?id=43005
        until further discussion

        * platform/qt/fast/dom/Window/window-properties-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 3 Aug 2010 00:26:02 +0000 (00:26 +0000)]
2010-08-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt: Fix duplicated entries.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 3 Aug 2010 00:15:27 +0000 (00:15 +0000)]
2010-08-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update

        * platform/chromium/drt_expectations.txt: Add Linux results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRestore the WebKitTestRunner.sln that was removed, and remove the
jhoneycutt@apple.com [Tue, 3 Aug 2010 00:12:15 +0000 (00:12 +0000)]
Restore the WebKitTestRunner.sln that was removed, and remove the
correct one.

Rubber-stamped by Sam Weinig.

* WebKitTestRunner/WebKitTestRunner.sln: Added.
* WebKitTestRunner/win/WebKitTestRunner.sln: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-07-30 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 3 Aug 2010 00:00:42 +0000 (00:00 +0000)]
2010-07-30  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Ojan Vafai.

        Remove setNodeToDump from dump-as-markup.js
        https://bugs.webkit.org/show_bug.cgi?id=43286

        Removed Removed Markup.setNodeToDump, replaced all calls to this method by calls to dump.
        Because we want need to avoid printing "Dump of markup 1:" when dump is called only once,
        Markup.dump no longer adds the text on the first call. Instead, it'll insert the text
        on the second call when the first call didn't have the description.

        * editing/execCommand/create-list-from-range-selection.html: Replaced setNodeToDump by dump
        * editing/execCommand/hilitecolor.html: Replaced setNodeToDump by dump
        * editing/execCommand/insert-list-empty-div.html: Replaced setNodeToDump by dump
        * editing/execCommand/switch-list-type-with-inner-list.html: Replaced setNodeToDump by dump
        * editing/execCommand/switch-list-type-with-orphaned-li.html: Replaced setNodeToDump by dump
        * editing/selection/home-inside-noneditable-table.html: Replaced setNodeToDump by dump
        * editing/style/remove-underline-from-stylesheet.html: Replaced setNodeToDump by dump
        * resources/dump-as-markup.js: Removed Markup.setNodeToDump.
        (Markup.dump):
        (Markup.notifyDone):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 23:51:56 +0000 (23:51 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use GdkPixbuf for ImageBuffer::toDataURL
        https://bugs.webkit.org/show_bug.cgi?id=43088

        * platform/gtk/Skipped: Generate results for a toDataURL test and unskip it.
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use GdkPixbuf for ImageBuffer::toDataURL
        https://bugs.webkit.org/show_bug.cgi?id=43088

        Implement ImageBuffer::toDataURL with GdkPixbuf instead of Cairo. This
        allows the method to support a larger variety of image types.

        * GNUmakefile.am: Add new files to the source list.
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypesForEncoding):
        Add the list of image types supported by GTK.
        * platform/graphics/cairo/ImageBufferCairo.cpp:
        * platform/graphics/gtk/CairoUtilities.cpp: Added.
        (getCairoSurfacePixel): Move this method from ImageGtk.cpp.
        (getGdkPixbufPixel): Move this method from ImageGtk.cpp.
        (cairoImageSurfaceToGdkPixbuf): Move this method from ImageGtk.cpp.
        * platform/graphics/gtk/CairoUtilities.h: Added.
        * platform/graphics/gtk/ImageBufferGtk.cpp: Added.
        (WebCore::ImageBuffer::toDataURL): Use GdkPixbuf to do the conversion to a data url.
        * platform/graphics/gtk/ImageGtk.cpp:
        (WebCore::BitmapImage::getGdkPixbuf): Use the new helper method in CairoUtilities.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 2 Aug 2010 23:43:04 +0000 (23:43 +0000)]
2010-08-02  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        [GTK] Add support for the Audio element in the DOM bindings
        https://bugs.webkit.org/show_bug.cgi?id=43313

        Add new files to the build.

        * GNUmakefile.am:

WebCore:

2010-08-02  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        [GTK] Add support for the Audio element in the DOM bindings
        https://bugs.webkit.org/show_bug.cgi?id=43313

        The IDL definition of some HTMLMediaElement methods does not match
        the C++ implementation API, take this fact into account when
        generating the bindings.

        * bindings/gobject/WebKitHTMLElementWrapperFactory.cpp:
        (WebKit::createAudioWrapper):
        (WebKit::createHTMLElementWrapper):
        * bindings/scripts/CodeGeneratorGObject.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix plug-in test failures and remove tests from the Skipped list
andersca@apple.com [Mon, 2 Aug 2010 23:39:50 +0000 (23:39 +0000)]
Fix plug-in test failures and remove tests from the Skipped list
https://bugs.webkit.org/show_bug.cgi?id=43389

Reviewed by Sam Weinig.

WebCore:

* WebCore.exp.in:
Export FrameLoader::cancelledError.

WebKit2:

* WebProcess/Plugins/JSNPMethod.cpp:
JSNPMethod::s_info should specify InternalFunction::info as its parent.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::cancelStreamLoad):
Special-case the manual stream and call PluginController::cancelManualStreamLoad.

* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
(WebKit::NetscapePluginStream::stop):
It's OK to call stop on a stream that hasn't been started. Remove assertion and return early.

* WebProcess/Plugins/PluginController.h:
Add cancelManualStreamLoad.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::cancelManualStreamLoad):
Tell the document loader to cancel the main resource load.

* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::innerText):
Check for a null document element.

LayoutTests:

* platform/mac-wk2/Skipped:
Move plug-in tests that now fail due to lack of functionality out into appropriate sections.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSkip Windows-only accessibility tests on WebKit2.
jhoneycutt@apple.com [Mon, 2 Aug 2010 23:33:36 +0000 (23:33 +0000)]
Skip Windows-only accessibility tests on WebKit2.

https://bugs.webkit.org/show_bug.cgi?id=43387

Reviewed by Brady Eidson.

* platform/win-wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 23:30:17 +0000 (23:30 +0000)]
2010-08-02  Ojan Vafai  <ojan@chromium.org>

        Fix chromium-mac test results that fail because the chromium-mac bots run Leopard.
        I'd update platform/mac-leopard, but the mac-leopard bot doesn't run pixel-tests.
        In either case, I think the difference falls within that bot's tolerance.

        * platform/chromium-mac/fast/overflow/overflow-focus-ring-expected.checksum: Added.
        * platform/chromium-mac/fast/overflow/overflow-focus-ring-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate skipped list to get us to ~75 failures for Mac WebKit2.
weinig@apple.com [Mon, 2 Aug 2010 22:42:16 +0000 (22:42 +0000)]
Update skipped list to get us to ~75 failures for Mac WebKit2.

Rubber-stamped by John Honeycutt.

* platform/mac-wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMove InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
jhoneycutt@apple.com [Mon, 2 Aug 2010 22:38:18 +0000 (22:38 +0000)]
Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.

WebKit/win:

Reviewed by Sam Weinig.

* WebKit.vcproj/WebKit.sln:

WebKitTools:

Remove the unused WebKitTestRunner.sln.

Reviewed by Sam Weinig.

* WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
* WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Removed.
* WebKitTestRunner/WebKitTestRunner.sln: Removed.
* WebKitTestRunner/win/InjectedBundle.vcproj: Added.
* WebKitTestRunner/win/WebKitTestRunner.sln:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 22:31:14 +0000 (22:31 +0000)]
2010-08-02  Ojan Vafai  <ojan@chromium.org>

        Fix failing test on QT/GTK bots.

        r64488 removed the SelectAll on focus behavior. Put in a SelectAll call to match the
        old test behavior.

        * editing/pasteboard/crash-accessing-clipboardData-types.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 22:22:16 +0000 (22:22 +0000)]
2010-08-02  Ojan Vafai  <ojan@chromium.org>

        platform specific expectations after r64488
        https://bugs.webkit.org/show_bug.cgi?id=43384

        Followup updates after r64488 for tests that had platform-specific expecations.

        * platform/chromium-linux/editing/pasteboard/select-element-1-expected.txt:
        * platform/chromium-linux/fast/dom/focus-contenteditable-expected.checksum:
        * platform/chromium-linux/fast/dom/focus-contenteditable-expected.png:
        * platform/chromium-linux/fast/overflow/overflow-focus-ring-expected.checksum:
        * platform/chromium-linux/fast/overflow/overflow-focus-ring-expected.png:
        * platform/chromium-win/editing/pasteboard/input-field-1-expected.txt:
        * platform/chromium-win/editing/pasteboard/merge-end-1-expected.txt:
        * platform/chromium-win/editing/pasteboard/merge-end-2-expected.txt:
        * platform/chromium-win/editing/pasteboard/select-element-1-expected.txt:
        * platform/chromium-win/fast/dom/focus-contenteditable-expected.checksum:
        * platform/chromium-win/fast/dom/focus-contenteditable-expected.png:
        * platform/chromium-win/fast/dom/focus-contenteditable-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-focus-ring-expected.checksum:
        * platform/chromium-win/fast/overflow/overflow-focus-ring-expected.png:
        * platform/chromium-win/fast/overflow/overflow-focus-ring-expected.txt:
        * platform/qt/editing/pasteboard/merge-end-1-expected.txt:
        * platform/qt/editing/pasteboard/merge-end-2-expected.txt:
        * platform/qt/editing/pasteboard/select-element-1-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed test expectations fixups for chromium.
atwilson@chromium.org [Mon, 2 Aug 2010 21:58:59 +0000 (21:58 +0000)]
Unreviewed test expectations fixups for chromium.

* platform/chromium-linux/editing/pasteboard/select-element-1-expected.txt:
* platform/chromium-mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/input-field-1-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-end-1-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-end-2-expected.txt:
* platform/chromium-win/editing/pasteboard/select-element-1-expected.txt:
* platform/chromium-win/fast/dom/navigator-detached-no-crash-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 21:55:02 +0000 (21:55 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Create a frame-created signal
        https://bugs.webkit.org/show_bug.cgi?id=43284

        Add a frame-created signal, which will allow developers to track
        the beginning of a frame lifecycle and attach signal handlers to
        all new frames.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::createFrame): Emit the frame-created signal.
        * tests/testwebframe.c: Add a test which verifies that the correct number of
        frame-created signals is fired when a page with iframes loads.
        (createFrameSignalTestFrameCreatedCallback): Added.
        (createFrameSignalTestTimeout): Added.
        (test_webkit_web_frame_created_signal): Added.
        (main): Add a reference to the new test.
        * webkit/webkitprivate.h: De-normalize webkit_web_frame_init_with_web_view into
        the one place that it is used, so that the frame-created signal may be fired there.
        * webkit/webkitwebframe.cpp: Remove webkit_web_frame_init_with_web_view.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_class_init): Add the frame-created signal declaration.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 21:50:20 +0000 (21:50 +0000)]
2010-08-02  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        fix editing/selection/focus-contenteditable-iframe.html after r64489
        https://bugs.webkit.org/show_bug.cgi?id=43383

        I had just messed up the expected results before committing r64489.
        This new output is correct and matches the test description.

        * editing/selection/focus-contenteditable-iframe-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd support for loading manual streams
andersca@apple.com [Mon, 2 Aug 2010 21:32:11 +0000 (21:32 +0000)]
Add support for loading manual streams
https://bugs.webkit.org/show_bug.cgi?id=43380

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_loadManually to false.

(WebKit::NetscapePlugin::removePluginStream):
Special case the manual stream.

(WebKit::NetscapePlugin::initialize):
Don't request the stream if we're already loading.

(WebKit::NetscapePlugin::manualStreamDidReceiveResponse):
Create the manual stream and pass the response to it.

(WebKit::NetscapePlugin::manualStreamDidReceiveData):
Pass the data to the manual stream.

(WebKit::NetscapePlugin::manualStreamDidFinishLoading):
Call the manual stream.

(WebKit::NetscapePlugin::manualStreamDidFail):
Ditto.

* WebProcess/Plugins/Plugin.h:
Add pure virtual member functions for manual stream loading.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::buildHTTPHeaders):
Put code in a function so both PluginView::Stream::didReceiveResponse and
manualLoadDidReceiveResponse can call it.

(WebKit::PluginView::Stream::didReceiveResponse):
Call buildHTTPHeaders.

(WebKit::PluginView::Stream::didFinishLoading):
Protect the plug-in when calling destroyStream.

(WebKit::PluginView::manualLoadDidReceiveResponse):
Call Plugin::manualStreamDidReceiveResponse.

(WebKit::PluginView::manualLoadDidReceiveData):
Call Plugin::manualStreamDidReceiveData.

(WebKit::PluginView::manualLoadDidFinishLoading):
Call Plugin::manualStreamDidFinishLoading.

(WebKit::PluginView::manualLoadDidFail):
Call Plugin::manualStreamDidFail.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::WebFrameLoaderClient):
Initialize m_hasSentResponseToPluginView to false.

(WebKit::WebFrameLoaderClient::setMainDocumentError):
Call PluginView::manualLoadDidFail.

(WebKit::WebFrameLoaderClient::committedLoad):
Call PluginView::manualLoadDidReceiveResponse.

(WebKit::WebFrameLoaderClient::finishedLoading):
Call PluginView::manualLoadDidFinishLoading.

(WebKit::WebFrameLoaderClient::redirectDataToPlugin):
Keep track of the plug-in view.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix the windows build.
weinig@apple.com [Mon, 2 Aug 2010 21:27:00 +0000 (21:27 +0000)]
Fix the windows build.

* WebKitTestRunner/win/main.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 2 Aug 2010 21:10:52 +0000 (21:10 +0000)]
2010-08-02  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson.

        Basic WK2 visited link coloring
        https://bugs.webkit.org/show_bug.cgi?id=43377

        No new tests. (No change in behavior)

        * WebCore.exp.in:

        * page/PageGroup.cpp:
        (WebCore::PageGroup::addVisitedLinkHash):
        * page/PageGroup.h:
2010-08-02  Brady Eidson  <beidson@apple.com>

        Reviewed by Anders Carlsson.

        Basic WK2 visited link coloring
        https://bugs.webkit.org/show_bug.cgi?id=43377

        Add simple API that allows the WK2 app to add 1 visited link at a time.
        For now, this just pipes each individual LinkHash down to WebCore.

        * Shared/CoreIPCSupport/WebProcessMessageKinds.h:
        (WebProcessMessage::):

        * UIProcess/API/C/WKContext.cpp:
        (WKContextAddVisitedLink):
        * UIProcess/API/C/WKContext.h:

        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::addVisitedLink):
        * UIProcess/WebContext.h:

        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::addVisitedLinkHash):
        (WebKit::WebProcess::didReceiveMessage):
        * WebProcess/WebProcess.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd a Skipped list on Windows, and have run-webkit-tests respect it.
jhoneycutt@apple.com [Mon, 2 Aug 2010 21:03:38 +0000 (21:03 +0000)]
Add a Skipped list on Windows, and have run-webkit-tests respect it.

Part of <rdar://problem/8233237> Fill WebKit2 Windows skipped list so
there are zero tests failing
https://bugs.webkit.org/show_bug.cgi?id=43374

Reviewed by Adam Roben.

WebKitTools:

* Scripts/old-run-webkit-tests:
If using WebKitTestRunner and Apple Windows WebKit, set the platform to
win-wk2. When building the result hierarchy, if the platform is win-wk2,
add it first to the list of platforms.

LayoutTests:

* platform/win-wk2/Skipped: Copied from LayoutTests/platform/mac-wk2/Skipped.
All platform/mac tests removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 21:01:25 +0000 (21:01 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Style cleanup for CairoPath.h
        https://bugs.webkit.org/show_bug.cgi?id=43133

        Turn CairoPath into a class, as it has a constructor and destructor.
        Change raw member access to use the new accessor.

        No new tests as functionality has not changed.

        * platform/graphics/cairo/CairoPath.h: Cleanup and indentation fix.
        (WebCore::CairoPath::CairoPath):
        (WebCore::CairoPath::~CairoPath):
        (WebCore::CairoPath::context):
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::addPath): Convert raw member access to accessor access.
        (WebCore::GraphicsContext::clip): Ditto.
        * platform/graphics/cairo/PathCairo.cpp:
        (WebCore::Path::Path): Ditto.
        (WebCore::Path::operator=): Ditto.
        (WebCore::Path::clear): Ditto.
        (WebCore::Path::isEmpty): Ditto.
        (WebCore::Path::currentPoint): Ditto.
        (WebCore::Path::translate): Ditto.
        (WebCore::Path::moveTo): Ditto.
        (WebCore::Path::addLineTo): Ditto.
        (WebCore::Path::addRect): Ditto.
        (WebCore::Path::addQuadCurveTo): Ditto.
        (WebCore::Path::addBezierCurveTo): Ditto.
        (WebCore::Path::addArc): Ditto.
        (WebCore::Path::addArcTo): Ditto.
        (WebCore::Path::addEllipse): Ditto.
        (WebCore::Path::closeSubpath): Ditto.
        (WebCore::Path::boundingRect): Ditto.
        (WebCore::Path::strokeBoundingRect): Ditto.
        (WebCore::Path::contains): Ditto.
        (WebCore::Path::strokeContains): Ditto.
        (WebCore::Path::apply): Ditto.
        (WebCore::Path::transform): Ditto.
        (WebCore::Path::debugString): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-07-20 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 20:50:36 +0000 (20:50 +0000)]
2010-07-20  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        focusing the body of a contentEditable iframe resets the selection
        https://bugs.webkit.org/show_bug.cgi?id=42645

        * editing/selection/focus-contenteditable-iframe-expected.txt: Added.
        * editing/selection/focus-contenteditable-iframe.html: Added.
2010-07-20  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        focusing the body of a contentEditable iframe resets the selection
        https://bugs.webkit.org/show_bug.cgi?id=42645

        The selection shouldn't be reset to the beginning of the rootEditableElement
        if it is already inside the rootEditableElement.

        Test: editing/selection/focus-contenteditable-iframe.html

        * dom/Element.cpp:
        (WebCore::Element::updateFocusAppearance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-07-20 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 2 Aug 2010 20:46:13 +0000 (20:46 +0000)]
2010-07-20  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        focusing an unfocused contentEditable element should place the cursor at the beginning
        https://bugs.webkit.org/show_bug.cgi?id=42646

        r14666 made this change for the body and html elements, but not for all contentEditable
        elements. Doing this for all contentEditable elements matches all other browsers.

        * editing/deleting/5546763-expected.txt:
        * editing/deleting/in-visibly-empty-root.html:
        * editing/execCommand/4786404-1.html:
        * editing/execCommand/4786404-2.html:
        * editing/execCommand/remove-list-1-expected.txt:
        * editing/pasteboard/5601583-1.html:
        * editing/pasteboard/merge-end-1.html:
        * editing/pasteboard/merge-end-2.html:
        * editing/selection/move-begin-end-expected.txt:
        * editing/selection/move-begin-end.html:
        * editing/style/5279521.html:
        * platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt:
        * platform/mac/editing/input/text-input-controller-expected.txt:
        * platform/mac/editing/pasteboard/input-field-1-expected.checksum:
        * platform/mac/editing/pasteboard/input-field-1-expected.png:
        * platform/mac/editing/pasteboard/input-field-1-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-1-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-2-expected.txt:
        * platform/mac/editing/pasteboard/select-element-1-expected.txt:
        * platform/mac/fast/dom/focus-contenteditable-expected.checksum:
        * platform/mac/fast/dom/focus-contenteditable-expected.png:
        * platform/mac/fast/dom/focus-contenteditable-expected.txt:
        * platform/mac/fast/overflow/overflow-focus-ring-expected.checksum:
        * platform/mac/fast/overflow/overflow-focus-ring-expected.png:
        * platform/mac/fast/overflow/overflow-focus-ring-expected.txt:
2010-07-20  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        focusing an unfocused contentEditable element should place the cursor at the beginning
        https://bugs.webkit.org/show_bug.cgi?id=42646

        r14666 made this change for the body and html elements, but not for all contentEditable
        elements. Doing this for all contentEditable elements matches all other browsers.

        * dom/Element.cpp:
        (WebCore::Element::updateFocusAppearance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoProtect the plug-in from being destroyed while in plug-in code
andersca@apple.com [Mon, 2 Aug 2010 20:02:43 +0000 (20:02 +0000)]
Protect the plug-in from being destroyed while in plug-in code
https://bugs.webkit.org/show_bug.cgi?id=43370

Reviewed by Sam Weinig.

Add a PluginProtector to NPRuntimeObjectMap and use it in JSNPObject.

* WebProcess/Plugins/JSNPObject.cpp:
(WebKit::JSNPObject::callMethod):
(WebKit::JSNPObject::callObject):
(WebKit::JSNPObject::callConstructor):
(WebKit::JSNPObject::put):
(WebKit::JSNPObject::getOwnPropertyNames):
(WebKit::JSNPObject::propertyGetter):
Add PluginProtector declarations.

* WebProcess/Plugins/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::PluginProtector::PluginProtector):
Ref the plug-in view (unless it's being destroyed).

(WebKit::NPRuntimeObjectMap::PluginProtector::~PluginProtector):
* WebProcess/Plugins/NPRuntimeObjectMap.h:

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::PluginView):
Initialize m_isBeingDestroyed.

(WebKit::PluginView::~PluginView):
Set m_isBeingDestroyed to true.

(WebKit::PluginView::scriptObject):
Don't crash if the plug-in failed to initialize.

(WebKit::PluginView::evaluate):
Remove comment.

* WebProcess/Plugins/PluginView.h:
(WebKit::PluginView::isBeingDestroyed):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed. Update Qt specific expected result after r64471.
ossy@webkit.org [Mon, 2 Aug 2010 19:50:30 +0000 (19:50 +0000)]
Unreviewed. Update Qt specific expected result after r64471.

AX: Support methods for web apps to interact with the native accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=43005

* platform/qt/fast/dom/Window/window-properties-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 2 Aug 2010 19:10:22 +0000 (19:10 +0000)]
2010-08-02  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        WebKitTestRunner needs layoutTestController.setCanOpenWindows
        https://bugs.webkit.org/show_bug.cgi?id=42321

        WebKitTestRunner needs layoutTestController.setCloseRemainingWindowsWhenComplete
        https://bugs.webkit.org/show_bug.cgi?id=42779

        * platform/mac-wk2/Skipped: Removed tests that are now passing. Moved other tests
        into the appropriate section.
2010-08-02  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        WebKitTestRunner needs layoutTestController.setCanOpenWindows
        https://bugs.webkit.org/show_bug.cgi?id=42321

        WebKitTestRunner needs layoutTestController.setCloseRemainingWindowsWhenComplete
        https://bugs.webkit.org/show_bug.cgi?id=42779

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added
        setCanOpenWindows, setCloseRemainingWindowsWhenComplete, and windowCount

        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
        (WTR::InjectedBundle::InjectedBundle): Initialize m_mainPage to 0 instead of
        waiting for the first call to didCreatePage.
        (WTR::InjectedBundle::didCreatePage): Set m_mainPage only when the first page
        is created. Put other pages into a map.
        (WTR::InjectedBundle::willDestroyPage): Added code to handle the destruction
        of the main page.
        (WTR::InjectedBundle::closeOtherPages): Added. Closes all the pages other than
        the main page.
        * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Added pageCount and
        closeOtherPages functions.

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::didFinishLoadForFrame): Don't let pages other than
        the main page affect dumping.
        (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame): Ditto.

        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::LayoutTestController): Initialize the new
        m_shouldCloseExtraWindows member.
        (WTR::LayoutTestController::setCanOpenWindows): Added. Empty for now.
        (WTR::LayoutTestController::windowCount): Added.

        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        Added setCanOpenWindows, setCloseRemainingWindowsWhenComplete,
        windowCount, shouldCloseExtraWindowsAfterRunningTest, and
        m_shouldCloseExtraWindows.

        * WebKitTestRunner/TestController.cpp:
        (WTR::TestController::shared): Return a pointer to the shared copy, but
        don't allocate and leak it. This seemed cleaner than adding an explicit
        finalize call to go along with the explicit initialize call.
        (WTR::TestController::TestController): Added calls to the initialize and
        run function, which are now done automatically.
        (WTR::TestController::~TestController): Added, since it's called now.
        (WTR::closeOtherPage): Added. Used to close pages other than the main page.
        (WTR::createOtherPage): Added. Used to create pages other than the main page.
        (WTR::TestController::initialize): Added code to set up createOtherPage.
        (WTR::TestController::run): Removed unused return value.
        * WebKitTestRunner/TestController.h: Made constructor and destructor public,
        and initialize and run private. Changed m_mainWebView to be an OwnPtr.

        * WebKitTestRunner/mac/PlatformWebViewMac.mm:
        (WTR::PlatformWebView::PlatformWebView): Added a call to setReleasedWhenClosed
        to avoid releasing the window twice. Another way to handle it would be to
        remove the release, but this approach is slightly more robust because it works
        even if some other code calls the close method an extra time.

        * WebKitTestRunner/mac/main.mm:
        (main): Use a stack-allocated TestController object instead of calling
        initalize and run on a globally allocated one.
2010-08-02  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        WebKitTestRunner needs layoutTestController.setCanOpenWindows
        https://bugs.webkit.org/show_bug.cgi?id=42321

        WebKitTestRunner needs layoutTestController.setCloseRemainingWindowsWhenComplete
        https://bugs.webkit.org/show_bug.cgi?id=42779

        Implemented window.close, added a function that does a similar operation on behalf
        of injected bundle code named WKBundlePageClose, and fixed the reference counting of
        the result of the createNewPage client function.

        * UIProcess/API/cpp/WKRetainPtr.h: Added clear. Tweaked formatting. Renamed
        releaseRef to leakRef.

        * UIProcess/API/mac/WKView.mm:
        (-[WKView _updateVisibility]): Handle the case where drawing area is 0. This
        came up in WebKitTestRunner and other functions handle drawing area of 0.

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::didReceiveSyncMessage): Update now that createNewPage
        returns a PassRefPtr.
        (WebKit::WebPageProxy::createNewPage): Changed to return a PassRefPtr.
        * UIProcess/WebPageProxy.h: Ditto.

        * UIProcess/WebUIClient.cpp:
        (WebKit::WebUIClient::createNewPage): Changed to return a PassRefPtr and adopt
        the WKPageRef passed from the client. This follows the "create rule".
        * UIProcess/WebUIClient.h: Ditto.

        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
        (WKBundlePageClose): Added.
        * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: Added WKBundlePageClose
        and re-sorted the other functions in this file.

        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        (WebKit::WebChromeClient::closeWindowSoon): Implemented this.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::WebPage): Called setJavaScriptCanOpenWindowsAutomatically(true).
        I suppose we will need to revisit this later when we implement pop-up blocking.
        (WebKit::WebPage::tryClose): Factored out the part of this that sends a message
        to the other process.
        (WebKit::WebPage::sendClose): This is where the part that sends a message went.
        * WebProcess/WebPage/WebPage.h: Added sendClose, used by both closeWindowSoon
        and WKBundlePageClose.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 2 Aug 2010 18:51:22 +0000 (18:51 +0000)]
2010-08-02  Tony Chang  <tony@chromium.org>

        Reviewed by David Levin.

        add myself to the reviewers list
        https://bugs.webkit.org/show_bug.cgi?id=43366

        * Scripts/webkitpy/common/config/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed fix for typo in chromium test_expectations.txt.
atwilson@chromium.org [Mon, 2 Aug 2010 18:48:56 +0000 (18:48 +0000)]
Unreviewed fix for typo in chromium test_expectations.txt.

* platform/chromium/test_expectations.txt: Fixed typo in entry.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoTell the patch prettifier about some (not so) new directories
aroben@apple.com [Mon, 2 Aug 2010 18:43:34 +0000 (18:43 +0000)]
Tell the patch prettifier about some (not so) new directories

* PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
directories.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed: Added Noam Rosenthal to the commiters script
noam.rosenthal@nokia.com [Mon, 2 Aug 2010 18:36:56 +0000 (18:36 +0000)]
Unreviewed: Added Noam Rosenthal to the commiters script

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=43369
sullivan@apple.com [Mon, 2 Aug 2010 18:33:31 +0000 (18:33 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=43369
WebBackForwardList::forwardListAsImmutableArrayWithLimit can return partly-uninitialized array

Reviewed by Ada Chan.

* UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
Use a simpler and correct expression to determine "last".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoCache JSNPObjects and fix bugs in the object map
andersca@apple.com [Mon, 2 Aug 2010 18:28:07 +0000 (18:28 +0000)]
Cache JSNPObjects and fix bugs in the object map
https://bugs.webkit.org/show_bug.cgi?id=43368

Reviewed by Sam Weinig.

WebKit2:

* WebProcess/Plugins/JSNPObject.cpp:
(WebKit::JSNPObject::JSNPObject):
Assert that we're not trying to wrap an NPJSObject.

(WebKit::JSNPObject::~JSNPObject):
Tell the object map that we're gone.

(WebKit::JSNPObject::invalidate):
Release the NPObject and null out the pointer.

* WebProcess/Plugins/NPJSObject.cpp:
(WebKit::NPJSObject::create):
Assert that we're not trying to wrap a JSNPObject.

* WebProcess/Plugins/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::getOrCreateNPObject):
If we're passed a JSNPObject, just extract its NPObject.

(WebKit::NPRuntimeObjectMap::getOrCreateJSObject):
If we're passed an NPJSObject, just extract its JSObject. Otherwise, check if we already have
a JSObject for this NPObject and return it.

(WebKit::NPRuntimeObjectMap::jsNPObjectDestroyed):
Remove the object from the map.

(WebKit::NPRuntimeObjectMap::convertNPVariantToJSValue):
getOrCreateJSObject now checks for wrapped objects.

(WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):
getOrCreateNPObject now checks for wrapped objects.

(WebKit::NPRuntimeObjectMap::invalidate):
Invalidate JSNPObjects as well.

WebKitTools:

Test that we correctly throw exceptions when trying to do things to a JSObject that used to
wrap an NPObject that came from a plug-in that is now destroyed.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
(PluginTest::Object::getProperty):
(PluginTest::Object::NP_GetProperty):
(PluginTest::Object::npClass):
* DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp: Added.
(NPRuntimeObjectFromDestroyedPlugin::NPRuntimeObjectFromDestroyedPlugin):
(NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::hasProperty):
(NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::getProperty):
(NPRuntimeObjectFromDestroyedPlugin::NPP_GetValue):
* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
* DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
* GNUmakefile.am:

LayoutTests:

* plugins/npruntime/object-from-destroyed-plugin-expected.txt: Added.
* plugins/npruntime/object-from-destroyed-plugin.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAX: Support methods for web apps to interact with the native accessibility APIs
cfleizach@apple.com [Mon, 2 Aug 2010 18:19:51 +0000 (18:19 +0000)]
AX: Support methods for web apps to interact with the native accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=43005

Updating expectations for layout tests.

* fast/dom/Window/window-properties-expected.txt:
* fast/dom/navigator-detached-no-crash-expected.txt:
* fast/dom/prototype-inheritance-2-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 2 Aug 2010 18:13:59 +0000 (18:13 +0000)]
2010-08-02  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        Group functions used in createMarkup (range version) into a class so they are easier to understand
        https://bugs.webkit.org/show_bug.cgi?id=43227

        Added MarkupAccumulatorWrapper to group getStartMarkup, getEndMarkup, joinMarkups, and addStyleMarkup.
        MarkupAccumulatorWrapper is intended to be merged with MarkupAccumulator in the future.

        No new tests added since this is a clean up.

        * editing/markup.cpp:
        (WebCore::MarkupAccumulatorWrapper::MarkupAccumulatorWrapper): Added.
        (WebCore::MarkupAccumulatorWrapper::insertString): Added.
        (WebCore::MarkupAccumulatorWrapper::insertOpenTag): Added.
        (WebCore::MarkupAccumulatorWrapper::insertEndTag): Added.
        (WebCore::MarkupAccumulatorWrapper::wrapWithNode): Added.
        (WebCore::MarkupAccumulatorWrapper::wrapWithStyleNode): Added.
        (WebCore::MarkupAccumulatorWrapper::takeResults): Added.
        (WebCore::createMarkup): Uses MarkupAccumulatorWrapper.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd a missing </File> tag to WebCore.vcproj.
bweinstein@apple.com [Mon, 2 Aug 2010 18:04:00 +0000 (18:04 +0000)]
Add a missing </File> tag to WebCore.vcproj.

* WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Mon, 2 Aug 2010 17:53:08 +0000 (17:53 +0000)]
2010-08-02  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Implement support for get_character_extents and get_range_extents
        https://bugs.webkit.org/show_bug.cgi?id=25677

        Implement get_range_extents() and modify get_character_extents()
        to properly work after "The Great Flattening" occurred in the ATK
        objects hierarchy, some months ago.

        In the case of the GTK port, not just the text controls should be
        considered when it comes to these functions but also those
        composite objects that would also allow to work with text ranges,
        such as headings and links. To take care of this, a new function
        AccessibilityObject::allowsTextRanges() was defined with a default
        implementation in the header file and an specific one for GTK in
        AccessibilityObjectAtk.cpp.

        Based on a previous patch by Joanmarie Diggs.

        * accessibility/AccessibilityObject.cpp:
        (WebCore::AccessibilityObject::visiblePositionRangeForRange):
        * accessibility/AccessibilityObject.h:
        (WebCore::AccessibilityObject::allowsTextRanges): New
        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::visiblePositionForIndex):
        (WebCore::AccessibilityRenderObject::doAXBoundsForRange):
        * accessibility/gtk/AccessibilityObjectAtk.cpp:
        (WebCore::AccessibilityObject::allowsTextRanges): New
        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (textExtents):
        (webkit_accessible_text_get_character_extents):
        (webkit_accessible_text_get_range_extents):
        (atk_text_interface_init):
2010-08-02  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Implement support for get_character_extents and get_range_extents
        https://bugs.webkit.org/show_bug.cgi?id=25677

        Added new unit tests to check get_character_extents and
        get_range_extents functions for the ATK_TEXT interface

        Based on a previous patch by Joanmarie Diggs.

        * tests/testatk.c:
        (test_webkit_atk_get_extents):
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed test expectations change to mark test as failing on Chromium Linux.
atwilson@chromium.org [Mon, 2 Aug 2010 17:52:14 +0000 (17:52 +0000)]
Unreviewed test expectations change to mark test as failing on Chromium Linux.

* platform/chromium/test_expectations.txt: Mark fast/events/keydown-numpad-keys.html as failing on Linux.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 17:28:23 +0000 (17:28 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        [Qt] DOM listeners get wrong keycodes for some keys
        https://bugs.webkit.org/show_bug.cgi?id=43365

        * platform/qt/Skipped: Skip these two tests which are failing on Qt, until
        a fix can be made.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAX: Support methods for web apps to interact with the native accessibility APIs
cfleizach@apple.com [Mon, 2 Aug 2010 17:24:46 +0000 (17:24 +0000)]
AX: Support methods for web apps to interact with the native accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=43005

Fix for windows build. No review.

* WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64472 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAX: Support methods for web apps to interact with the native accessibility APIs
cfleizach@apple.com [Mon, 2 Aug 2010 17:14:47 +0000 (17:14 +0000)]
AX: Support methods for web apps to interact with the native accessibility APIs
https://bugs.webkit.org/show_bug.cgi?id=43005

Reviewed by David Kilzer.

.:

* GNUmakefile.am:

WebCore:

Adds a new "accessibility" object that hangs off of "window.navigator".
This accessibility object will allow web apps to interact with native accessibility APIs
to provide a richer experience (for screen reader users primarily).

Test: platform/mac/accessibility/js-accessibility.html

* Android.derived.v8bindings.mk:
* Android.jscbindings.mk:
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pri:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::):
* accessibility/Accessibility.cpp: Added.
(WebCore::Accessibility::Accessibility):
(WebCore::Accessibility::~Accessibility):
(WebCore::Accessibility::disconnectFrame):
(WebCore::Accessibility::screenChanged):
(WebCore::Accessibility::elementsChanged):
(WebCore::Accessibility::screenReader):
* accessibility/Accessibility.h: Added.
(WebCore::Accessibility::create):
* accessibility/Accessibility.idl: Added.
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isScreenReaderRunning):
(WebCore::AccessibilityObject::screenReaderFocusedElement):
(WebCore::AccessibilityObject::screenReaderVersion):
* accessibility/ScreenReader.cpp: Added.
(WebCore::ScreenReader::ScreenReader):
(WebCore::ScreenReader::~ScreenReader):
(WebCore::ScreenReader::disconnectFrame):
(WebCore::ScreenReader::active):
(WebCore::ScreenReader::activeElement):
(WebCore::ScreenReader::version):
* accessibility/ScreenReader.h: Added.
(WebCore::ScreenReader::create):
* accessibility/ScreenReader.idl: Added.
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
* accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::AccessibilityObject::isScreenReaderRunning):
(WebCore::AccessibilityObject::screenReaderFocusedElement):
(WebCore::AccessibilityObject::screenReaderVersion):
* page/Navigator.cpp:
(WebCore::Navigator::disconnectFrame):
(WebCore::Navigator::accessibility):
* page/Navigator.h:
* page/Navigator.idl:

LayoutTests:

* platform/mac/accessibility/js-accessibility-expected.txt: Added.
* platform/mac/accessibility/js-accessibility.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64471 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 17:07:34 +0000 (17:07 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] DOM listeners get wrong keycodes for some keys
        https://bugs.webkit.org/show_bug.cgi?id=35170

        Modify some existing tests to test the generate key code of
        the keypad insert and delete keys as well as the print screen key.

        * fast/events/keydown-numpad-keys-expected.txt: Update expectations.
        * fast/events/script-tests/keydown-numpad-keys.js: Add test for keypad insert and delete.
        * fast/events/special-key-events-in-input-text-expected.txt: Update expectations.
        * fast/events/special-key-events-in-input-text.html: Add test for print screen.
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] DOM listeners get wrong keycodes for some keys
        https://bugs.webkit.org/show_bug.cgi?id=35170

        Emit the proper DOM keyCode for the print screen, keypad insert,
        and keypad delete keys.

        * platform/gtk/KeyEventGtk.cpp:
        (WebCore::windowsKeyCodeForKeyEvent): Fix mapping between GDK key codes
        and Windows key codes.
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] DOM listeners get wrong keycodes for some keys
        https://bugs.webkit.org/show_bug.cgi?id=35170

        Add support to all event senders for simulating keypad insert
        and print screen keys.

        * DumpRenderTree/chromium/EventSender.cpp:
        (EventSender::keyDown): Add support for generating keypad insert and print screen.
        * DumpRenderTree/gtk/EventSender.cpp:
        (keyDownCallback): Ditto.
        * DumpRenderTree/mac/EventSendingController.mm:
        (-[EventSendingController keyDown:withModifiers:withLocation:]): Ditto.
        * DumpRenderTree/qt/EventSenderQt.cpp:
        (EventSender::keyDown): Ditto.
        * DumpRenderTree/win/EventSender.cpp:
        (keyDownCallback): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 16:59:37 +0000 (16:59 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        Build fix for building against development versions of GTK+. GTK 2.22
        has not yet been released, so these function definitions must be conditionalized
        on the development version.

        * DumpRenderTree/gtk/EventSender.cpp: Fix GTK+ 2.21 build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 Aug 2010 16:48:04 +0000 (16:48 +0000)]
2010-08-02  Martin Robinson  <mrobinson@igalia.com>

        [GTK] r64379 broke two tests
        https://bugs.webkit.org/show_bug.cgi?id=43361

        Re-baseline these tests after r64379.

        * platform/gtk/svg/custom/massive-coordinates-expected.txt: Added.
        * platform/gtk/svg/custom/pattern-excessive-malloc-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Mon, 2 Aug 2010 16:45:38 +0000 (16:45 +0000)]
2010-08-02  Dirk Schulze  <krit@webkit.org>

        Unreviewed sort of XCode project file.

        * WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 2 Aug 2010 16:26:03 +0000 (16:26 +0000)]
2010-08-02  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        [chromium] use ChromiumDriver on Linux when running webkit tests
        https://bugs.webkit.org/show_bug.cgi?id=43273

        * Scripts/webkitpy/layout_tests/port/chromium.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kristian Monsen <kristianm@google.com>
commit-queue@webkit.org [Mon, 2 Aug 2010 16:17:56 +0000 (16:17 +0000)]
2010-08-02  Kristian Monsen  <kristianm@google.com>

        Reviewed by Steve Block.

        Compile fix for Android, adding guards around filter specific code.
        https://bugs.webkit.org/show_bug.cgi?id=43338
        This CL introduced the code:
        http://trac.webkit.org/changeset/64196

        Compile fix only, no new tests.

        * rendering/SVGResourcesCycleSolver.cpp:
        (WebCore::SVGResourcesCycleSolver::breakCycle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kristian Monsen <kristianm@google.com>
commit-queue@webkit.org [Mon, 2 Aug 2010 16:05:17 +0000 (16:05 +0000)]
2010-08-02  Kristian Monsen  <kristianm@google.com>

        Reviewed by Steve Block.

        Compile fix for Android, guard inspector code with ENABLE(INSPECTOR).
        https://bugs.webkit.org/show_bug.cgi?id=43345
        Code introduced in this CL:
        http://trac.webkit.org/changeset/63891

        No new tests, just a compile fix.

        * bindings/v8/ScriptValue.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 2 Aug 2010 15:10:06 +0000 (15:10 +0000)]
2010-08-02  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Always initialize GTK
        https://bugs.webkit.org/show_bug.cgi?id=43327

        * WebKit.gyp: Add GTK dependency for DRT.
2010-08-02  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Always initialize GTK
        https://bugs.webkit.org/show_bug.cgi?id=43327

        Call gtk_init() in order to fix plugin test crash.

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main): Pass argc/argv to platformInit().
        * DumpRenderTree/chromium/TestShell.h:
        * DumpRenderTree/chromium/TestShellGtk.cpp:
        (platformInit): Update parameters, call gtk_init().
        * DumpRenderTree/chromium/TestShellMac.mm:
        (platformInit): Update parameters.
        * DumpRenderTree/chromium/TestShellWin.cpp:
        (platformInit): Update parameters.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 2 Aug 2010 14:53:46 +0000 (14:53 +0000)]
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * GNUmakefile.am:
        * WebCore.exp.in:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * loader/EmptyClients.h:
        * page/Chrome.cpp:
        * page/Chrome.h:
        * page/ChromeClient.h:
        * platform/PopupMenu.h:
        (WebCore::PopupMenu::create):
        (WebCore::PopupMenu::disconnectClient):
        (WebCore::PopupMenu::client):
        (WebCore::PopupMenu::scrollbar):
        (WebCore::PopupMenu::itemHeight):
        (WebCore::PopupMenu::windowRect):
        (WebCore::PopupMenu::popupHandle):
        (WebCore::PopupMenu::setWasClicked):
        (WebCore::PopupMenu::wasClicked):
        (WebCore::PopupMenu::setScrollOffset):
        (WebCore::PopupMenu::scrollOffset):
        (WebCore::PopupMenu::wheelDelta):
        (WebCore::PopupMenu::scrollbarCapturingMouse):
        (WebCore::PopupMenu::setScrollbarCapturingMouse):
        (WebCore::PopupMenu::isActive):
        (WebCore::PopupMenu::scrollbarCornerPresent):
        * platform/SearchPopupMenu.h:
        (WebCore::SearchPopupMenu::create):
        * platform/brew/PopupMenuBrew.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/brew/PopupMenuBrew.h: Removed.
        * platform/brew/SearchPopupMenuBrew.cpp:
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::enabled):
        * platform/brew/SearchPopupMenuBrew.h: Removed.
        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/chromium/PopupMenuChromium.h:
        * platform/chromium/SearchPopupMenuChromium.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::enabled):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        * platform/chromium/SearchPopupMenuChromium.h: Removed.
        * platform/efl/PopupMenuEfl.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/efl/PopupMenuEfl.h: Removed.
        * platform/efl/SearchPopupMenuEfl.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::enabled):
        * platform/efl/SearchPopupMenuEfl.h: Removed.
        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        (WebCore::PopupMenu::menuItemActivated):
        (WebCore::PopupMenu::menuUnmapped):
        (WebCore::PopupMenu::menuPositionFunction):
        (WebCore::PopupMenu::menuRemoveItem):
        * platform/gtk/PopupMenuGtk.h: Removed.
        * platform/gtk/SearchPopupMenuGtk.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::enabled):
        * platform/gtk/SearchPopupMenuGtk.h: Removed.
        * platform/haiku/PopupMenuHaiku.cpp:
        (WebCore::PopupMenuHaiku::PopupMenuHaiku):
        (WebCore::PopupMenuHaiku::~PopupMenuHaiku):
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/haiku/PopupMenuHaiku.h: Removed.
        * platform/haiku/SearchPopupMenuHaiku.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::enabled):
        * platform/haiku/SearchPopupMenuHaiku.h: Removed.
        * platform/mac/PopupMenuMac.h: Removed.
        * platform/mac/PopupMenuMac.mm:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::clear):
        (WebCore::PopupMenu::populate):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/mac/SearchPopupMenuMac.h: Removed.
        * platform/mac/SearchPopupMenuMac.mm:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::enabled):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        * platform/qt/PopupMenuQt.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/qt/PopupMenuQt.h: Removed.
        * platform/qt/QtAbstractWebPopup.h:
        * platform/qt/SearchPopupMenuQt.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::enabled):
        * platform/qt/SearchPopupMenuQt.h: Removed.
        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::popupClassName):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::calculatePositionAndSize):
        (WebCore::PopupMenu::setFocusedIndex):
        (WebCore::PopupMenu::visibleItems):
        (WebCore::PopupMenu::listIndexAtPoint):
        (WebCore::PopupMenu::focusedIndex):
        (WebCore::PopupMenu::focusFirst):
        (WebCore::PopupMenu::focusLast):
        (WebCore::PopupMenu::down):
        (WebCore::PopupMenu::up):
        (WebCore::PopupMenu::invalidateItem):
        (WebCore::PopupMenu::clientRect):
        (WebCore::PopupMenu::incrementWheelDelta):
        (WebCore::PopupMenu::reduceWheelDelta):
        (WebCore::PopupMenu::scrollToRevealSelection):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        (WebCore::PopupMenu::paint):
        (WebCore::PopupMenu::valueChanged):
        (WebCore::PopupMenu::invalidateScrollbarRect):
        (WebCore::PopupMenu::registerClass):
        (WebCore::PopupMenu::PopupMenuWndProc):
        (WebCore::PopupMenu::wndProc):
        * platform/win/PopupMenuWin.h: Removed.
        * platform/win/SearchPopupMenuWin.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::enabled):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        * platform/win/SearchPopupMenuWin.h: Removed.
        * platform/wx/PopupMenuWx.cpp:
        (WebCore::PopupMenu::PopupMenu):
        (WebCore::PopupMenu::~PopupMenu):
        (WebCore::PopupMenu::show):
        (WebCore::PopupMenu::OnMenuItemSelected):
        (WebCore::PopupMenu::hide):
        (WebCore::PopupMenu::updateFromElement):
        (WebCore::PopupMenu::itemWritingDirectionIsNatural):
        * platform/wx/PopupMenuWx.h: Removed.
        * platform/wx/SearchPopupMenuWx.cpp:
        (WebCore::SearchPopupMenu::SearchPopupMenu):
        (WebCore::SearchPopupMenu::saveRecentSearches):
        (WebCore::SearchPopupMenu::loadRecentSearches):
        (WebCore::SearchPopupMenu::enabled):
        * platform/wx/SearchPopupMenuWx.h: Removed.
        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::adjustInnerStyle):
        (WebCore::RenderMenuList::showPopup):
        * rendering/RenderMenuList.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
        (WebCore::RenderTextControlSingleLine::addSearchResult):
        (WebCore::RenderTextControlSingleLine::showPopup):
        (WebCore::RenderTextControlSingleLine::hidePopup):
        (WebCore::RenderTextControlSingleLine::updateFromElement):
        (WebCore::RenderTextControlSingleLine::valueChanged):
        * rendering/RenderTextControlSingleLine.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * src/ChromeClientImpl.cpp:
        * src/ChromeClientImpl.h:
        * tests/PopupMenuTest.cpp:
        (WebKit::SelectPopupMenuTest::SetUp):
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/ChromeClientEfl.cpp:
        * WebCoreSupport/ChromeClientEfl.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/ChromeClientGtk.cpp:
        * WebCoreSupport/ChromeClientGtk.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/ChromeClientHaiku.cpp:
        * WebCoreSupport/ChromeClientHaiku.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/WebChromeClient.h:
        * WebCoreSupport/WebChromeClient.mm:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/ChromeClientQt.cpp:
        * WebCoreSupport/ChromeClientQt.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebCoreSupport/WebChromeClient.cpp:
        * WebCoreSupport/WebChromeClient.h:
        * WebView.cpp:
        (WebView::mouseWheel):
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebKitSupport/ChromeClientWx.cpp:
        * WebKitSupport/ChromeClientWx.h:
2010-08-02  Jeremy Orlow  <jorlow@chromium.org>

        Speculative revert of 64425 due to Chromium instability
        https://bugs.webkit.org/show_bug.cgi?id=43347

        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        * WebProcess/WebCoreSupport/WebChromeClient.h:
        * WebProcess/WebCoreSupport/WebPopupMenu.cpp: Removed.
        * WebProcess/WebCoreSupport/WebPopupMenu.h: Removed.
        * WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp: Removed.
        * WebProcess/WebCoreSupport/WebSearchPopupMenu.h: Removed.
        * win/WebKit2.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64462 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-08-02 Markus Goetz <Markus.Goetz@nokia.com>
commit-queue@webkit.org [Mon, 2 Aug 2010 14:48:07 +0000 (14:48 +0000)]
2010-08-02  Markus Goetz  <Markus.Goetz@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Do not link to SharedBufferCF.cpp
        The Qt port does not need this file.
        We plan to implement the platformData()
        for SharedBuffer at some point soon.
        https://bugs.webkit.org/show_bug.cgi?id=43242

        * WebCore.pro:
        * platform/SharedBuffer.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64461 268f45cc-cd09-0410-ab3c-d52691b4dbfc