WebKit-https.git
9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 10:20:13 +0000 (10:20 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73228.
        http://trac.webkit.org/changeset/73228
        https://bugs.webkit.org/show_bug.cgi?id=50448

        r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
        (Requested by yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

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

9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 10:03:44 +0000 (10:03 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73231.
        http://trac.webkit.org/changeset/73231
        https://bugs.webkit.org/show_bug.cgi?id=50443

        r73211 seemed to broke Chromium's "Webkit Win (dbg)(2)" bot.
        (Requested by yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 3 Dec 2010 09:44:21 +0000 (09:44 +0000)]
2010-12-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Finish splitting DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for the remaining SVGAnimated* types
        https://bugs.webkit.org/show_bug.cgi?id=50440

        Continuing the work on bug 42025: Introduce (DECLARE|DEFINE)_ANIMATED_(ANGLE|BOOLEAN|INTEGER|PRESERVEASPECTRATIO|RECT).
        The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.

        No functional changes, thus no new tests.

        * svg/SVGAElement.cpp:
        * svg/SVGAElement.h:
        * svg/SVGAnimatedAngle.h:
        * svg/SVGAnimatedBoolean.h:
        * svg/SVGAnimatedInteger.h:
        * svg/SVGAnimatedPreserveAspectRatio.h:
        * svg/SVGAnimatedRect.h:
        * svg/SVGAnimationElement.cpp:
        * svg/SVGAnimationElement.h:
        (WebCore::SVGAnimationElement::calculateDistance):
        (WebCore::SVGAnimationElement::animationPath):
        * svg/SVGCircleElement.cpp:
        * svg/SVGCircleElement.h:
        * svg/SVGClipPathElement.cpp:
        * svg/SVGClipPathElement.h:
        * svg/SVGCursorElement.cpp:
        * svg/SVGCursorElement.h:
        * svg/SVGDefsElement.cpp:
        * svg/SVGDefsElement.h:
        * svg/SVGEllipseElement.cpp:
        * svg/SVGEllipseElement.h:
        * svg/SVGFEConvolveMatrixElement.cpp:
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEImageElement.cpp:
        * svg/SVGFEImageElement.h:
        * svg/SVGFETurbulenceElement.cpp:
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGFilterElement.cpp:
        * svg/SVGFilterElement.h:
        * svg/SVGFilterPrimitiveStandardAttributes.h:
        * svg/SVGFontElement.cpp:
        (WebCore::SVGFontElement::firstMissingGlyphElement):
        (WebCore::SVGFontElement::ensureGlyphCache):
        * svg/SVGFontElement.h:
        * svg/SVGForeignObjectElement.cpp:
        * svg/SVGForeignObjectElement.h:
        * svg/SVGGElement.cpp:
        * svg/SVGGElement.h:
        (WebCore::SVGGElement::isShadowTreeContainerElement):
        (WebCore::SVGGElement::isValid):
        * svg/SVGGradientElement.cpp:
        * svg/SVGGradientElement.h:
        * svg/SVGImageElement.cpp:
        * svg/SVGImageElement.h:
        * svg/SVGLineElement.cpp:
        * svg/SVGLineElement.h:
        * svg/SVGLinearGradientElement.h:
        * svg/SVGMPathElement.cpp:
        * svg/SVGMPathElement.h:
        * svg/SVGMarkerElement.cpp:
        * svg/SVGMarkerElement.h:
        * svg/SVGMaskElement.cpp:
        * svg/SVGMaskElement.h:
        * svg/SVGPathElement.cpp:
        * svg/SVGPathElement.h:
        * svg/SVGPatternElement.cpp:
        * svg/SVGPatternElement.h:
        * svg/SVGPolyElement.cpp:
        * svg/SVGPolyElement.h:
        * svg/SVGRadialGradientElement.h:
        * svg/SVGRectElement.cpp:
        * svg/SVGRectElement.h:
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::contentScriptType):
        (WebCore::SVGSVGElement::contentStyleType):
        (WebCore::SVGSVGElement::parseMappedAttribute):
        * svg/SVGSVGElement.h:
        * svg/SVGScriptElement.cpp:
        * svg/SVGScriptElement.h:
        * svg/SVGSwitchElement.cpp:
        * svg/SVGSwitchElement.h:
        (WebCore::SVGSwitchElement::isValid):
        * svg/SVGSymbolElement.cpp:
        * svg/SVGSymbolElement.h:
        (WebCore::SVGSymbolElement::rendererIsNeeded):
        * svg/SVGTextContentElement.cpp:
        * svg/SVGTextContentElement.h:
        * svg/SVGUseElement.cpp:
        * svg/SVGUseElement.h:
        * svg/SVGViewElement.cpp:
        * svg/SVGViewElement.h:
        (WebCore::SVGViewElement::viewTarget):
        (WebCore::SVGViewElement::rendererIsNeeded):
        * svg/SVGViewSpec.cpp:
        * svg/SVGViewSpec.h:
        (WebCore::SVGViewSpec::transform):
        (WebCore::SVGViewSpec::viewTargetString):
        (WebCore::SVGViewSpec::contextElement):
        * svg/properties/SVGAnimatedPropertyMacros.h:

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 09:24:08 +0000 (09:24 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 3 Dec 2010 09:11:08 +0000 (09:11 +0000)]
2010-12-03  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping failing media test on GTK.

        * platform/gtk/Skipped: Skip media/controls-drag-timebar.html

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 09:07:35 +0000 (09:07 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 08:53:41 +0000 (08:53 +0000)]
2010-12-03  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by Darin Fisher.

        [chromium] PNG encoder leaks memory on png_write_row errors.
        https://bugs.webkit.org/show_bug.cgi?id=50439

        Move the creation of needed C++ objects before the setjmp() point so
        those objects have their destructors called if libpng errors invoke
        the setjmp() return path.

        Other minor cleanup: use the skia bitmap locker class, and remove the
        PNGDestroyer class - instead directly call png_destroy_write_struct()
        at each of the encodeImpl() return points.

        No change in behaviour, so no new tests.

        * platform/image-encoders/skia/PNGImageEncoder.cpp:
        (WebCore::encodeImpl):
        (WebCore::PNGImageEncoder::encode):

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

9 years ago2010-12-02 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 3 Dec 2010 08:39:04 +0000 (08:39 +0000)]
2010-12-02  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        Theme not updated when MediaPlayer m_private engine changes
        https://bugs.webkit.org/show_bug.cgi?id=50228

        Trigger a new rendering of the media element when the private
        media-player backend is updated.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated):
        * html/HTMLMediaElement.h:
        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::MediaPlayer):
        (WebCore::MediaPlayer::load):
        * platform/graphics/MediaPlayer.h:
        (WebCore::MediaPlayerClient::mediaPlayerEngineUpdated):

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

9 years ago2010-12-03 David Levin <levin@chromium.org>
levin@chromium.org [Fri, 3 Dec 2010 08:32:56 +0000 (08:32 +0000)]
2010-12-03  David Levin  <levin@chromium.org>

        Reviewed by Shinichiro Hamaji.

        check-webkit-style: false positive reported for #if macro
        https://bugs.webkit.org/show_bug.cgi?id=48242

        * Scripts/webkitpy/style/checkers/cpp.py: Adjusted check to avoid
          all preprocessor commands.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added test.

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

9 years ago2010-12-03 Yonathan Randolph <yonathan@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 08:12:10 +0000 (08:12 +0000)]
2010-12-03  Yonathan Randolph  <yonathan@gmail.com>

        Reviewed by Alexey Proskuryakov.

        XPath lexer misinterprets expression starting with "div".
        https://bugs.webkit.org/show_bug.cgi?id=50366

        * fast/xpath/ambiguous-operators-expected.txt: Added.
        * fast/xpath/ambiguous-operators.html: Added.
2010-12-03  Yonathan Randolph  <yonathan@gmail.com>

        Reviewed by Alexey Proskuryakov.

        XPath lexer misinterprets expression starting with "div".
        https://bugs.webkit.org/show_bug.cgi?id=50366

        * xml/XPathParser.cpp:
        * xml/XPathParser.h:
        (WebCore::XPath::Parser::isOperatorContext): removed (renamed)
        (WebCore::XPath::Parser::isBinaryOperatorContext): added

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

9 years ago2010-12-02 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Fri, 3 Dec 2010 08:08:46 +0000 (08:08 +0000)]
2010-12-02  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Alexey Proskuryakov.

        CSS 2.1 failure: at-import-*
        https://bugs.webkit.org/show_bug.cgi?id=47153

        Fix at-import-010.htm by only setting m_allowImportRules
        to false when creating valid style or page rules.

         Test: css2.1/t040105-import-10-b.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::createStyleRule):

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

9 years ago2010-12-02 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Fri, 3 Dec 2010 07:44:47 +0000 (07:44 +0000)]
2010-12-02  Aaron Boodman  <aa@chromium.org>

        Reviewed by David Hyatt.

        Reduce the number of cases where we end up with a stale value for
        minimumPreferredLogicalWidth(). This isn't a complete fix, but fixes a
        large number of cases.

        RenderObject::minimumPreferredLogicalWidth() sometimes reports wrong value.
        https://bugs.webkit.org/show_bug.cgi?id=50119

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::styleDidChange):

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

9 years ago2010-12-02 Gregg Tavares <gman@google.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 07:25:10 +0000 (07:25 +0000)]
2010-12-02  Gregg Tavares  <gman@google.com>

        Reviewed by David Levin.

        Need to initialize destination variables before calling GL
        https://bugs.webkit.org/show_bug.cgi?id=50048

        No new tests because no change in functionality.

        * html/canvas/WebGLFramebuffer.cpp:
        (WebCore::WebGLFramebuffer::initializeRenderbuffers):
        * html/canvas/WebGLProgram.cpp:
        (WebCore::WebGLProgram::cacheActiveAttribLocations):
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getAttachedShaders):
        (WebCore::WebGLRenderingContext::getBufferParameter):
        (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
        (WebCore::WebGLRenderingContext::getBooleanParameter):
        (WebCore::WebGLRenderingContext::getFloatParameter):
        (WebCore::WebGLRenderingContext::getLongParameter):
        (WebCore::WebGLRenderingContext::getUnsignedLongParameter):
        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::loadShader):
        (WebCore::LayerChromium::createShaderProgram):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::reset):
        * platform/graphics/gpu/Shader.cpp:
        (WebCore::Shader::loadProgram):

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

