Unreviewed GTK build fix.

CSS Compositing is not currently supported on the GTK port, so
the feature define should default to 0.

* GNUmakefile.features.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix one of the Qt builds.

* dom/TransformSource.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MediaStream API: Add the local and remote description functionality to RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=95839

Reviewed by Adam Barth.

Source/Platform:

* Platform.gypi:
* chromium/public/WebRTCPeerConnectionHandler.h:
(WebKit):
(WebRTCPeerConnectionHandler):
* chromium/public/WebRTCVoidRequest.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
(WebCore):
(WebKit):
(WebRTCVoidRequest):
(ExtraData):
(WebKit::WebRTCVoidRequest::ExtraData::~ExtraData):
(WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::~WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::operator=):
(WebKit::WebRTCVoidRequest::isNull):

Source/WebCore:

As well as adding the local/remote descriptions stuff, I removed the source attribute from
RTCSessionDescriptionCallback and RTCErrorCallback since it has been removed from the draft.

Tests: fast/mediastream/RTCPeerConnection-localDescription.html
       fast/mediastream/RTCPeerConnection-remoteDescription.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Modules/mediastream/RTCErrorCallback.h:
(RTCErrorCallback):
* Modules/mediastream/RTCErrorCallback.idl:
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::createOffer):
(WebCore::RTCPeerConnection::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnection::localDescription):
(WebCore::RTCPeerConnection::setRemoteDescription):
(WebCore::RTCPeerConnection::remoteDescription):
* Modules/mediastream/RTCPeerConnection.h:
(WebCore):
(RTCPeerConnection):
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCSessionDescriptionCallback.h:
(RTCSessionDescriptionCallback):
* Modules/mediastream/RTCSessionDescriptionCallback.idl:
* Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp:
(WebCore::RTCSessionDescriptionRequestImpl::create):
(WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
(WebCore::RTCSessionDescriptionRequestImpl::requestSucceeded):
(WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
(WebCore::RTCSessionDescriptionRequestImpl::clear):
* Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
(RTCSessionDescriptionRequestImpl):
* Modules/mediastream/RTCVoidRequestImpl.cpp: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp.
(WebCore):
(WebCore::RTCVoidRequestImpl::create):
(WebCore::RTCVoidRequestImpl::RTCVoidRequestImpl):
(WebCore::RTCVoidRequestImpl::~RTCVoidRequestImpl):
(WebCore::RTCVoidRequestImpl::requestSucceeded):
(WebCore::RTCVoidRequestImpl::requestFailed):
(WebCore::RTCVoidRequestImpl::stop):
(WebCore::RTCVoidRequestImpl::clear):
* Modules/mediastream/RTCVoidRequestImpl.h: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionCallback.h.
(WebCore):
(RTCVoidRequestImpl):
* WebCore.gypi:
* platform/chromium/support/WebRTCVoidRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
(WebKit):
(WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::assign):
(WebKit::WebRTCVoidRequest::reset):
(WebKit::WebRTCVoidRequest::requestSucceeded):
(WebKit::WebRTCVoidRequest::requestFailed):
(ExtraDataContainer):
(WebKit::ExtraDataContainer::ExtraDataContainer):
(WebKit::ExtraDataContainer::extraData):
(WebKit::WebRTCVoidRequest::extraData):
(WebKit::WebRTCVoidRequest::setExtraData):
* platform/mediastream/RTCPeerConnectionHandler.cpp:
(RTCPeerConnectionHandlerDummy):
(WebCore::RTCPeerConnectionHandlerDummy::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnectionHandlerDummy::setRemoteDescription):
(WebCore::RTCPeerConnectionHandlerDummy::localDescription):
(WebCore::RTCPeerConnectionHandlerDummy::remoteDescription):
* platform/mediastream/RTCPeerConnectionHandler.h:
(WebCore):
(RTCPeerConnectionHandler):
* platform/mediastream/RTCVoidRequest.h: Copied from Source/WebCore/Modules/mediastream/RTCErrorCallback.h.
(WebCore):
(RTCVoidRequest):
(ExtraData):
(WebCore::RTCVoidRequest::ExtraData::~ExtraData):
(WebCore::RTCVoidRequest::~RTCVoidRequest):
(WebCore::RTCVoidRequest::extraData):
(WebCore::RTCVoidRequest::setExtraData):
(WebCore::RTCVoidRequest::RTCVoidRequest):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
(WebCore::RTCPeerConnectionHandlerChromium::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnectionHandlerChromium::setRemoteDescription):
(WebCore::RTCPeerConnectionHandlerChromium::localDescription):
(WebCore::RTCPeerConnectionHandlerChromium::remoteDescription):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(RTCPeerConnectionHandlerChromium):

Tools:

In addition to adding the new methods to MockWebRTCPeerConnectionHandler I cleaned
up the task definitions a bit. There was no need to have them in the header file.

* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
(RTCSessionDescriptionRequestSuccededTask):
(RTCSessionDescriptionRequestSuccededTask::RTCSessionDescriptionRequestSuccededTask):
(RTCSessionDescriptionRequestFailedTask):
(RTCSessionDescriptionRequestFailedTask::RTCSessionDescriptionRequestFailedTask):
(RTCVoidRequestTask):
(RTCVoidRequestTask::RTCVoidRequestTask):
(MockWebRTCPeerConnectionHandler::createOffer):
(MockWebRTCPeerConnectionHandler::setLocalDescription):
(MockWebRTCPeerConnectionHandler::setRemoteDescription):
(MockWebRTCPeerConnectionHandler::localDescription):
(MockWebRTCPeerConnectionHandler::remoteDescription):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):

LayoutTests:

* fast/mediastream/RTCPeerConnection-createOffer.html:
* fast/mediastream/RTCPeerConnection-localDescription-expected.txt: Added.
* fast/mediastream/RTCPeerConnection-localDescription.html: Copied from LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html.
* fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt: Added.
* fast/mediastream/RTCPeerConnection-remoteDescription.html: Copied from LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Enable different fling behaviour for touchscreen and touchpad
https://bugs.webkit.org/show_bug.cgi?id=95756

Reviewed by James Robinson.

Add support for a flag on WebGestureEvents that differentiates GestureFlingStart
events by their originating device and pass this flag to a factory that produces
different device  specific fling curves based on the value of the flag.

Source/WebCore:

Covered by existing layout and unit tests.

* platform/chromium/support/PlatformGestureCurveFactory.cpp: Modified  factory
entry point for constructing fling curve for different devices.
(WebKit::PlatformGestureCurveFactory::createCurve):
* platform/chromium/support/PlatformGestureCurveFactory.h:
(PlatformGestureCurveFactory):

Source/WebKit/chromium:

* public/WebActiveWheelFlingParameters.h:
(WebActiveWheelFlingParameters): Store source device for transfer to mainthread.
(WebKit::WebActiveWheelFlingParameters::WebActiveWheelFlingParameters):
* public/WebInputEvent.h: Added source device flag to WebGestureEvent.
* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleGestureFling):  Use factory to
obtain device-appropriate fling curve.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent): Use factory to obtain device-appropriate
fling curve.
(WebKit::WebViewImpl::transferActiveWheelFlingAnimation):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Skip failing test: fast/dom/HTMLScriptElement/script-reexecution.html
https://bugs.webkit.org/show_bug.cgi?id=95944

