Unreviewed follow up Apple Win build fix for r128992.

* inspector/InspectorAllInOne.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][UT] Refactoring an implementation of testing framework for wk1.
https://bugs.webkit.org/show_bug.cgi?id=94925

Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-09-19
Reviewed by Gyuyoung Kim.

The reason of changing, was to adjust current implementation to use gtest features
related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods
and lastly to make framework easier to use.

* tests/UnitTestUtils/EWKTestBase.cpp:
(EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view.
(EWKUnitTests::EWKTestBase::webView): Returns current webview.
(EWKUnitTests::EWKTestBase::SetUp):
Before test is started, SetUp is called.
Used this to initialize efl and test view.
(EWKUnitTests::EWKTestBase::TearDown):
TearDown is called as soon as test is completed.
Used this to properly shutdown efl and clean test view.
(EWKUnitTests::EWKTestBase::onLoadFinished):
(EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded.
(EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page.
* tests/UnitTestUtils/EWKTestBase.h:
* tests/UnitTestUtils/EWKTestView.cpp:
(EWKUnitTests::EWKTestView::EWKTestView):
(EWKUnitTests::EWKTestView::init): Initialize test view.
* tests/UnitTestUtils/EWKTestView.h:
(EWKTestView):
* tests/test_ewk_view.cpp:
(TEST_F):
* tests/test_runner.cpp:
(main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] REGRESSION(r128907): it broke several WebKit2 API tests
https://bugs.webkit.org/show_bug.cgi?id=97092

Reviewed by Martin Robinson.

Calling resizeLater() from the constructor of
RedirectedXCompositeWindow can cause the callback to be called
later by the main loop after the RedirectedXCompositeWindow object
has been destroyed. Instead of calling resizeLater(), initialize
the usable size to the given initial size.

* platform/gtk/RedirectedXCompositeWindow.cpp:
(WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed another follow up Apple Win build fix for r128992.

* inspector/InspectorAllInOne.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Skip fast/dom/message-port-deleted-by-accessor.html
https://bugs.webkit.org/show_bug.cgi?id=97105

Unreviewed EFL gardening.

Add fast/dom/message-port-deleted-by-accessor.html to
TestExpectations because it sometimes crashes on debug
build bots after r128802.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-19

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Do touch adjustment on GestureTapDown
https://bugs.webkit.org/show_bug.cgi?id=96677

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

Source/WebCore:

Do touch adjustment on GestureTapDown exactly as for GestureTap today.

Test: touchadjustment/touch-links-active.html

* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
(WebCore::EventHandler::adjustGesturePosition):

Tools:

Allow radius to be set for GestureTapDown events.
* DumpRenderTree/chromium/TestRunner/EventSender.cpp:
(EventSender::gestureEvent):

LayoutTests:

Make a few tweaks to the touchadjustment.js infrastructure to make it
simpler and easier to use.  Add a test for touch-adjustment of
GestureTapDown events (based on touch-links-longpress).

* touchadjustment/resources/touchadjustment.js:
(touchPoint.return.left.x.radiusX.top.y.radiusY.width.radiusX.2.height.radiusY.2.get x):
(touchPoint.return.get y):
(touchPoint):
(offsetTouchPoint):
* touchadjustment/touch-links-active-expected.txt: Added.
* touchadjustment/touch-links-active.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[gtk] add enable-media-stream to websettings
https://bugs.webkit.org/show_bug.cgi?id=94361

Patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2012-09-19
Reviewed by Martin Robinson.

Applications should be allowed to enable/disable MediaStream on webkitwebsettings.

* webkit/webkitwebsettings.cpp:
(webkit_web_settings_class_init):
(webkit_web_settings_set_property):
(webkit_web_settings_get_property):
* webkit/webkitwebsettingsprivate.h:
* webkit/webkitwebview.cpp:
(webkit_web_view_update_settings):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] remove static_cast which will cause video crash
https://bugs.webkit.org/show_bug.cgi?id=97070

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-09-19
Reviewed by Antonio Gomes.

Removed the static_cast to avoid layering violation which
will cause a runtime crash.
We won't create a real MediaPlayerPrivate object before we call
MediaPlayer::load(), so if we use player()->implementation()
before calling load() in some cases, it points to a
NullMediaPlayerPrivate object. Here we should not use static_cast,
instead we should use HTMLMediaElement::percentLoaded() to
avoid layering violation as we don't have the buffering bug which
the deleted comment refers to.

Internally reviewed by Max Feil.

Test case: media/video-size.html

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::paintMediaSliderTrack):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Update test expectation for indexeddb test that is currently only run using content_browsertests

Unreviewed gardening.

* storage/indexeddb/intversion-delete-in-upgradeneeded-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Network request headers text fallback has typo.
https://bugs.webkit.org/show_bug.cgi?id=96280

Reviewed by Pavel Feldman.

* inspector/front-end/NetworkRequest.js:
(WebInspector.NetworkRequest.prototype.get requestHeadersText):
(WebInspector.NetworkRequest.prototype.get responseHeadersText):

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