9 years ago2010-12-02 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
commit-queue@webkit.org [Fri, 3 Dec 2010 07:05:49 +0000 (07:05 +0000)]
2010-12-02  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Eric Seidel.

        [EFL] Fails to build with non-system cairo
        https://bugs.webkit.org/show_bug.cgi?id=50395

        Do not add 'cairo' as a suffix for the paths provided by
        pkgconfig. The paths provided by pkgconfig already include it.

        * cmake/FindCairo.cmake:

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

9 years ago2010-12-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Dec 2010 06:49:09 +0000 (06:49 +0000)]
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Enable Web Timing for Qt
        https://bugs.webkit.org/show_bug.cgi?id=42433

        * fast/dom/webtiming-document-open-expected.txt:
          Add an extra line to the expected results.

        * platform/qt/Skipped: Enable Web Timing tests.

        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
          Add webkitPerformance property.
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Enable Web Timing for Qt
        https://bugs.webkit.org/show_bug.cgi?id=42433

        * features.pri: Enable Web Timing for trunk (but not yet for
          production)

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

9 years ago2010-12-02 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 3 Dec 2010 06:15:37 +0000 (06:15 +0000)]
2010-12-02  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Update the EWSTools scripts to use modern-style git repos
        https://bugs.webkit.org/show_bug.cgi?id=50402

        * EWSTools/create-webkit-git:
        * EWSTools/start-commit-queue.sh:
        * EWSTools/start-queue.sh:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 05:34:29 +0000 (05:34 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Revert Chromium test expectations updates at r73234 and r73232.
        Tests added in these changes are no longer failing.

        * platform/chromium/test_expectations.txt:

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

9 years agoUpdate bindings test results with new GObject results.
aestes@apple.com [Fri, 3 Dec 2010 05:21:57 +0000 (05:21 +0000)]
Update bindings test results with new GObject results.

Rubber-stamped by Mark Rowe.

* bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(WebKit::kit):
(webkit_dom_test_obj_obj_method):
(webkit_dom_test_obj_obj_method_with_args):
(webkit_dom_test_obj_method_that_requires_all_args):
(webkit_dom_test_obj_method_that_requires_all_args_and_throws):
(webkit_dom_test_obj_with_script_state_obj):
(webkit_dom_test_obj_with_script_state_obj_exception):
(webkit_dom_test_obj_get_read_only_test_obj_attr):
(webkit_dom_test_obj_get_test_obj_attr):
(webkit_dom_test_obj_get_xml_obj_attr):
* bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:59:38 +0000 (04:59 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Revert r73217 and r73227 because of continued bustage.

        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::nativeLayer):
        * platform/graphics/ca/PlatformCAAnimation.h: Removed.
        * platform/graphics/ca/PlatformCALayer.h: Removed.
        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Removed.
        * platform/graphics/ca/mac/PlatformCALayerMac.mm: Removed.
        * platform/graphics/chromium/GraphicsLayerChromium.cpp:
        (WebCore::GraphicsLayerChromium::nativeLayer):
        * platform/graphics/chromium/GraphicsLayerChromium.h:
        * platform/graphics/mac/GraphicsLayerMac.h: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.h.
        (WebCore::GraphicsLayerMac::hasContentsLayer):
        (WebCore::GraphicsLayerMac::primaryLayer):
        (WebCore::GraphicsLayerMac::isReplicatedRootClone):
        (WebCore::GraphicsLayerMac::primaryLayerClones):
        (WebCore::GraphicsLayerMac::animationIsRunning):
        (WebCore::GraphicsLayerMac::contentsLayer):
        (WebCore::GraphicsLayerMac::ReplicaState::ReplicaState):
        (WebCore::GraphicsLayerMac::ReplicaState::push):
        (WebCore::GraphicsLayerMac::ReplicaState::setBranchType):
        (WebCore::GraphicsLayerMac::ReplicaState::pop):
        (WebCore::GraphicsLayerMac::ReplicaState::depth):
        (WebCore::GraphicsLayerMac::ReplicaState::replicaDepth):
        (WebCore::GraphicsLayerMac::hasCloneLayers):
        (WebCore::GraphicsLayerMac::LayerPropertyAnimation::LayerPropertyAnimation):
        (WebCore::GraphicsLayerMac::AnimationProcessingAction::AnimationProcessingAction):
        * platform/graphics/mac/GraphicsLayerMac.mm: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp.
        (WebCore::currentTimeToMediaTime):
        (WebCore::mediaTimeToCurrentTime):
        (-[WebAnimationDelegate animationDidStart:]):
        (-[WebAnimationDelegate WebCore::]):
        (-[WebAnimationDelegate setLayer:WebCore::]):
        (WebCore::copyTransform):
        (WebCore::getTransformFunctionValue):
        (WebCore::getValueFunctionNameForTransformOperation):
        (WebCore::propertyIdToString):
        (WebCore::animationIdentifier):
        (WebCore::getCAMediaTimingFunction):
        (WebCore::setLayerBorderColor):
        (WebCore::clearBorderColor):
        (WebCore::setLayerBackgroundColor):
        (WebCore::clearLayerBackgroundColor):
        (WebCore::safeSetSublayers):
        (WebCore::caValueFunctionSupported):
        (WebCore::forceSoftwareAnimation):
        (WebCore::nullActionsDictionary):
        (WebCore::animationHasStepsTimingFunction):
        (WebCore::GraphicsLayer::create):
        (WebCore::GraphicsLayerMac::GraphicsLayerMac):
        (WebCore::GraphicsLayerMac::~GraphicsLayerMac):
        (WebCore::GraphicsLayerMac::setName):
        (WebCore::GraphicsLayerMac::nativeLayer):
        (WebCore::GraphicsLayerMac::setChildren):
        (WebCore::GraphicsLayerMac::addChild):
        (WebCore::GraphicsLayerMac::addChildAtIndex):
        (WebCore::GraphicsLayerMac::addChildBelow):
        (WebCore::GraphicsLayerMac::addChildAbove):
        (WebCore::GraphicsLayerMac::replaceChild):
        (WebCore::GraphicsLayerMac::removeFromParent):
        (WebCore::GraphicsLayerMac::setMaskLayer):
        (WebCore::GraphicsLayerMac::setReplicatedLayer):
        (WebCore::GraphicsLayerMac::setReplicatedByLayer):
        (WebCore::GraphicsLayerMac::setPosition):
        (WebCore::GraphicsLayerMac::setAnchorPoint):
        (WebCore::GraphicsLayerMac::setSize):
        (WebCore::GraphicsLayerMac::setTransform):
        (WebCore::GraphicsLayerMac::setChildrenTransform):
        (WebCore::GraphicsLayerMac::moveOrCopyLayerAnimation):
        (WebCore::GraphicsLayerMac::moveOrCopyAnimationsForProperty):
        (WebCore::GraphicsLayerMac::setPreserves3D):
        (WebCore::GraphicsLayerMac::setMasksToBounds):
        (WebCore::GraphicsLayerMac::setDrawsContent):
        (WebCore::GraphicsLayerMac::setBackgroundColor):
        (WebCore::GraphicsLayerMac::clearBackgroundColor):
        (WebCore::GraphicsLayerMac::setContentsOpaque):
        (WebCore::GraphicsLayerMac::setBackfaceVisibility):
        (WebCore::GraphicsLayerMac::setOpacity):
        (WebCore::GraphicsLayerMac::setNeedsDisplay):
        (WebCore::GraphicsLayerMac::setNeedsDisplayInRect):
        (WebCore::GraphicsLayerMac::setContentsNeedsDisplay):
        (WebCore::GraphicsLayerMac::setContentsRect):
        (WebCore::GraphicsLayerMac::addAnimation):
        (WebCore::GraphicsLayerMac::pauseAnimation):
        (WebCore::GraphicsLayerMac::removeAnimation):
        (WebCore::GraphicsLayerMac::animationDidStart):
        (WebCore::GraphicsLayerMac::setContentsToImage):
        (WebCore::GraphicsLayerMac::setContentsToMedia):
        (WebCore::GraphicsLayerMac::didDisplay):
        (WebCore::GraphicsLayerMac::syncCompositingState):
        (WebCore::GraphicsLayerMac::syncCompositingStateForThisLayerOnly):
        (WebCore::GraphicsLayerMac::recursiveCommitChanges):
        (WebCore::GraphicsLayerMac::commitLayerChangesBeforeSublayers):
        (WebCore::GraphicsLayerMac::commitLayerChangesAfterSublayers):
        (WebCore::GraphicsLayerMac::updateLayerNames):
        (WebCore::GraphicsLayerMac::updateSublayerList):
        (WebCore::GraphicsLayerMac::updateLayerPosition):
        (WebCore::GraphicsLayerMac::updateLayerSize):
        (WebCore::GraphicsLayerMac::updateAnchorPoint):
        (WebCore::GraphicsLayerMac::updateTransform):
        (WebCore::GraphicsLayerMac::updateChildrenTransform):
        (WebCore::GraphicsLayerMac::updateMasksToBounds):
        (WebCore::GraphicsLayerMac::updateContentsOpaque):
        (WebCore::GraphicsLayerMac::updateBackfaceVisibility):
        (WebCore::GraphicsLayerMac::updateStructuralLayer):
        (WebCore::GraphicsLayerMac::ensureStructuralLayer):
        (WebCore::GraphicsLayerMac::structuralLayerPurpose):
        (WebCore::GraphicsLayerMac::updateLayerDrawsContent):
        (WebCore::GraphicsLayerMac::updateLayerBackgroundColor):
        (WebCore::GraphicsLayerMac::updateContentsImage):
        (WebCore::GraphicsLayerMac::updateContentsMediaLayer):
        (WebCore::GraphicsLayerMac::updateContentsCanvasLayer):
        (WebCore::GraphicsLayerMac::updateContentsRect):
        (WebCore::GraphicsLayerMac::updateMaskLayer):
        (WebCore::GraphicsLayerMac::updateReplicatedLayers):
        (WebCore::GraphicsLayerMac::ReplicaState::cloneID):
        (WebCore::GraphicsLayerMac::replicatedLayerRoot):
        (WebCore::GraphicsLayerMac::updateLayerAnimations):
        (WebCore::GraphicsLayerMac::setCAAnimationOnLayer):
        (WebCore::bug7311367Workaround):
        (WebCore::GraphicsLayerMac::removeCAAnimationFromLayer):
        (WebCore::copyAnimationProperties):
        (WebCore::GraphicsLayerMac::pauseCAAnimationOnLayer):
        (WebCore::GraphicsLayerMac::setContentsToCanvas):
        (WebCore::GraphicsLayerMac::repaintLayerDirtyRects):
        (WebCore::GraphicsLayerMac::updateContentsNeedsDisplay):
        (WebCore::GraphicsLayerMac::createAnimationFromKeyframes):
        (WebCore::GraphicsLayerMac::createTransformAnimationsFromKeyframes):
        (WebCore::GraphicsLayerMac::createBasicAnimation):
        (WebCore::GraphicsLayerMac::createKeyframeAnimation):
        (WebCore::GraphicsLayerMac::setupAnimation):
        (WebCore::GraphicsLayerMac::timingFunctionForAnimationValue):
        (WebCore::GraphicsLayerMac::setAnimationEndpoints):
        (WebCore::GraphicsLayerMac::setAnimationKeyframes):
        (WebCore::GraphicsLayerMac::setTransformAnimationEndpoints):
        (WebCore::GraphicsLayerMac::setTransformAnimationKeyframes):
        (WebCore::GraphicsLayerMac::suspendAnimations):
        (WebCore::GraphicsLayerMac::resumeAnimations):
        (WebCore::GraphicsLayerMac::hostLayerForSublayers):
        (WebCore::GraphicsLayerMac::layerForSuperlayer):
        (WebCore::GraphicsLayerMac::animatedLayer):
        (WebCore::GraphicsLayerMac::animatedLayerClones):
        (WebCore::GraphicsLayerMac::platformLayer):
        (WebCore::GraphicsLayerMac::setDebugBackgroundColor):
        (WebCore::GraphicsLayerMac::setDebugBorder):
        (WebCore::GraphicsLayerMac::constrainedSize):
        (WebCore::GraphicsLayerMac::requiresTiledLayer):
        (WebCore::GraphicsLayerMac::swapFromOrToTiledLayer):
        (WebCore::GraphicsLayerMac::defaultContentsOrientation):
        (WebCore::GraphicsLayerMac::updateContentsTransform):
        (WebCore::GraphicsLayerMac::setupContentsLayer):
        (WebCore::GraphicsLayerMac::findOrMakeClone):
        (WebCore::GraphicsLayerMac::ensureCloneLayers):
        (WebCore::GraphicsLayerMac::removeCloneLayers):
        (WebCore::GraphicsLayerMac::positionForCloneRootLayer):
        (WebCore::GraphicsLayerMac::propagateLayerChangeToReplicas):
        (WebCore::GraphicsLayerMac::fetchCloneLayers):
        (WebCore::GraphicsLayerMac::cloneLayer):
        (WebCore::GraphicsLayerMac::setOpacityInternal):
        (WebCore::GraphicsLayerMac::updateOpacityOnLayer):
        (WebCore::GraphicsLayerMac::noteSublayersChanged):
        (WebCore::GraphicsLayerMac::noteLayerPropertyChanged):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (-[WebLayer initWithLayer:]):
        (-[WebLayer setNeedsDisplay]):
        (-[WebLayer setNeedsDisplayInRect:]):
        (-[WebLayer display]):
        (-[WebLayer drawInContext:]):
        (-[WebLayer setLayerOwner:]):
        (-[WebLayer layerOwner]):
        * platform/graphics/mac/WebTiledLayer.h:
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer initWithLayer:]):
        (-[WebTiledLayer setNeedsDisplay]):
        (-[WebTiledLayer setNeedsDisplayInRect:]):
        (-[WebTiledLayer display]):
        (-[WebTiledLayer drawInContext:]):
        (-[WebTiledLayer setLayerOwner:]):
        (-[WebTiledLayer layerOwner]):
        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQtImpl::flushChanges):
        (WebCore::GraphicsLayerQt::nativeLayer):
        * platform/graphics/qt/GraphicsLayerQt.h:
        * platform/graphics/win/GraphicsLayerCACF.cpp:
        (WebCore::GraphicsLayerCACF::nativeLayer):
        * platform/graphics/win/GraphicsLayerCACF.h:

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:49:27 +0000 (04:49 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Fix Chromium Linux plugin tests by not logging
        unconditionally from the event handling code.

        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (handleEventX11):

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:46:20 +0000 (04:46 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Move to platform/mac, since the paint call is only made for plugins using QuickDraw or
        CoreGraphics.

        * platform/mac/plugins/testplugin-onnew-onpaint-expected.txt: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint-expected.txt.
        * platform/mac/plugins/testplugin-onnew-onpaint.html: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint.html.

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 04:39:39 +0000 (04:39 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Remove duplicate entries from Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago[chromium] Remove dead code from PNG encoder
jianli@chromium.org [Fri, 3 Dec 2010 04:35:13 +0000 (04:35 +0000)]
[chromium] Remove dead code from PNG encoder
https://bugs.webkit.org/show_bug.cgi?id=50377

Patch by Noel Gordon <noel.gordon@gmail.com> on 2010-12-02
Reviewed by David Levin.

Also webkit style the PNG encoder files.

No change in behaviour, so no new tests.

* platform/image-encoders/skia/PNGImageEncoder.cpp:
(WebCore::encodeImpl):
(WebCore::PNGImageEncoder::encode):
* platform/image-encoders/skia/PNGImageEncoder.h:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 04:06:43 +0000 (04:06 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Dec 2010 03:41:43 +0000 (03:41 +0000)]
2010-12-02  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt multiprocessing - move logic back into run_webkit_tests

        This change moves a bunch of logic that I had put into
        message_broker back into run_webkit_tests, in a slightly
        different format. WorkerMessageBroker needed to become less aware of
        the logic the TestRunner class uses, and more generic.
        Eventually the MessageBroker will only do generic messaging and
        thread/process-pooling, and (almost) all of the
        run-webkit-tests-specific logic will be moved to
        run_webkit_tests.py and dump_render_tree_thread.py.

        The biggest changes are that the Broker can now start a single
        worker, but the responsibility for starting all of them is pushed
        back to the TestRunner (Manager), and the logic for checking if
        the threads are done or wedged is moved back to TestRunner. We
        also remove WorkerMessageBroker.cleanup (not needed) and
        cancel_workers (they have to be cancelled individually).

        The  message_broker is now encapsulated inside
        TestRunner._run_tests(); it only needs to exist while actually
        running the tests.

        Also, delete a bunch of tests in message_broker_unittest that no
        longer make much sense.

        This patch depends on bug 50372.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 03:41:25 +0000 (03:41 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Alexey Proskuryakov.

        An attempt to fix Chromium's clang build.

        Implement (non-EventListener) marquee IDL attributes from HTML5.
        https://bugs.webkit.org/show_bug.cgi?id=49786

        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::initialMarqueeSpeed):

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

9 years ago2010-12-02 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Fri, 3 Dec 2010 02:30:41 +0000 (02:30 +0000)]
2010-12-02  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Fix heap snapshots loading. Loading is now
        conducted by the Profiles panel which prevents accidental
        simultaneous attempts to load the same profile several times in
        parallel.

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

        * inspector/front-end/HeapSnapshotView.js:
        (WebInspector.HeapSnapshotView.prototype._loadProfile):
        (WebInspector.HeapSnapshotView.prototype.processLoadedSnapshot):
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
        (WebInspector.ProfilesPanel.prototype.addHeapSnapshotChunk):
        (WebInspector.ProfilesPanel.prototype.finishHeapSnapshot):

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

9 years ago2010-12-02 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Fri, 3 Dec 2010 02:29:13 +0000 (02:29 +0000)]
2010-12-02  Hayato Ito  <hayato@chromium.org>

        Reviewed by Eric Seidel.

        Refactor test_types's compare_output() method so that it takes a
        TestInput object.

        compare_output() will need additional information included in a TestInput
        object to support reftests. This change is a pre-requirement of that.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

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

9 years ago2010-12-02 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 3 Dec 2010 02:24:27 +0000 (02:24 +0000)]
2010-12-02  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Fix Leopard build broken by http://trac.webkit.org/changeset/73217

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::getTransformFunctionValue):
        (WebCore::GraphicsLayerCA::updateContentsTransform):
        * platform/graphics/ca/PlatformCALayer.h:
        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
        (PlatformCAAnimation::valueFunction):
        (PlatformCAAnimation::setValueFunction):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::PlatformCALayer):
        (PlatformCALayer::anchorPoint):
        (PlatformCALayer::setAnchorPoint):
        (PlatformCALayer::contentsTransform):
        (PlatformCALayer::setContentsTransform):
        (PlatformCALayer::isGeometryFlipped):
        (PlatformCALayer::setGeometryFlipped):
        (PlatformCALayer::setMinificationFilter):
        (PlatformCALayer::setMagnificationFilter):

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 01:42:03 +0000 (01:42 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Anders Carlsson.

        Add the ability to run script on 'new' and 'paint' in the test plugin
        https://bugs.webkit.org/show_bug.cgi?id=50425

        Add "onnew" and "onpaintevent" attributes to the test plugin,
        so that tests can run JS at these times.

        * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
        (pluginAllocate):
        * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (NPP_New):
        (NPP_Destroy):
        (handleEventCarbon):
        (handleEventCocoa):
        (NPP_HandleEvent):

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

9 years agoTry to fix Windows build.
ggaren@apple.com [Fri, 3 Dec 2010 01:30:53 +0000 (01:30 +0000)]
Try to fix Windows build.

* runtime/GCActivityCallback.cpp:
(JSC::DefaultGCActivityCallback::synchronize): Added a non-CF implementation.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 01:26:18 +0000 (01:26 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update bug numbers in chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years agoFixed <rdar://problem/8310571> CrashTracer: 60 crashes in Photo Booth at
ggaren@apple.com [Fri, 3 Dec 2010 01:16:11 +0000 (01:16 +0000)]
Fixed <rdar://problem/8310571> CrashTracer: 60 crashes in Photo Booth at
com.apple.JavaScriptCore: JSC::Heap::markRoots + 746

Reviewed by Gavin Barraclough.

* API/APIShims.h:
(JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock): Call our new
synchronize() function.

* runtime/Collector.cpp:
(JSC::Heap::activityCallback):
* runtime/Collector.h: Added an activityCallback() accessor, for the
call above.

* runtime/GCActivityCallback.h:
(JSC::GCActivityCallback::synchronize):
* runtime/GCActivityCallbackCF.cpp:
(JSC::DefaultGCActivityCallback::DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::~DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::operator()):
(JSC::DefaultGCActivityCallback::synchronize): Track the run loop we're
scheduled in. If we begin/resume execution within a new run loop, reschedule
on it. This prevents a crash when using a lockless context group on
multiple threads -- the crash would happen if the GC timer scheduled on
thread A, then you continued execution on thread B, then the thread A
timer fired.

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

9 years ago2010-12-02 Sam Weinig <sam@webkit.org>
dpranke@chromium.org [Fri, 3 Dec 2010 01:13:59 +0000 (01:13 +0000)]
2010-12-02  Sam Weinig  <sam@webkit.org>

        Fix Qt build.

        * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
        (WTR::PlatformWebView::PlatformWebView):

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

9 years ago2010-12-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Dec 2010 00:38:54 +0000 (00:38 +0000)]
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Csaba Osztrogonác.

        [Qt] Fix compilation with !ENABLE(OFFLINE_WEB_APPLICATIONS) and
        !ENABLE(TILED_BACKING_STORE) for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=50071

        Add appropriate guards. No functional change if guards are set.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::setActualVisibleContentsRect):
        * UIProcess/TiledDrawingAreaProxy.cpp:
        * UIProcess/qt/TiledDrawingAreaProxyQt.cpp:
        * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
        * UIProcess/qt/WebContextQt.cpp:
        (WebKit::WebContext::applicationCacheDirectory):
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::initializeWebProcess):

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

