[EFL][WK2] Process single tap using mouse move, down and up event.
https://bugs.webkit.org/show_bug.cgi?id=106864

Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2013-11-18
Reviewed by Christophe Dumez.

Send mouse events to the web process to perform the clicking when
single tap gesture is recognized.
Additionally, add WKViewSendMouseDownEvent(), WKViewSendMouseUpEvent()
and WKViewSendMouseMoveEvent() to avoid using WK2 internals in the EFL
API implementation.

* UIProcess/API/C/efl/WKViewEfl.cpp:
(WKViewSendMouseDownEvent):
(WKViewSendMouseUpEvent):
(WKViewSendMouseMoveEvent):
* UIProcess/API/C/efl/WKViewEfl.h:
* UIProcess/API/efl/GestureRecognizer.cpp:
(WebKit::GestureHandler::handleSingleTap):
* UIProcess/efl/WebViewEfl.cpp:
(WebKit::WebViewEfl::sendMouseEvent):
* UIProcess/efl/WebViewEfl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Rebaselining CSS tests' expectations.

* platform/gtk/css1/box_properties/margin_right-expected.png:
* platform/gtk/css1/box_properties/margin_right-expected.txt:
* platform/gtk/css1/box_properties/padding-expected.png:
* platform/gtk/css1/box_properties/padding-expected.txt:
* platform/gtk/css1/box_properties/padding_left-expected.png:
* platform/gtk/css1/box_properties/padding_left-expected.txt:
* platform/gtk/css1/box_properties/padding_right-expected.png:
* platform/gtk/css1/box_properties/padding_right-expected.txt:
* platform/gtk/css1/box_properties/padding_top-expected.png:
* platform/gtk/css1/box_properties/padding_top-expected.txt:
* platform/gtk/css1/formatting_model/vertical_formatting-expected.png:
* platform/gtk/css1/formatting_model/vertical_formatting-expected.txt:
* platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
* platform/gtk/css2.1/t0804-c5507-padn-r-00-c-ag-expected.png:
* platform/gtk/css2.1/t0804-c5507-padn-r-00-c-ag-expected.txt:
* platform/gtk/css2.1/t0804-c5509-padn-l-00-b-ag-expected.txt:
* platform/gtk/css2.1/t0804-c5510-padn-00-b-ag-expected.txt:
* platform/gtk/css2.1/t0905-c414-flt-wrap-00-e-expected.png:
* platform/gtk/css2.1/t0905-c414-flt-wrap-00-e-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Support exporting public RSASSA-PKCS1-v1_5 keys
https://bugs.webkit.org/show_bug.cgi?id=124475

Reviewed by Sam Weinig.

Source/WebCore: 

Test: crypto/subtle/rsa-export-key.html

* bindings/js/JSCryptoKeySerializationJWK.h:
* bindings/js/JSCryptoKeySerializationJWK.cpp:
(WebCore::JSCryptoKeySerializationJWK::buildJSONForRSAComponents):
(WebCore::JSCryptoKeySerializationJWK::addJWKAlgorithmToJSON):
(WebCore::JSCryptoKeySerializationJWK::serialize):
Added said support (this part works with private keys too).

* crypto/keys/CryptoKeyRSA.h:
* crypto/mac/CryptoKeyRSAMac.cpp:
(WebCore::CryptoKeyRSA::getPublicKeyComponents): Moved the logic for getting a
public key from private one here for reuse in keySizeInBits().
(WebCore::CryptoKeyRSA::isRestrictedToHash):
(WebCore::CryptoKeyRSA::keySizeInBits):
(WebCore::CryptoKeyRSA::exportData):
Exposed information necessary for JWK serialization.

LayoutTests: 

* crypto/subtle/rsa-export-key-expected.txt: Added.
* crypto/subtle/rsa-export-key.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Rebaselining various tests under fast/.

