[touchadjustment] touch-links-longpress tests passes incorrectly
https://bugs.webkit.org/show_bug.cgi?id=96810

Patch by Rick Byers <rbyers@chromium.org> on 2012-10-30
Reviewed by Antonio Gomes.

Tools:

Add support for suppling width/height information for longpress
gesture (as for other gestures like tapDown) for the purposes
of touch adjustment.

* DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
(WebTestRunner):
(WebTestRunner::EventSender::gestureEvent):

LayoutTests:

Fix touch-links-longpress test to be consistent with touch-links-active.
Now it's actually touching where we intended - at the center of the
touch region identified instead of the top/left corner.  Also pass
the width/height of the touch to EventSender in order to enable touch
adjustment.

Also adds checks to verify that our touches are actually landing on
or outside the element we're targetting as desired.

* touchadjustment/resources/touchadjustment.js:
(findAbsoluteBounds): Update to support both inline and block nodes (clientHeight is 0 for inline nodes)
* touchadjustment/touch-links-active.html: Use updated findAbsoluteBounds
* touchadjustment/touch-links-longpress.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Skip tiled drawing tests on Lion, since the TiledCoreAnimationDrawingArea is only
built for Mountain Lion and later.

* platform/mac-lion/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Some flaky http/security tests to add to the skip list.
Bug tracking flaky security tests here: https://bugs.webkit.org/show_bug.cgi?id=95803.

* platform/win/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
white-space: nowrap inline element beside a floated element wraps incorrectly without trailing textnode/newline
https://bugs.webkit.org/show_bug.cgi?id=29648

Reviewed by Levi Weintraub.

Source/WebCore:

A no-wrap child on a line inside an autowrap container should move to the next line if a float doesn't allow
it to fit. This will happen if there is trailing space after the no-wrap child but not if it's the last renderer
on the line. This is because nextLineBreak() is only interested in the white-space style of the current renderer
and the renderer's next sibling (if there is one) when deciding whether it needs to fit below any floats that
push it beyond the edge of the container. There isn't any situation in which a no-wrap child shouldn't move
below a float on an auto-wrap line though, so this check always needs to respect the container's white-space style too.

Test: fast/text/whitespace/no-wrap-child-in-auto-wrap-container.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextLineBreak):

LayoutTests:

* fast/text/whitespace/no-wrap-child-in-auto-wrap-container-expected.html: Added.
* fast/text/whitespace/no-wrap-child-in-auto-wrap-container.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use the message name when dispatching messages
https://bugs.webkit.org/show_bug.cgi?id=100774

Reviewed by Andreas Kling.

Change the message generator to decide which function to call based on the message name instead
of the MessageID. This is yet another step towards eliminating MessageID completely.

* Scripts/webkit2/messages.py:
(async_message_statement):
(sync_message_statement):
(generate_message_handler):
* Scripts/webkit2/messages_unittest.py:
* UIProcess/WebProcessProxy.h:
(WebKit::WebProcessProxy::send):
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::postMessage):
(WebKit::InjectedBundle::postSynchronousMessage):

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

* WebKitTestRunner/mac/EventSenderProxy.mm:
(WTR::EventSenderProxy::mouseScrollBy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Forward declare WebGraphicsContext3D in WebLayerTreeViewClient.h
https://bugs.webkit.org/show_bug.cgi?id=100717

Patch by James Robinson <jamesr@chromium.org> on 2012-10-30
Reviewed by Adrienne Walker.

Currently it isn't possible to include WebLayerTreeViewClient by itself.

* chromium/public/WebLayerTreeViewClient.h:
(WebKit):

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

* TestWebKitAPI/Tests/WebKit2/WebArchive.cpp:
(TestWebKitAPI::didReceiveMessageFromInjectedBundle):

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