9 years agoFix Qt build.
weinig@apple.com [Fri, 3 Dec 2010 00:38:28 +0000 (00:38 +0000)]
Fix Qt build.

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::PlatformWebView::PlatformWebView):

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

9 years agoWebCore: CSS support for the text-emphasis properties
mitz@apple.com [Fri, 3 Dec 2010 00:36:15 +0000 (00:36 +0000)]
WebCore: CSS support for the text-emphasis properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

Test: fast/css/parsing-text-emphasis.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added text-emphasis-color,
text-emphasis-position and text-emphasis-style. Left the text-emphasis shorthand unsupported.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Parse the properties.
(WebCore::CSSParser::parseTextEmphasisStyle): Added.
* css/CSSParser.h:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added TextEmphasisPosition, TextEmphasisFill
and TextEmphasisMark mappings.
(WebCore::CSSPrimitiveValue::operator TextEmphasisPosition): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisFill): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisMark): Added.
* css/CSSPropertyLonghand.cpp:
(WebCore::initShorthandMap): Added the text-emphasis shorthand.
* css/CSSPropertyNames.in: Added -webkit-text-emphasis, -webkit-text-emphasis-color,
-webkit-text-emphasis-position, and -webkit-text-emphasis-style.
* css/CSSStyleSelector.cpp:
(WebCore::isValidVisitedLinkProperty): Added text-emphasis-color.
(WebCore::CSSStyleSelector::applyProperty): Handle the properties.
* css/CSSValueKeywords.in: Added 'over' and 'under' for text-emphasis-position. Added 'dot',
'double-circle', 'triangle', 'sesame', 'filled' and 'open' for text-emphasis-style.
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::colorIncludingFallback): Handle text-emphasis-color.
(WebCore::RenderStyle::textEmphasisMark): Added. Maps the fake 'auto' value to 'dot' or
'sesame' based on writing direction.
* rendering/style/RenderStyle.h: Added accessors.
(WebCore::InheritedFlags::textEmphasisFill):
(WebCore::InheritedFlags::textEmphasisCustomMark):
(WebCore::InheritedFlags::textEmphasisPosition):
(WebCore::InheritedFlags::setTextEmphasisColor):
(WebCore::InheritedFlags::setTextEmphasisFill):
(WebCore::InheritedFlags::setTextEmphasisMark):
(WebCore::InheritedFlags::setTextEmphasisCustomMark):
(WebCore::InheritedFlags::setTextEmphasisPosition):
(WebCore::InheritedFlags::initialTextEmphasisColor):
(WebCore::InheritedFlags::initialTextEmphasisFill):
(WebCore::InheritedFlags::initialTextEmphasisMark):
(WebCore::InheritedFlags::initialTextEmphasisCustomMark):
(WebCore::InheritedFlags::initialTextEmphasisPosition):
(WebCore::InheritedFlags::textEmphasisColor):
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:

LayoutTests: Test parsing of the text-emphasis CSS properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

* fast/css/parsing-text-emphasis-expected.txt: Added.
* fast/css/parsing-text-emphasis.html: Added.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 00:35:26 +0000 (00:35 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] merge toDataURL-supportedTypes in chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 3 Dec 2010 00:34:37 +0000 (00:34 +0000)]
2010-12-02  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially
        identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls
        with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA
        platform neutral as long as implementations of those two classes are available.
        Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got
        rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer()
        to avoid confusion since both names were used to refer to the same thing.

        This patch is only for Mac. Windows implementation has not changed.

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

9 years agoFix Qt.
weinig@apple.com [Fri, 3 Dec 2010 00:33:46 +0000 (00:33 +0000)]
Fix Qt.

* UIProcess/API/qt/qwkpreferences.cpp:
(QWKPreferencesPrivate::createPreferences):

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

9 years agoWebKit2 Preferences should be held off the PageGroup, not the Context
weinig@apple.com [Fri, 3 Dec 2010 00:30:58 +0000 (00:30 +0000)]
WebKit2 Preferences should be held off the PageGroup, not the Context
https://bugs.webkit.org/show_bug.cgi?id=50414

Reviewed by Anders Carlsson.

WebKit2:

- In addition, this now makes the preference held off the PageGroup have
  the identifier of the PageGroup and autosave to disk (only on the mac
  for now).
- Adds ability to create an arbitrary preference that can be autosaved
  via a new WKPreferencesCreateWithIdentifier function.

* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKContext.h:
Remove preference related code.

* UIProcess/API/C/WKPageGroup.cpp:
(WKPageGroupSetPreferences):
(WKPageGroupGetPreferences):
* UIProcess/API/C/WKPageGroup.h:
Add getter/setter for preferences.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesCreateWithIdentifier):
* UIProcess/API/C/WKPreferences.h:
Add WKPreferencesCreateWithIdentifier and remove WKPreferencesCreateCopy which is
unused.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
* UIProcess/WebContext.h:
Remove preference related code.

* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::WebPageGroup):
(WebKit::WebPageGroup::addPage):
(WebKit::WebPageGroup::removePage):
(WebKit::WebPageGroup::setPreferences):
(WebKit::WebPageGroup::preferences):
(WebKit::WebPageGroup::preferencesDidChange):
* UIProcess/WebPageGroup.h:
Add preference and page tracking.

* UIProcess/WebPageNamespace.cpp:
* UIProcess/WebPageNamespace.h:
Remove preference change notification code.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::~WebPageProxy):
Add/remove self from page group set.

(WebKit::WebPageProxy::preferencesDidChange):
(WebKit::WebPageProxy::creationParameters):
Get preferences from the pageGroup.

* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::WebPreferences):
(WebKit::WebPreferences::addPageGroup):
(WebKit::WebPreferences::removePageGroup):
(WebKit::WebPreferences::update):
* UIProcess/WebPreferences.h:
(WebKit::WebPreferences::create):
Change to track page groups instead of contexts.

* UIProcess/mac/WebPreferencesMac.mm:
(WebKit::makeKey): Add ".WebKit2" prefix for keys.

WebKitTools:

Update for API changes.

* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/TestController.cpp:
(WTR::createOtherPage):
(WTR::TestController::initialize):
(WTR::TestController::resetStateToConsistentValues):
* WebKitTestRunner/TestController.h:
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
* WebKitTestRunner/win/PlatformWebViewWin.cpp:
(WTR::PlatformWebView::PlatformWebView):

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

9 years ago<rdar://problem/8708730> Objects reported as being leaked due to lack of autorelease...
mrowe@apple.com [Fri, 3 Dec 2010 00:30:17 +0000 (00:30 +0000)]
<rdar://problem/8708730> Objects reported as being leaked due to lack of autorelease pool

Reviewed by Beth Dakin.

* Misc/WebNSFileManagerExtras.m:
(setMetaData): Create an autorelease pool for the duration of the thread body.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 00:04:16 +0000 (00:04 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 2 Dec 2010 23:55:31 +0000 (23:55 +0000)]
2010-12-02  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        This change is a bunch of cleanup / refactoring of the file
        below. It moves a bunch of free functions to methods on the
        TestShellThread class, and restructures other methods to be
        closer to the structure we'll need for the multiprocessing
        rewrite.

        It also makes the logic of --run-singly a *lot* easier to follow
        by nestling all of the separate-thread logic into a single
        routine.

        There should be no semantic changes in this patch, just cleanup.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:

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

9 years ago2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 2 Dec 2010 23:49:54 +0000 (23:49 +0000)]
2010-12-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Update ResourceLoaderSet Enumeration
        https://bugs.webkit.org/show_bug.cgi?id=50405

        Use size_t when working with Vectors and when comparing between size_t types.

        * loader/DocumentLoader.cpp:
        (WebCore::cancelAll):
        (WebCore::setAllDefersLoading):

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

9 years agoInteger calculation issues in DataView constructor
jianli@chromium.org [Thu, 2 Dec 2010 23:39:41 +0000 (23:39 +0000)]
Integer calculation issues in DataView constructor
https://bugs.webkit.org/show_bug.cgi?id=50354