* platform/gtk/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
* platform/gtk/fast/backgrounds/size/contain-and-cover-zoomed-expected.txt: Added.
* platform/gtk/fast/block/float/016-expected.png:
* platform/gtk/fast/block/float/016-expected.txt:
* platform/gtk/fast/block/lineboxcontain/block-with-ideographs-expected.png: Added.
* platform/gtk/fast/block/lineboxcontain/block-with-ideographs-expected.txt:
* platform/gtk/fast/css/empty-pseudo-class-expected.txt:
* platform/gtk/fast/css/fieldset-display-row-expected.png:
* platform/gtk/fast/css/fieldset-display-row-expected.txt:
* platform/gtk/fast/css/first-child-pseudo-class-expected.txt:
* platform/gtk/fast/css/last-child-pseudo-class-expected.txt:
* platform/gtk/fast/css/only-child-pseudo-class-expected.txt:
* platform/gtk/fast/forms/basic-textareas-expected.png:
* platform/gtk/fast/forms/basic-textareas-expected.txt:
* platform/gtk/fast/forms/basic-textareas-quirks-expected.png:
* platform/gtk/fast/forms/basic-textareas-quirks-expected.txt:
* platform/gtk/fast/forms/textAreaLineHeight-expected.png:
* platform/gtk/fast/forms/textAreaLineHeight-expected.txt:
* platform/gtk/fast/parser/entity-comment-in-textarea-expected.png:
* platform/gtk/fast/parser/entity-comment-in-textarea-expected.txt:
* platform/gtk/fast/repaint/increasing-region-content-height-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening. Updating GTK-specific baselines for tests under editing/, scrollingcoordinator/ and tables/.

* platform/gtk/editing/deleting/smart-delete-003-expected.txt:
* platform/gtk/editing/deleting/smart-delete-004-expected.txt:
* platform/gtk/editing/spelling/centering-misspelling-dots-expected.png: Added.
* platform/gtk/editing/spelling/centering-misspelling-dots-expected.txt: Added.
* platform/gtk/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.png: Added.
* platform/gtk/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt: Added.
* platform/gtk/editing/unsupported-content/table-delete-001-expected.txt:
* platform/gtk/editing/unsupported-content/table-delete-003-expected.txt:
* platform/gtk/scrollingcoordinator: Added.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.png: Added.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-scaled-iframe-expected.txt: Added.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.png: Added.
* platform/gtk/scrollingcoordinator/non-fast-scrollable-region-transformed-iframe-expected.txt: Added.
* platform/gtk/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r159363): [GTK] API break in webkit_dom_html_media_element_set_current_time
https://bugs.webkit.org/show_bug.cgi?id=124485

Reviewed by Philippe Normand.

In r159363 currentTime attribute was changed to not raise
exceptions. This breaks the API of GObject DOM bindings because we
use a GError parameter for exceptions that has been removed.

* bindings/gobject/WebKitDOMCustom.cpp:
(webkit_dom_html_media_element_set_current_time): Custom
implementation that receives a GError for backwards
compatibility.
* bindings/gobject/WebKitDOMCustom.h:
* bindings/gobject/WebKitDOMCustom.symbols: Add
webkit_dom_html_media_element_set_current_time prototype.
* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skip
webkit_dom_html_media_element_set_current_time since we are adding
a custom implementation.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Update the global constructors' attibutes baseline for the WK2 flavor of the GTK port.
Update baselines for tests under media/.

* platform/gtk-wk2/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/media/W3C/video/canPlayType/canPlayType_codecs_order_1-expected.txt:
* platform/gtk/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_1-expected.txt:
* platform/gtk/media/W3C/video/canPlayType/canPlayType_two_implies_one_1-expected.txt:
* platform/gtk/media/W3C/video/canPlayType/canPlayType_two_implies_one_2-expected.txt:
* platform/gtk/media/media-can-play-ogg-expected.txt:
* platform/gtk/media/video-controls-captions-trackmenu-localized-expected.txt:
* platform/gtk/media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles-expected.txt: Added.
* platform/gtk/media/video-controls-captions-trackmenu-sorted-expected.txt:
* platform/gtk/media/volume-bar-empty-when-muted-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Update GObject DOM symbols file after r159208 and r159363.

* bindings/gobject/webkitdom.symbols: Add
webkit_dom_html_media_element_fast_seek prototype.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

* platform/gtk/TestExpectations: Addressing the current set of timing-out tests. Timeout expectations
are added where appropriate, with one js/regress/ test speculatively marked as slow.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Update GObject DOM symbols file after r158662.

* bindings/gobject/webkitdom.symbols: Add missing prototypes.

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