* platform/win/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
mathml.css: Add more { white-space: nowrap } declarations
https://bugs.webkit.org/show_bug.cgi?id=95404

Reviewed by Eric Seidel.

mathml.css declared { white-space: nowrap } for mrow, mfenced, msqrt. It is also needed
for other tags such as msub, msup, msubsup.

Added a test to mathml/presentation/sup.xhtml, and a regression test to roots.xhtml.

Source/WebCore:

* css/mathml.css:
(mo, mrow, mfenced, mfrac, msub, msup, msubsup, munder, mover, munderover, msqrt, mroot):

LayoutTests:

* mathml/presentation/roots.xhtml:
* mathml/presentation/sup.xhtml:
* platform/mac/mathml/presentation/roots-expected.png:
* platform/mac/mathml/presentation/roots-expected.txt:
* platform/mac/mathml/presentation/sup-expected.png:
* platform/mac/mathml/presentation/sup-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Skipping failing test: fast/forms/number/number-interactive-validation-required.html
Interactive form validation is not enabled on Windows. It's fine to skip this test.

* platform/win/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another unreviewed GTK build fix.

The ENABLE_DATALIST_ELEMENT should default to 0, as it did in stable
release versions before r127760. The feature define can be switched
on later, when its stability is determined and the test results are
rebaselined.

* GNUmakefile.features.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Allow overscroll to composited scroll layers
https://bugs.webkit.org/show_bug.cgi?id=95998
PR #195305

Reviewed by Rob Buis.
Patch by Antonio Gomes <agomes@rim.com>
Internally reviewed by Gen Mak.

No need to reset the overscroll limit factor at creation to 0.
It is already 0 by default, and later on the client sets the
appropriated value.

* WebKitSupport/InRegionScrollableArea.cpp:
(BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Need to rebaseline chromium tests after hidpi changes
https://bugs.webkit.org/show_bug.cgi?id=95579

Patch by Alex Sakhartchouk <alexst@chromium.org> on 2012-09-06
Reviewed by James Robinson.

Adding double resolution files for hidpi tests and updating expectations for broken image tests.

* platform/chromium-linux/fast/hidpi/broken-image-icon-hidpi-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/broken-image-with-size-hidpi-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/focus-rings-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-icon-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-with-size-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/clip-text-in-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/focus-rings-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-as-background-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-without-size-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-comparison-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-simple-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-in-content-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-out-of-order-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-simple-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-without-specified-width-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/resize-corner-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.png: Removed.
* platform/chromium-mac/fast/hidpi/clip-text-in-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-mac/fast/hidpi/focus-rings-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-as-background-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-without-size-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-comparison-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-in-content-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-out-of-order-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-without-specified-width-expected.png:
* platform/chromium-mac/fast/hidpi/resize-corner-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/clip-text-in-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/device-scale-factor-paint-expected.png:
* platform/chromium-win/fast/hidpi/focus-rings-expected.png:
* platform/chromium-win/fast/hidpi/image-set-as-background-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-repeat-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-repeat-without-size-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-comparison-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-simple-expected.png:
* platform/chromium-win/fast/hidpi/image-set-in-content-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-out-of-order-expected.png:
* platform/chromium-win/fast/hidpi/image-set-simple-expected.png:
* platform/chromium-win/fast/hidpi/image-set-without-specified-width-expected.png:
* platform/chromium-win/fast/hidpi/resize-corner-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium/TestExpectations:

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