Reviewed by Kenneth Russell.

WebCore:

Test: fast/canvas/webgl/data-view-crash.html

* html/canvas/DataView.cpp:
(WebCore::DataView::create):

LayoutTests:

* fast/canvas/webgl/data-view-crash-expected.txt: Added.
* fast/canvas/webgl/data-view-crash.html: Added.

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

9 years ago2010-12-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Dec 2010 23:20:33 +0000 (23:20 +0000)]
2010-12-02  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r73164.
        http://trac.webkit.org/changeset/73164
        https://bugs.webkit.org/show_bug.cgi?id=50359

        broke debugger tests on win

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago* wtf/ASCIICType.h: Fix wrong type from last check-in.
darin@apple.com [Thu, 2 Dec 2010 23:04:40 +0000 (23:04 +0000)]
* wtf/ASCIICType.h: Fix wrong type from last check-in.

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

9 years agoTry to fix certain builds (Qt Windows).
darin@apple.com [Thu, 2 Dec 2010 23:01:08 +0000 (23:01 +0000)]
Try to fix certain builds (Qt Windows).

* wtf/ASCIICType.h: Added an overload for unsigned because in obsolete
versions of ICU, UChar32 can be a typedef for unsigned. Adding this
overload should make us compatible with these old ICUs.

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

9 years ago2010-11-30 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 2 Dec 2010 22:53:47 +0000 (22:53 +0000)]
2010-11-30  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Rebaseline server: add updating of baselines
        https://bugs.webkit.org/show_bug.cgi?id=50305

        Implements updating of baselines, where we copy -actual.* files over
        the current -expected.* files. To do this, we need a
        _get_actual_result_files method to get test results files and a
        _rebaseline_test method to actually do the file copy and SCM operation.
        _rebaseline_test logs output into a buffer, this is useful for both
        showing result in the UI and for unit tests.

        To make passing around of the various test environment properties
        (results directory, filesystem, SCM, etc) easier, add a TestConfig
        class for them.

        Moving of existing baselines is not implemented yet, this patch is big
        enough as it is.

        * Scripts/webkitpy/common/system/filesystem.py:
        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:

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

9 years ago2010-12-02 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 2 Dec 2010 22:49:27 +0000 (22:49 +0000)]
2010-12-02  Xiaomei Ji  <xji@chromium.org>

        Unreviewed.

        2nd try on rebaseline vertical-scrollbar-in-rtl.

        * platform/chromium-mac/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
        * platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
        * platform/chromium/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 2 Dec 2010 22:45:36 +0000 (22:45 +0000)]
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add AtomicString::fromUTF8
        https://bugs.webkit.org/show_bug.cgi?id=45594

        Unicode::calculateStringHashFromUTF8 creates a StringHash out of UTF8 input data and
        calculates the required length for the UTF16 conversation in one step.
        This is then used in a specialized translator for the string table of AtomicString.

        * JavaScriptCore.exp:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * wtf/text/AtomicString.cpp:
        (WTF::CStringTranslator::equal):
        (WTF::HashAndUTF8CharactersTranslator::hash):
        (WTF::HashAndUTF8CharactersTranslator::equal):
        (WTF::HashAndUTF8CharactersTranslator::translate):
        (WTF::AtomicString::add):
        (WTF::AtomicString::addSlowCase):
        (WTF::AtomicString::find):
        (WTF::AtomicString::fromUTF8):
        * wtf/text/AtomicString.h:
        * wtf/text/StringImpl.h:
        * wtf/text/WTFString.h:
        * wtf/unicode/UTF8.cpp:
        (WTF::Unicode::readUTF8Sequence):
        (WTF::Unicode::convertUTF8ToUTF16):
        (WTF::Unicode::calculateStringHashFromUTF8):
        (WTF::Unicode::equalUTF16WithUTF8):
        * wtf/unicode/UTF8.h:
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add AtomicString::fromUTF8
        https://bugs.webkit.org/show_bug.cgi?id=45594

        Use AtomicString::fromUTF8 directly in the libxml2 parser.

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::toAtomicString):

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 22:33:04 +0000 (22:33 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations for failed canvas toDataURL test.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 22:09:47 +0000 (22:09 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] add vertical-scrollbar-in-rtl back to test expectations for mac.
        The test does not putput consistent y-scroll position with HOME keydown.

        * platform/chromium/test_expectations.txt:

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

9 years agoAdded a little hardening to OSAllocator.
ggaren@apple.com [Thu, 2 Dec 2010 22:07:47 +0000 (22:07 +0000)]
Added a little hardening to OSAllocator.

Reviewed by Sam Weinig.

* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::release):
* wtf/OSAllocatorWin.cpp:
(WTF::OSAllocator::reserve):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):
(WTF::OSAllocator::release): CRASH() if the OS's virtual memory system
reports an error.

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

9 years agoFix the Qt Linux Release minimal build.
aestes@apple.com [Thu, 2 Dec 2010 21:56:54 +0000 (21:56 +0000)]
Fix the Qt Linux Release minimal build.

* html/HTMLMarqueeElement.cpp: Include ExceptionCode.h

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

9 years ago2010-12-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 2 Dec 2010 21:55:28 +0000 (21:55 +0000)]
2010-12-02  Xan Lopez  <xlopez@igalia.com>

        Third attempt to fix the build.

        * autotools/symbols.filter: be more liberal in one more symbol.

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

9 years agoFlash videos on YouTube flicker
andersca@apple.com [Thu, 2 Dec 2010 21:49:11 +0000 (21:49 +0000)]
Flash videos on YouTube flicker
https://bugs.webkit.org/show_bug.cgi?id=50409
<rdar://problem/8668757>

Reviewed by Sam Weinig.

When painting from a backing store, we need to add the source location
to the destination point.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::update):

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

9 years agoUnreviewed build fix after vcproj updates.
bfulgham@webkit.org [Thu, 2 Dec 2010 21:47:30 +0000 (21:47 +0000)]
Unreviewed build fix after vcproj updates.

* DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Make sure
that WIN_CAIRO is defined for this build.
* DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Update file
to reflect new 'Debug_Cairo_CFLite' and 'Release_Cairo_CFLite'
(these were previously 'Debug_Cairo' and 'Release_Cairo'

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

9 years ago2010-12-02 Chris Rogers <crogers@google.com>
crogers@google.com [Thu, 2 Dec 2010 21:35:25 +0000 (21:35 +0000)]
2010-12-02  Chris Rogers  <crogers@google.com>

        Reviewed by Darin Fisher.

        Fine-tune chromium WebKit API for loading audio resources
        https://bugs.webkit.org/show_bug.cgi?id=50406

        * public/WebAudioBus.h:
        (WebKit::WebAudioBus::~WebAudioBus):
        * public/WebKitClient.h:
        (WebKit::WebKitClient::loadAudioResource):
        * src/ChromiumBridge.cpp:
        (WebCore::ChromiumBridge::decodeAudioFileData):
        * src/WebAudioBus.cpp:
        (WebKit::WebAudioBus::reset):

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 21:23:43 +0000 (21:23 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations for failed svg tests.

        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum:
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
        * platform/chromium-win/svg/carto.net/selectionlist-expected.checksum:
        * platform/chromium-win/svg/carto.net/selectionlist-expected.png:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum:
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 2 Dec 2010 21:22:42 +0000 (21:22 +0000)]
2010-12-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Update ResourceLoaderSet Enumeration
        https://bugs.webkit.org/show_bug.cgi?id=50405

        * loader/DocumentLoader.cpp:
        (WebCore::cancelAll): instead of copying the HashSet, use copyToVector.
        (WebCore::setAllDefersLoading): instead of copying the HashSet, use copyToVector.

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

9 years ago2010-12-02 Darin Fisher <darin@chromium.org>
darin@chromium.org [Thu, 2 Dec 2010 21:18:57 +0000 (21:18 +0000)]
2010-12-02  Darin Fisher  <darin@chromium.org>

        Fix the Windows multi-dll build.  Do not export functions that are
        implemented inline!

        * public/WebFormControlElement.h:
        (WebKit::WebFormControlElement::assign):

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

9 years agoImplement (non-EventListener) marquee IDL attributes from HTML5.
aestes@apple.com [Thu, 2 Dec 2010 21:14:08 +0000 (21:14 +0000)]
Implement (non-EventListener) marquee IDL attributes from HTML5.
https://bugs.webkit.org/show_bug.cgi?id=49786

Reviewed by Darin Adler.

WebCore:

Test: fast/html/marquee-element.html

* html/HTMLMarqueeElement.cpp:
(WebCore::HTMLMarqueeElement::scrollAmount): If the content attribute
can be converted to a signed integer and is >= 0, return it.
Otherwise, return the default scrollAmount value.
(WebCore::HTMLMarqueeElement::setScrollAmount): Update the content
attribute if it is >= 0. Otherwise, raise INDEX_SIZE_ERR.
(WebCore::HTMLMarqueeElement::scrollDelay): Same as scrollAmount.
(WebCore::HTMLMarqueeElement::setScrollDelay): Same as setScrollAmount.
(WebCore::HTMLMarqueeElement::loop): If the content attribute can be
converted to a signed integer and is greater than 0 or equal to -1,
return it. Otherwise, return the default loop value.
(WebCore::HTMLMarqueeElement::setLoop): Update the content attribute if
it is greater than 0 or equal to -1. Otherwise, raise INDEX_SIZE_ERR.
* html/HTMLMarqueeElement.h:
* html/HTMLMarqueeElement.idl: Update the IDL to match what is in HTML5.
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::initialMarqueeSpeed):

LayoutTests:

* fast/html/marquee-element-expected.txt: Added.
* fast/html/marquee-element.html: Added.

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

9 years ago2010-12-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 2 Dec 2010 21:10:25 +0000 (21:10 +0000)]
2010-12-02  Xan Lopez  <xlopez@igalia.com>

        Another attempt to fix the GTK+ build.

        * autotools/symbols.filter: try to be more liberal with the
        mangled names of some symbols.

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

9 years agoWebKit2 needs API to turn on popup blocking
weinig@apple.com [Thu, 2 Dec 2010 20:55:19 +0000 (20:55 +0000)]
WebKit2 needs API to turn on popup blocking
https://bugs.webkit.org/show_bug.cgi?id=50407

Reviewed by Anders Carlsson.

WebKit2:

Pipe-through a preference for javascript being able to open
windows without user gesture.

* Shared/WebPreferencesStore.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetJavaScriptCanOpenWindowsAutomatically):
(WKPreferencesGetJavaScriptCanOpenWindowsAutomatically):
* UIProcess/API/C/WKPreferences.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

WebKitTools:

* TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
(TestWebKitAPI::TEST):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

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

9 years ago2010-12-02 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 2 Dec 2010 20:49:31 +0000 (20:49 +0000)]
2010-12-02  Xiaomei Ji  <xji@chromium.org>

        Unreviewed.

        Rebaseline vertical-scrollbar-in-rtl after r73063.
        Enable truncation-rtl after r73087.
        https://bugs.webkit.org/show_bug.cgi?id=50352

        * platform/chromium-mac/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
        * platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 20:43:25 +0000 (20:43 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 2 Dec 2010 20:41:30 +0000 (20:41 +0000)]
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [OpenVG] Remove "current path" of GraphicsContext
        https://bugs.webkit.org/show_bug.cgi?id=50294

        * platform/graphics/GraphicsContext.h:
        * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        (WebCore::GraphicsContext::clipPath):
        * platform/graphics/openvg/PainterOpenVG.cpp:
        (WebCore::PainterOpenVG::PainterOpenVG):
        (WebCore::PainterOpenVG::~PainterOpenVG):
        (WebCore::PainterOpenVG::drawPath):
        * platform/graphics/openvg/PainterOpenVG.h:

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

9 years ago2010-12-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 2 Dec 2010 20:36:04 +0000 (20:36 +0000)]
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Remove "current path" of GraphicsContext
        https://bugs.webkit.org/show_bug.cgi?id=50284

        * platform/graphics/GraphicsContext.h:
        * platform/graphics/wince/GraphicsContextWinCE.cpp:
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 20:27:33 +0000 (20:27 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.
        These svg tests need to rebaseline on win and linux.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Johnny Ding <jnd@chromium.org>
jnd@chromium.org [Thu, 2 Dec 2010 20:17:06 +0000 (20:17 +0000)]
2010-12-02  Johnny Ding  <jnd@chromium.org>

        Reviewed by Adam Barth.

        Set the right gesture status for URL redirections.
        https://bugs.webkit.org/show_bug.cgi?id=47817

        * fast/frames/location-redirect-user-gesture-expected.txt: Added.
        * fast/frames/location-redirect-user-gesture.html: Added.
        * fast/frames/meta-refresh-user-gesture-expected.txt: Added.
        * fast/frames/meta-refresh-user-gesture.html: Added.
        * fast/frames/resources/meta-refresh-target.html: Added.
        * platform/gtk/Skipped:
        * platform/win/Skipped:
2010-12-02  Johnny Ding  <jnd@chromium.org>

        Reviewed by Adam Barth.

        Set the right gesture status for URL redirections.
        https://bugs.webkit.org/show_bug.cgi?id=47817

        Tests: fast/frames/location-redirect-user-gesture.html
               fast/frames/meta-refresh-user-gesture.html

        * loader/NavigationScheduler.cpp:
        (WebCore::ScheduledNavigation::clearUserGesture):
        (WebCore::ScheduledRedirect::ScheduledRedirect):

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

9 years ago2010-12-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 2 Dec 2010 20:16:44 +0000 (20:16 +0000)]
2010-12-02  Xan Lopez  <xlopez@igalia.com>

        Try to fix GTK+ build.

        * autotools/symbols.filter: add missing ';'.

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

9 years ago2010-12-02 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Thu, 2 Dec 2010 20:09:27 +0000 (20:09 +0000)]
2010-12-02  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Geoffrey Garen.

        [Qt] Make platform managing of OSAllocator better than r73106
        https://bugs.webkit.org/show_bug.cgi?id=50385

        * wtf/OSAllocatorPosix.cpp: Remove platform specific guard.
        * wtf/OSAllocatorSymbian.cpp: Remove platform specific guard.
        * wtf/OSAllocatorWin.cpp: Remove platform specific guard.
        * wtf/wtf.pri: Add the correct platform specific source file instead of all of them.

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

9 years ago2010-12-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 2 Dec 2010 19:57:36 +0000 (19:57 +0000)]
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Use GetTickCount() for srand()
        https://bugs.webkit.org/show_bug.cgi?id=50338

        time() is not a native function on WinCE, so use GetTickCount() instead.

        * wtf/RandomNumberSeed.h:
        (WTF::initializeRandomNumberGenerator):

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

9 years ago2010-12-02 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 2 Dec 2010 19:53:28 +0000 (19:53 +0000)]
2010-12-02  Eric Seidel  <eric@webkit.org>

        Unreviewed.

        animations/stop-animation-on-suspend.html sometimes fails on all platforms
        https://bugs.webkit.org/show_bug.cgi?id=49182

        * platform/mac/Skipped:

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

9 years ago2010-12-02 Chris Rogers <crogers@google.com>
crogers@google.com [Thu, 2 Dec 2010 19:48:39 +0000 (19:48 +0000)]
2010-12-02  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        AudioContext needs createBuffer() method from ArrayBuffer
        https://bugs.webkit.org/show_bug.cgi?id=50343

        No new tests since audio API is not yet implemented.

        * webaudio/AudioContext.cpp:
        (WebCore::AudioContext::createBuffer):
        * webaudio/AudioContext.h:
        * webaudio/AudioContext.idl:

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

9 years ago2010-12-02 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Thu, 2 Dec 2010 19:42:52 +0000 (19:42 +0000)]
2010-12-02  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by David Levin.

        [chromium] Add canvas.toDataURL("image/jpeg", quality) support
        https://bugs.webkit.org/show_bug.cgi?id=49365

        Chromium window/linux layout try results now match the default test result, so
        remove this platform-specific test exception file.

        * platform/chromium-win/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt: Removed.
2010-12-02  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by David Levin.

        [chromium] Add canvas.toDataURL("image/jpeg", quality) support
        https://bugs.webkit.org/show_bug.cgi?id=49365

        Adds a libjpeg-based image encoder for Skia bitmaps.  Default encoding quality
        is 92 to match Mozilla, also Safari, though the actual value used by Safari is
        undocumented, and it appears to pre-blur images prior to compression.

        The preMultipliedBGRAtoRGB() routine restores the un-premultiplied RGB colors
        where there is non-zero alpha.  Again, this matches Firefox and Safari, but no
        browser conforms to the HTML5 canvas standard here, I believe, considering the
        result of canvas/philip/tests/toDataURL.jpeg.alpha.html; that test ignores the
        alpha channel when extracting an "image/jpeg".toDataURL().  The correct answer
        needs more investigation, bug http://webkit.org/b/40147.

        Canvas toDataURL is covered by existing tests canvas/philip/tests/toDataURL.*,
        and fast/canvas/*toDataURL* tests.

        * WebCore.gypi:
        * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
        (WebCore::V8HTMLCanvasElement::toDataURLCallback): don't set encoding quality
        here, just pass the toDataURL parameters through to the canvas layer.
        * platform/chromium/MIMETypeRegistryChromium.cpp:
        (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding): implement
        the supported mimeTypes for encoding in-place.
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::toDataURL): add jpeg encoding and quality support.
        * platform/image-encoders/skia/JPEGImageEncoder.cpp: Added.
        (WebCore::prepareOutput):
        (WebCore::writeOutput):
        (WebCore::finishOutput):
        (WebCore::handleError):
        (WebCore::preMultipliedBGRAtoRGB): FIXME: bug 40147.
        (WebCore::JPEGImageEncoder::encode):
        * platform/image-encoders/skia/JPEGImageEncoder.h: Added.

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

9 years ago2010-12-02 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 2 Dec 2010 19:30:51 +0000 (19:30 +0000)]
2010-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73152.
        http://trac.webkit.org/changeset/73152
        https://bugs.webkit.org/show_bug.cgi?id=50401

        the patch has broken chromium win layout tests (Requested by
        loislo on #webkit).

        * inspector/report-API-errors-expected.txt:
        * inspector/report-API-errors.html:
        * inspector/report-protocol-errors-expected.txt:
        * inspector/report-protocol-errors.html:
2010-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73152.
        http://trac.webkit.org/changeset/73152
        https://bugs.webkit.org/show_bug.cgi?id=50401

        the patch has broken chromium win layout tests (Requested by
        loislo on #webkit).

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/front-end/Callback.js:
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMNode):
        * inspector/front-end/inspector.js:
        (WebInspector.loaded.WebInspector.socket.onmessage):
        (WebInspector.dispatch):
        (WebInspector_syncDispatch):
        (WebInspector.reportProtocolError):

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

9 years ago2010-12-02 W. James MacLean <wjmaclean@chromium.org>
commit-queue@webkit.org [Thu, 2 Dec 2010 19:23:55 +0000 (19:23 +0000)]
2010-12-02  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        Scaled Resized images are blurred when sent to Skia
        https://bugs.webkit.org/show_bug.cgi?id=42370

        * platform/chromium-linux/svg/custom/image-rescale-clip-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/image-rescale-clip-expected.png: Added.
        * platform/chromium-linux/svg/custom/image-rescale-clip-expected.txt: Added.
        * platform/chromium-linux/svg/custom/image-rescale-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/image-rescale-expected.png: Added.
        * platform/chromium-linux/svg/custom/image-rescale-expected.txt: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.txt: Added.
        * platform/chromium/test_expectations.txt:
        * platform/mac-leopard/svg/custom/image-rescale-expected.checksum: Added.
        * platform/mac-leopard/svg/custom/image-rescale-expected.png: Added.
        * platform/mac-leopard/svg/custom/image-rescale-expected.txt: Added.
        * platform/mac/svg/custom/image-rescale-clip-expected.checksum: Added.
        * platform/mac/svg/custom/image-rescale-clip-expected.png: Added.
        * platform/mac/svg/custom/image-rescale-clip-expected.txt: Added.
        * platform/mac/svg/custom/image-rescale-expected.checksum: Added.
        * platform/mac/svg/custom/image-rescale-expected.png: Added.
        * platform/mac/svg/custom/image-rescale-expected.txt: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.txt: Added.
        * svg/custom/image-rescale-clip.html: Added.
        * svg/custom/image-rescale-scroll.html: Added.
        * svg/custom/image-rescale.svg: Added.
        * svg/custom/resources/image-rescale.jpg: Added.
2010-12-02  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        Scaled Resized images are blurred when sent to Skia
        https://bugs.webkit.org/show_bug.cgi?id=42370

        This patch modifies ImageSkia.cpp to fix the calculation of resampled
        bitmap sizes so as to include the transform matrix of the canvas.
        Includes new tests to catch a scrolling regression and a clipping regression.

        Tests: svg/custom/image-rescale-clip.html
               svg/custom/image-rescale-scroll.html
               svg/custom/image-rescale.svg

        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::computeResamplingMode):
        (WebCore::drawResampledBitmap):

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

9 years ago2010-12-02 Erik Arvidsson <arv@chromium.org>
arv@chromium.org [Thu, 2 Dec 2010 19:21:48 +0000 (19:21 +0000)]
2010-12-02  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Darin Adler.

        Missing DOM property for incremental input attribute
        https://bugs.webkit.org/show_bug.cgi?id=50335

        * fast/forms/incremental-dom-property-expected.txt: Added.
        * fast/forms/incremental-dom-property.html: Added.
        * fast/forms/script-tests/incremental-dom-property.js: Added.
2010-12-02  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Darin Adler.

        Missing DOM property for incremental input attribute
        https://bugs.webkit.org/show_bug.cgi?id=50335

        Test: fast/forms/incremental-dom-property.html

        * html/HTMLInputElement.idl: Added attribute

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

9 years ago2010-12-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 2 Dec 2010 19:17:50 +0000 (19:17 +0000)]
2010-12-02  Martin Robinson  <mrobinson@igalia.com>

        Attempt to fix the GTK+ build. Add missing symbol the
        list of unfiltered symbols for the linker.

        * autotools/symbols.filter: Add symbol used in DumpRenderTree.

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

9 years ago2010-12-01 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Dec 2010 19:00:08 +0000 (19:00 +0000)]
2010-12-01  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] force NRWT to use DRT
        https://bugs.webkit.org/show_bug.cgi?id=50359

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago2010-12-02 John Knottenbelt <jknotten@chromium.org>
commit-queue@webkit.org [Thu, 2 Dec 2010 18:59:07 +0000 (18:59 +0000)]
2010-12-02  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Steve Block.

        Move requestGeolocationPermissionForFrame to GeolocationClient
        https://bugs.webkit.org/show_bug.cgi?id=50061

        This change facilitates client-based geolocation implementation by
        bringing together permission control into the geolocation client
        interface.

        * page/Chrome.h:
        * page/ChromeClient.h:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::disconnectFrame):
        (WebCore::Geolocation::requestPermission):
        * page/GeolocationClient.h:
        * page/GeolocationController.cpp:
        (WebCore::GeolocationController::requestPermission):
        (WebCore::GeolocationController::cancelPermissionRequest):
        * page/GeolocationController.h:
        * platform/mock/GeolocationClientMock.cpp:
        (WebCore::GeolocationClientMock::GeolocationClientMock):
        (WebCore::GeolocationClientMock::setPermission):
        (WebCore::GeolocationClientMock::requestPermission):
        (WebCore::GeolocationClientMock::cancelPermissionRequest):
        (WebCore::GeolocationClientMock::asyncUpdatePermission):
        (WebCore::GeolocationClientMock::permissionTimerFired):
        (WebCore::GeolocationClientMock::reset):
        (WebCore::GeolocationClientMock::stopUpdating):
        (WebCore::GeolocationClientMock::asyncUpdateController):
        (WebCore::GeolocationClientMock::controllerTimerFired):
        * platform/mock/GeolocationClientMock.h:
2010-12-02  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Steve Block.

        Move requestGeolocationPermissionForFrame to GeolocationClient
        https://bugs.webkit.org/show_bug.cgi?id=50061

        This change facilitates client-based geolocation implementation by
        bringing together permission control into the geolocation client
        interface.

        Move method ChromeClient::requestGeolocationPermissionForFrame to
        GeolocationClient::requestPermission, and supporting class
        WebGeolocationPolicyListener. The moved code is unchanged except
        that requestPermission now takes only one argument (Geolocation*)
        and the Frame parameter is retrieved from the Geolocation object.

        * WebCoreSupport/WebChromeClient.h:
        * WebCoreSupport/WebChromeClient.mm:
        * WebCoreSupport/WebGeolocationClient.h:
        (WebGeolocationClient::cancelPermissionRequest):
        * WebCoreSupport/WebGeolocationClient.mm:
        (WebGeolocationClient::requestPermission):
        (-[WebGeolocationPolicyListener initWithGeolocation:]):
        (-[WebGeolocationPolicyListener allow]):
        (-[WebGeolocationPolicyListener deny]):
2010-12-02  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Steve Block.

        Move requestGeolocationPermissionForFrame to GeolocationClient
        https://bugs.webkit.org/show_bug.cgi?id=50061

        This change facilitates client-based geolocation implementation by
        bringing together permission control into the geolocation client
        interface.

        Move method ChromeClient::requestGeolocationPermissionForFrame to
        GeolocationClient::requestPermission. The moved code is unchanged
        except that requestPermission now takes only one argument (Geolocation*),
        the Frame parameter is retrieved from the Geolocation object and we need to
        call m_webView.get() as it is a COMPtr in GeolocationClient.

        * WebCoreSupport/WebChromeClient.cpp:
        * WebCoreSupport/WebChromeClient.h:
        * WebCoreSupport/WebGeolocationClient.cpp:
        (WebGeolocationClient::requestPermission):
        * WebCoreSupport/WebGeolocationClient.h:
        (WebGeolocationClient::cancelPermissionRequest):

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

9 years agoPlug-ins should be able to update the mouse cursor
andersca@apple.com [Thu, 2 Dec 2010 18:41:38 +0000 (18:41 +0000)]
Plug-ins should be able to update the mouse cursor
https://bugs.webkit.org/show_bug.cgi?id=50399

Reviewed by Sam Weinig.

WebKit2:

Call WKEnableSettingCursorWhenInBackground.

* PluginProcess/mac/PluginProcessMainMac.mm:
(WebKit::PluginProcessMain):

WebKitLibraries:

Add WKEnableSettingCursorWhenInBackground.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

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

9 years ago2010-12-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Dec 2010 18:33:14 +0000 (18:33 +0000)]
2010-12-02  Tony Chang  <tony@chromium.org>

        Unreviewed, update DRT crash on mac.

        * platform/chromium/test_expectations.txt:
2010-12-02  Tony Chang  <tony@chromium.org>

        Unreviewed, roll chromium deps to r67980.

        * DEPS:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=50368
weinig@apple.com [Thu, 2 Dec 2010 18:30:05 +0000 (18:30 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50368
Overhaul WebKit2 preferences code

Reviewed by Anders Carlsson.

- Reduces the number of places you have to touch to add a new preference
  (From 9 down to 4, but with a bit of elbow grease, we should get that
   down to 2 or 3).
- Add hooks so that platforms can initialize the preferences based on an
  identifier. This is currently only used on the Mac to initialize a
  preference store from NSUserDefaults and autosave the changes to disk.
  It is not yet enabled due to no way to set the identifier from client
  code.

* Shared/WebPageCreationParameters.cpp:
Add necessary #include of WebCoreArgumentCoders.h which is now needed
due to cleanup in WebPreferencesStore.h.

* Shared/WebPreferencesStore.cpp:
(WebKit::WebPreferencesStore::WebPreferencesStore):
(WebKit::WebPreferencesStore::encode):
(WebKit::WebPreferencesStore::decode):
(WebKit::defaultValueForKey):
(WebKit::setValueForKey):
(WebKit::valueForKey):
(WebKit::WebPreferencesStore::setStringValueForKey):
(WebKit::WebPreferencesStore::getStringValueForKey):
(WebKit::WebPreferencesStore::setBoolValueForKey):
(WebKit::WebPreferencesStore::getBoolValueForKey):
(WebKit::WebPreferencesStore::setUInt32ValueForKey):
(WebKit::WebPreferencesStore::getUInt32ValueForKey):
* Shared/WebPreferencesStore.h:
Complete overhaul of this class to store the preferences as
a set of HashMaps and use macros to define the keys and default
values.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesGetFontSmoothingLevel):
Add cast to keep conversion function working.

* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::WebPreferences): Add identifier constructor.
(WebKit::WebPreferences::updateStringValueForKey):
(WebKit::WebPreferences::updateBoolValueForKey):
(WebKit::WebPreferences::updateUInt32ValueForKey):
Add type based updaters. These currently give hooks to the platform and
call the generic update, but in the future, we can use this to optimize
updating preferences to not send the entire store for each change.

* UIProcess/WebPreferences.h:
Generate the getters and setters via macro instantiation.

* UIProcess/cf/WebPreferencesCF.cpp: Added.
(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Stubbed out.

* UIProcess/mac/WebPreferencesMac.mm: Added.
(WebKit::makeKey):
(WebKit::setStringValueIfInUserDefaults):
(WebKit::setBoolValueIfInUserDefaults):
(WebKit::setUInt32ValueIfInUserDefaults):
(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Use the platform hooks to initialize and update the store from
NSUserDefaults.

* UIProcess/qt/WebPreferencesQt.cpp: Added.
(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Stubbed out.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::platformPreferencesDidChange):
Update to pull the value using the new type based getters.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add new files.

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

9 years ago2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 2 Dec 2010 18:22:16 +0000 (18:22 +0000)]
2010-12-01  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Inspector protocol cleanup task.

        The patch has just small renames and adjustments for the protocol things.
        'handler' keyword in idl file was replaced with 'domain'.
        'domain' property was assigned for the each backend to frontend messages.
        At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/front-end/inspector.js:
        (WebInspector_syncDispatch):

2010-12-01  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Inspector protocol cleanup task.

        The patch has just small renames and adjustments for the protocol things.
        'handler' keyword in idl file was replaced with 'domain'.
        'domain' property was assigned for the each backend to frontend messages.
        At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

        * inspector/report-API-errors-expected.txt:
        * inspector/report-API-errors.html:
        * inspector/report-protocol-errors-expected.txt:

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

9 years ago2010-12-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 2 Dec 2010 18:14:33 +0000 (18:14 +0000)]
2010-12-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DumpRenderTree has two copies of JavaScriptCore
        https://bugs.webkit.org/show_bug.cgi?id=49877

        Prevent the need to compile JSC into DumpRenderTree twice, by adjusting
        the symbol visibility rules for libwebkit. Make all JSC symbols visible,
        while hiding WebCore/WebKit symbols.

        * GNUmakefile.am: Move the symbol visibility flags to the WebKit build.
        * autotools/symbols.filter: Update the symbol filter list with the real
        mangled names of the symbols and include other symbols that DRT needs.
2010-12-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DumpRenderTree has two copies of JavaScriptCore
        https://bugs.webkit.org/show_bug.cgi?id=49877

        Keep WebKit/WebCore symbols hidden.

        * GNUmakefile.am: Move the symbol visibility rules here, because
        now JSC symbols are visible, but WebCore/WebKit symbols are hidden.
2010-12-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] DumpRenderTree has two copies of JavaScriptCore
        https://bugs.webkit.org/show_bug.cgi?id=49877

        * GNUmakefile.am: Remove the second copy of JavaScriptCore from the
        LDADD list for DumpRenderTree.

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

9 years ago2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 2 Dec 2010 18:07:24 +0000 (18:07 +0000)]
2010-12-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Eric Carlson.

        Style Fixes in WebPluginController
        https://bugs.webkit.org/show_bug.cgi?id=50397

        * Plugins/WebPluginController.mm:
        (-[WebPluginController startAllPlugins]):
        (-[WebPluginController stopAllPlugins]):

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

9 years agoMac build fix.
sfalken@apple.com [Thu, 2 Dec 2010 17:55:40 +0000 (17:55 +0000)]
Mac build fix.

* WebProcess/WebKitMain.cpp:
(enableDataExecutionPrevention):

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

9 years ago2010-12-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Dec 2010 17:45:27 +0000 (17:45 +0000)]
2010-12-02  Tony Chang  <tony@chromium.org>

        Unreviewed, add back fast/overflow/hit-test-overflow-controls.html
        to chromium test_expectations.txt.  It's failing on the main
        waterfall. Thanks to victorw for notifying me.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-01 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 2 Dec 2010 17:42:03 +0000 (17:42 +0000)]
2010-12-01  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
        Re-implementing HAR export functionality that used to be in Resources
        tab in Network tab.
        https://bugs.webkit.org/show_bug.cgi?id=45663

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._createTable):
        (WebInspector.NetworkPanel.prototype._toggleViewingResourceMode):
        (WebInspector.NetworkPanel.prototype._contextMenu):
        (WebInspector.NetworkPanel.prototype._exportAll):
        (WebInspector.NetworkPanel.prototype._exportResource):
        (WebInspector.NetworkDataGridNode.prototype.refreshResource):
        * inspector/front-end/networkPanel.css:
        (.data-grid table.data tr.revealed.network-item):
        (.data-grid.filter-other table.data tr.revealed.network-category-other):

2010-12-01  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
        Enable resource export to HAR for Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=45663

        * src/js/DevTools.js: Preferences.resourceExportEnabled = true

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

9 years agoSlightly speculative fix for:
sullivan@apple.com [Thu, 2 Dec 2010 17:39:26 +0000 (17:39 +0000)]
Slightly speculative fix for:

Reviewed by Adam Roben.

<rdar://problem/8712674>
<https://bugs.webkit.org/show_bug.cgi?id=50393>
setStringValue: sometimes called with nil in [WebAuthenticationPanel setUpForChallenge]

* Panels/WebAuthenticationPanel.m:
(-[WebAuthenticationPanel setUpForChallenge:]):
If the realm is nil, use @"" instead.

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

9 years ago2010-11-30 Amruth Raj <amruthraj@motorola.com> and Ravi Kasibhatla <ravi.kasibhatla...
commit-queue@webkit.org [Thu, 2 Dec 2010 17:34:02 +0000 (17:34 +0000)]
2010-11-30 Amruth Raj  <amruthraj@motorola.com> and Ravi Kasibhatla  <ravi.kasibhatla@motorola.com>

        Reviewed by Martin Robinson.

        [GTK] Implement RunLoop, WorkQueue, Connection classes for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=48507

        * Platform/CoreIPC/Connection.h: UNIX_X11 specific changes for GTK port.
        (CoreIPC::Connection::messageProcessingCompleted):
        * Platform/CoreIPC/gtk: Added.
        * Platform/CoreIPC/gtk/ConnectionGtk.cpp: Added. Connection class implementation for GTK port (UNIX_X11 specific).
        (CoreIPC::readBytesFromSocket):
        (CoreIPC::writeBytesToSocket):
        (CoreIPC::Connection::platformInitialize):
        (CoreIPC::Connection::platformInvalidate):
        (CoreIPC::Connection::processCompletedMessage):
        (CoreIPC::Connection::readEventHandler):
        (CoreIPC::Connection::open):
        (CoreIPC::Connection::platformCanSendOutgoingMessages):
        (CoreIPC::Connection::sendOutgoingMessage):
        * Platform/PlatformProcessIdentifier.h: UNIX_X11 specific changes for GTK port.
        * Platform/RunLoop.h: GTK port specific changes.
        * Platform/WorkQueue.h: GTK port specific changes.
        * Platform/gtk/RunLoopGtk.cpp: Added. Runs an event loop using GMainLoop and handles the incoming messages.
        (RunLoop::RunLoop):
        (RunLoop::~RunLoop):
        (RunLoop::run):
        (RunLoop::mainLoop):
        (RunLoop::stop):
        (RunLoop::queueWork):
        (RunLoop::wakeUp):
        (RunLoop::TimerBase::TimerBase):
        (RunLoop::TimerBase::~TimerBase):
        (RunLoop::TimerBase::resetTimerSource):
        (RunLoop::TimerBase::oneShotTimerFired):
        (RunLoop::TimerBase::repeatingTimerFired):
        (RunLoop::TimerBase::start):
        (RunLoop::TimerBase::stop):
        (RunLoop::TimerBase::isActive):
        * Platform/gtk/WorkQueueGtk.cpp: Added. Creates a thread and polls on a given fd using GIOChannel.
        Dispatches the obtained messages to RunLoop's GMainLoop.
        (WorkQueue::EventSource::EventSource):
        (WorkQueue::EventSource::dispatchSource):
        (WorkQueue::EventSource::performWorkOnce):
        (WorkQueue::EventSource::performWork):
        (WorkQueue::EventSource::deleteEventSource):
        (WorkQueue::platformInitialize):
        (WorkQueue::platformInvalidate):
        (WorkQueue::startWorkQueueThread):
        (WorkQueue::workQueueThreadBody):
        (WorkQueue::registerEventSourceHandler):
        (WorkQueue::unregisterEventSourceHandler):
        (WorkQueue::scheduleWork):

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

9 years ago2010-12-02 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 2 Dec 2010 17:33:18 +0000 (17:33 +0000)]
2010-12-02  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip failing tests.

        * platform/gtk/Skipped:

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

9 years ago2010-12-02 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 2 Dec 2010 17:24:52 +0000 (17:24 +0000)]
2010-12-02  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Move enableExecutionPrevention to WebKitMain
        https://bugs.webkit.org/show_bug.cgi?id=50392

        * WebProcess/WebKitMain.cpp:
        (enableDataExecutionPrevention):
        (WebKitMain):
        * WebProcess/win/WebProcessMainWin.cpp:
        (WebKit::WebProcessMain):

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

9 years ago2010-12-02 Dai Mikurube <dmikurube@google.com>
commit-queue@webkit.org [Thu, 2 Dec 2010 17:11:07 +0000 (17:11 +0000)]
2010-12-02  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Reject named colors, accept only #rrggbb in <input type=color />
        https://bugs.webkit.org/show_bug.cgi?id=50308

        * fast/forms/ValidityState-typeMismatch-color-expected.txt:
        * fast/forms/script-tests/ValidityState-typeMismatch-color.js: Changed to reject English color names.
2010-12-02  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Reject named colors, accept only #rrggbb in <input type=color />
        https://bugs.webkit.org/show_bug.cgi?id=50308

        * html/ColorInputType.cpp: Modified to accept only simple colors like #xxxxxx.
        (WebCore::isValidColorString):

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

9 years ago2010-12-02 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 2 Dec 2010 17:10:29 +0000 (17:10 +0000)]
2010-12-02  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Enable DEP at runtime to allow for compatibility with older versions of ATL
        https://bugs.webkit.org/show_bug.cgi?id=50378

        * WebProcess/win/WebProcessMainWin.cpp:
        (WebKit::enableDataExecutionPrevention):
        (WebKit::WebProcessMain):
        * win/WebKit2WebProcessCommon.vsprops:

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

9 years ago2010-12-02 Vincent Scheib <scheib@chromium.org>
commit-queue@webkit.org [Thu, 2 Dec 2010 16:33:11 +0000 (16:33 +0000)]
2010-12-02  Vincent Scheib  <scheib@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] histograms api updated in WebKitClient and added to ChromiumBridge
        https://bugs.webkit.org/show_bug.cgi?id=50285

        Test by loading "about:histograms" after navigating to accelerated pages.

        * platform/chromium/ChromiumBridge.h: api update.
2010-12-02  Vincent Scheib  <scheib@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
        https://bugs.webkit.org/show_bug.cgi?id=50285

        Test by loading "about:histograms" after navigating to accelerated pages.

        * public/WebKitClient.h:
        (WebKit::WebKitClient::histogramCustomCounts): api update.
        (WebKit::WebKitClient::histogramEnumeration): api update.
        * src/ChromiumBridge.cpp:
        (WebCore::ChromiumBridge::histogramCustomCounts): api update.
        (WebCore::ChromiumBridge::histogramEnumeration): api update.
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.

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