Unreviewed build fix for r70400.

Add dummy setCookieStoragePrivateBrowsingEnabled.

* platform/brew/TemporaryLinkStubs.cpp: Added.
(WebCore::setCookieStoragePrivateBrowsingEnabled):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Added check to ensure that events with the type "mousedown" are mouse events before dispatching.
        https://bugs.webkit.org/show_bug.cgi?id=48159

        Test: fast/events/keyboardevent-mousedown-crash.html

        * dom/Node.cpp:
        (WebCore::Node::defaultEventHandler):
2010-10-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dimitri Glazkov.

        Tests for a crash when an event with the type "mousedown" is not a MouseEvent.
        https://bugs.webkit.org/show_bug.cgi?id=48159

        * fast/events/keyboardevent-mousedown-crash-expected.txt: Added.
        * fast/events/keyboardevent-mousedown-crash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  David Tapuska  <dtapuska@rim.com>

        Reviewed by David Kilzer.

        Enable VFP if our compiler settings indicated we had a hardware
        VFP.

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

        * assembler/MacroAssemblerARM.cpp:
        (JSC::isVFPPresent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed checksum rebaseline for Snow Leopard.

        * platform/mac-leopard/compositing/overflow/ancestor-overflow-expected.checksum: Copied from LayoutTests/platform/mac/compositing/overflow/ancestor-overflow-expected.checksum.
        * platform/mac-leopard/compositing/overflow/ancestor-overflow-expected.png: Added.
        * platform/mac-leopard/compositing/overflow/scrollbar-painting-expected.checksum: Copied from LayoutTests/platform/mac/compositing/overflow/scrollbar-painting-expected.checksum.
        * platform/mac-leopard/compositing/overflow/scrollbar-painting-expected.png: Added.
        * platform/mac-leopard/compositing/transitions/singular-scale-transition-expected.checksum: Copied from LayoutTests/platform/mac/compositing/transitions/singular-scale-transition-expected.checksum.
        * platform/mac-leopard/compositing/transitions/singular-scale-transition-expected.png: Added.
        * platform/mac-leopard/editing/selection/select-text-overflow-ellipsis-expected.checksum: Copied from LayoutTests/platform/mac/editing/selection/select-text-overflow-ellipsis-expected.checksum.
        * platform/mac-leopard/editing/selection/select-text-overflow-ellipsis-expected.png: Added.
        * platform/mac-leopard/editing/selection/transformed-selection-rects-expected.checksum: Copied from LayoutTests/platform/mac/editing/selection/transformed-selection-rects-expected.checksum.
        * platform/mac-leopard/editing/selection/transformed-selection-rects-expected.png: Added.
        * platform/mac-leopard/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum: Copied from LayoutTests/platform/mac/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum.
        * platform/mac-leopard/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.png: Added.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-compat-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/float/avoidance-percent-width-compat-expected.checksum.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-compat-expected.png: Added.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-strict-expected.checksum: Copied from LayoutTests/platform/mac/fast/block/float/avoidance-percent-width-strict-expected.checksum.
        * platform/mac-leopard/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-backgrounds-and-text-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-backgrounds-and-text-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-backgrounds-and-text-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-background-image-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-background-image-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-background-image-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-backgrounds-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-backgrounds-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-backgrounds-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-box-shadow-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-box-shadow-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-box-shadow-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-text-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-text-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-text-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-on-text-shadow-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-on-text-shadow-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-on-text-shadow-expected.png: Added.
        * platform/mac-leopard/fast/css/color-correction-untagged-images-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/color-correction-untagged-images-expected.checksum.
        * platform/mac-leopard/fast/css/color-correction-untagged-images-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-comments-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-comments-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-comments-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-empty-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-empty-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-empty-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-escapes-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-escapes-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-escapes-expected.png: Added.
        * platform/mac-leopard/fast/css/namespaces/namespaces-invalid-at-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/namespaces/namespaces-invalid-at-expected.checksum.
        * platform/mac-leopard/fast/css/namespaces/namespaces-invalid-at-expected.png: Added.
        * platform/mac-leopard/fast/css/variables/misplaced-import-test-expected.checksum: Copied from LayoutTests/platform/mac/fast/css/variables/misplaced-import-test-expected.checksum.
        * platform/mac-leopard/fast/css/variables/misplaced-import-test-expected.png: Added.
        * platform/mac-leopard/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum.
        * platform/mac-leopard/fast/fast-mobile-scrolling/fixed-position-element-expected.png: Added.
        * platform/mac-leopard/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum: Copied from LayoutTests/platform/mac/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum.
        * platform/mac-leopard/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.png: Added.
        * platform/mac-leopard/fast/lists/anonymous-items-expected.checksum: Copied from LayoutTests/platform/mac/fast/lists/anonymous-items-expected.checksum.
        * platform/mac-leopard/fast/lists/anonymous-items-expected.png: Added.
        * platform/mac-leopard/fast/overflow/line-clamp-expected.checksum: Copied from LayoutTests/platform/mac/fast/overflow/line-clamp-expected.checksum.
        * platform/mac-leopard/fast/overflow/line-clamp-expected.png: Added.
        * platform/mac-leopard/fast/overflow/position-fixed-transform-clipping-expected.checksum: Copied from LayoutTests/platform/mac/fast/overflow/position-fixed-transform-clipping-expected.checksum.
        * platform/mac-leopard/fast/overflow/position-fixed-transform-clipping-expected.png: Added.
        * platform/mac-leopard/fast/reflections/abs-position-in-reflection-expected.checksum: Copied from LayoutTests/platform/mac/fast/reflections/abs-position-in-reflection-expected.checksum.
        * platform/mac-leopard/fast/reflections/abs-position-in-reflection-expected.png: Added.
        * platform/mac-leopard/fast/reflections/opacity-reflection-transform-expected.checksum: Copied from LayoutTests/platform/mac/fast/reflections/opacity-reflection-transform-expected.checksum.
        * platform/mac-leopard/fast/reflections/opacity-reflection-transform-expected.png: Added.
        * platform/mac-leopard/fast/repaint/line-in-scrolled-clipped-block-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/line-in-scrolled-clipped-block-expected.checksum.
        * platform/mac-leopard/fast/repaint/line-in-scrolled-clipped-block-expected.png: Added.
        * platform/mac-leopard/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum.
        * platform/mac-leopard/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png: Added.
        * platform/mac-leopard/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum.
        * platform/mac-leopard/fast/repaint/rel-positioned-inline-with-overflow-expected.png: Added.
        * platform/mac-leopard/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum.
        * platform/mac-leopard/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Added.
        * platform/mac-leopard/fast/repaint/subtree-layoutstate-transform-expected.checksum: Copied from LayoutTests/platform/mac/fast/repaint/subtree-layoutstate-transform-expected.checksum.
        * platform/mac-leopard/fast/repaint/subtree-layoutstate-transform-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-inside-percent-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-div-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.png: Added.
        * platform/mac-leopard/fast/table/fixed-table-with-small-percent-width-expected.checksum: Copied from LayoutTests/platform/mac/fast/table/fixed-table-with-small-percent-width-expected.checksum.
        * platform/mac-leopard/fast/table/fixed-table-with-small-percent-width-expected.png: Added.
        * platform/mac-leopard/fast/text/sticky-typesetting-features-expected.checksum: Copied from LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.checksum.
        * platform/mac-leopard/fast/text/sticky-typesetting-features-expected.png: Added.
        * platform/mac-leopard/http/tests/misc/slow-loading-mask-expected.checksum: Copied from LayoutTests/platform/mac/http/tests/misc/slow-loading-mask-expected.checksum.
        * platform/mac-leopard/http/tests/misc/slow-loading-mask-expected.png: Added.
        * platform/mac-leopard/plugins/embed-attributes-style-expected.checksum: Copied from LayoutTests/platform/mac/plugins/embed-attributes-style-expected.checksum.
        * platform/mac-leopard/plugins/embed-attributes-style-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-1-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug106158-1-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-1-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-2-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug106158-2-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug106158-2-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug34176-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug34176-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug34176-expected.png: Added.
        * platform/mac-leopard/tables/mozilla/bugs/bug6674-expected.checksum: Copied from LayoutTests/platform/mac/tables/mozilla/bugs/bug6674-expected.checksum.
        * platform/mac-leopard/tables/mozilla/bugs/bug6674-expected.png: Added.
        * platform/mac-leopard/transforms/2d/transform-fixed-container-expected.checksum: Copied from LayoutTests/platform/mac/transforms/2d/transform-fixed-container-expected.checksum.
        * platform/mac-leopard/transforms/2d/transform-fixed-container-expected.png: Added.
        * platform/mac/compositing/masks/direct-image-mask-expected.checksum:
        * platform/mac/compositing/overflow/ancestor-overflow-expected.checksum:
        * platform/mac/compositing/overflow/scrollbar-painting-expected.checksum:
        * platform/mac/compositing/transitions/singular-scale-transition-expected.checksum:
        * platform/mac/editing/selection/select-text-overflow-ellipsis-expected.checksum:
        * platform/mac/editing/selection/transformed-selection-rects-expected.checksum:
        * platform/mac/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum:
        * platform/mac/fast/block/float/avoidance-percent-width-compat-expected.checksum:
        * platform/mac/fast/block/float/avoidance-percent-width-strict-expected.checksum:
        * platform/mac/fast/css/color-correction-backgrounds-and-text-expected.checksum:
        * platform/mac/fast/css/color-correction-expected.checksum:
        * platform/mac/fast/css/color-correction-on-background-image-expected.checksum:
        * platform/mac/fast/css/color-correction-on-backgrounds-expected.checksum:
        * platform/mac/fast/css/color-correction-on-box-shadow-expected.checksum:
        * platform/mac/fast/css/color-correction-on-text-expected.checksum:
        * platform/mac/fast/css/color-correction-on-text-shadow-expected.checksum:
        * platform/mac/fast/css/color-correction-untagged-images-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-comments-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-empty-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-escapes-expected.checksum:
        * platform/mac/fast/css/namespaces/namespaces-invalid-at-expected.checksum:
        * platform/mac/fast/css/variables/misplaced-import-test-expected.checksum:
        * platform/mac/fast/fast-mobile-scrolling/fixed-position-element-expected.checksum:
        * platform/mac/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.checksum:
        * platform/mac/fast/lists/anonymous-items-expected.checksum:
        * platform/mac/fast/overflow/line-clamp-expected.checksum:
        * platform/mac/fast/overflow/position-fixed-transform-clipping-expected.checksum:
        * platform/mac/fast/reflections/abs-position-in-reflection-expected.checksum:
        * platform/mac/fast/reflections/opacity-reflection-transform-expected.checksum:
        * platform/mac/fast/repaint/line-in-scrolled-clipped-block-expected.checksum:
        * platform/mac/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.checksum:
        * platform/mac/fast/repaint/rel-positioned-inline-with-overflow-expected.checksum:
        * platform/mac/fast/repaint/selection-gap-overflow-scroll-2-expected.checksum:
        * platform/mac/fast/repaint/subtree-layoutstate-transform-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-inside-percent-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-auto-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-div-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-extra-large-div-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-percent-width-inside-fixed-width-table-expected.checksum:
        * platform/mac/fast/table/fixed-table-with-small-percent-width-expected.checksum:
        * platform/mac/fast/text/sticky-typesetting-features-expected.checksum:
        * platform/mac/http/tests/misc/slow-loading-mask-expected.checksum:
        * platform/mac/plugins/embed-attributes-style-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug106158-1-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug106158-2-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug34176-expected.checksum:
        * platform/mac/tables/mozilla/bugs/bug6674-expected.checksum:
        * platform/mac/transforms/2d/transform-fixed-container-expected.checksum:
        * platform/mac/transitions/move-after-transition-expected.checksum:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Ben Murdoch  <benm@google.com>

        Reviewed by Steve Block.

        Build break with ENABLE(BLOB) and not ENABLE(3D_CANVAS)
        https://bugs.webkit.org/show_bug.cgi?id=48243

        Build fix only so no new tests.

        * bindings/generic/RuntimeEnabledFeatures.h: Guard appropriately.
        * bindings/v8/custom/V8ArrayBufferViewCustom.h: ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Control + Mousewheel shouldn't be handled in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=48253
        
Reviewed by Adam Roben.

Don't handle a wheel event if Control is pressed, pass the message back to DefWindowProc.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onWheelEvent):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a pageDidScroll BundleUIClient callback
https://bugs.webkit.org/show_bug.cgi?id=48260
<rdar://problem/8531159>

Reviewed by Adam Roben.

WebKit2:

* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
(WebKit::InjectedBundlePageUIClient::pageDidScroll):
Call the pageDidScroll callback.

* WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::invalidateContentsForSlowScroll):
(WebKit::WebChromeClient::scroll):
Call pageDidScroll.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::pageDidScroll):
Hide the find banner UI and call the BundleUIClient pageDidScroll callback.

WebKitTools:

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        Should use eventSender for simulating keyboard events instead of using js
        event.initKeyboardEvent. Otherwise, inside WebCore, the keyboardevent
        object does not have a "PlatformKeyboardEvent" associated with it and this
        results different behavior as the real key press.
        This code change unveils that test snav-multiple-select.html is broken. It
        alos causes snav-single-select.html hangs on Mac. These will be fixed in
        seperate patches.
        https://bugs.webkit.org/show_bug.cgi?id=48134

        * fast/events/spatial-navigation/resources/spatial-navigation-utils.js:
        (doMove):
        * fast/events/spatial-navigation/snav-multiple-select-expected.txt:
        * platform/mac/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=48257

Reviewed by Dan Bernstein.

WebCore: 

Make "rl" and "bt" writing-modes work for blocks and lines.  InlineTextBox is refactored to compute the correct
top left corner and left baseline edge once so that can be passed down to all the painting functions instead of
tx and ty.
        
adjustment helpers have been added that can be called before painting children or lines and that fix up
the coordinates from flipped to physical.
        
Added fast/blockflow/english-rl-text.html and fast/blockflow/english-bt-text.html

* rendering/InlineBox.cpp:
(WebCore::InlineBox::adjustForFlippedBlocksWritingMode):
* rendering/InlineBox.h:
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
* rendering/InlineTextBox.cpp:
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintCompositionBackground):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
(WebCore::InlineTextBox::paintTextMatchMarker):
(WebCore::InlineTextBox::computeRectForReplacementMarker):
(WebCore::InlineTextBox::paintDocumentMarkers):
(WebCore::InlineTextBox::paintCompositionUnderline):
* rendering/InlineTextBox.h:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintChildren):
(WebCore::RenderBlock::paintFloats):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::adjustForFlippedBlocksWritingMode):
* rendering/RenderBox.h:
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::isFlippedBlocksWritingMode):

LayoutTests: 

Make "rl" and "bt" writing-modes work for blocks and lines.  InlineTextBox is refactored to compute the correct
top left corner and left baseline edge once so that can be passed down to all the painting functions instead of
tx and ty.
        
adjustment helpers have been added that can be called before painting children or lines and that fix up
the coordinates from flipped to physical.
        
Added fast/blockflow/english-rl-text.html and fast/blockflow/english-bt-text.html
* fast/blockflow/english-bt-text.html: Added.
* fast/blockflow/english-rl-text.html: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.png: Added.
* platform/mac/fast/blockflow/english-bt-text-expected.txt: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.png: Added.
* platform/mac/fast/blockflow/english-rl-text-expected.txt: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Buildfix for NetworkStateNotifier
        https://bugs.webkit.org/show_bug.cgi?id=48240

        WinCE does not support RegisterWaitForSingleObject, so disable it for now.

        * platform/network/win/NetworkStateNotifierWin.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Calling FileReader.abort during reading could cause crash
https://bugs.webkit.org/show_bug.cgi?id=48163

Reviewed by David Levin.

WebCore:

Test: fast/files/file-reader-abort.html

* fileapi/FileReader.cpp:
(WebCore::delayedAbort):
(WebCore::FileReader::abort): Schedule to do the abort later to work
around the case that abort() could be called from event handler.
(WebCore::FileReader::doAbort):
(WebCore::FileReader::didFail): Do not go with normal error handling
when we are in the process of aborting.
(WebCore::FileReader::failed):
(WebCore::FileReader::readyState):
* fileapi/FileReader.h:

LayoutTests:

* fast/files/file-reader-abort-expected.txt: Added.
* fast/files/file-reader-abort.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Add a config flag and a define (WTF_USE_TEXTURE_MAPPER) to WebCore, to enable opt-in compilation of texture-mapper with Qt.

        No new tests: WIP for a new implementation.

        * WebCore.pro:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update WebKit2 skipped list.

Rubber-stamped by Jon Honeycutt.

* platform/mac-wk2/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Glue layer (WebCoreSupport) changes to allow connecting TextureMapper to a Qt PageClient, i.e.
        a QWebView or a QGraphicsWebView. This enables the new type, TextureMapperPlatformLayer, to be recognized both by
        the compositor and by the page client.
        Note that this is temporarily an opt-in, under USE(TEXTURE_MAPPER)

        No new tests: the existing tests under LayoutTests/compositing already cover this.

        * platform/graphics/GraphicsLayer.h:
        * platform/qt/QWebPageClient.h:
        (QWebPageClient::setRootGraphicsLayer):
2010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=47070

        Glue layer (WebCoreSupport) changes to allow connecting TextureMapper to a Qt PageClient, i.e.
        a QWebView or a QGraphicsWebView. This enables the new type, TextureMapperPlatformLayer, to be recognized both by
        the compositor and by the page client.
        Note that this is temporarily an opt-in, under USE(TEXTURE_MAPPER)

        * Api/qwebframe.h:
        * Api/qwebframe_p.h:
        (QWebFramePrivate::QWebFramePrivate):
        * Api/qwebpage.cpp:
        (QWebPage::setView):
        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::attachRootGraphicsLayer):
        * WebCoreSupport/PageClientQt.cpp:
        (WebCore::PlatformLayerProxyQt::PlatformLayerProxyQt):
        (WebCore::PlatformLayerProxyQt::~PlatformLayerProxyQt):
        (WebCore::PlatformLayerProxyQt::setSizeChanged):
        (WebCore::PlatformLayerProxyQWidget::PlatformLayerProxyQWidget):
        (WebCore::PlatformLayerProxyQWidget::eventFilter):
        (WebCore::PlatformLayerProxyQWidget::setNeedsDisplay):
        (WebCore::PlatformLayerProxyQWidget::setNeedsDisplayInRect):
        (WebCore::PlatformLayerProxyQGraphicsObject::PlatformLayerProxyQGraphicsWidget):
        (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplay):
        (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplayInRect):
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
        (WebCore::PageClientQWidget::markForSync):
        (WebCore::PageClientQWidget::syncLayers):
        (WebCore::PageClientQGraphicsWidget::updateCompositingScrollPosition):
        (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
        * WebCoreSupport/PageClientQt.h:
        (WebCore::PageClientQWidget::PageClientQWidget):
        (WebCore::PageClientQWidget::allowsAcceleratedCompositing):
        (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Support appending an ArrayBuffer object in BlobBuilder
https://bugs.webkit.org/show_bug.cgi?id=47701

Reviewed by David Levin.

WebCore:

Test cases have been added to read-blob-test-cases.js.

* fileapi/BlobBuilder.cpp:
(WebCore::BlobBuilder::getBuffer):
(WebCore::BlobBuilder::append): Removed bool return values since they
weren't used.
* fileapi/BlobBuilder.h:
* fileapi/BlobBuilder.idl:

LayoutTests:

* fast/files/read-blob-async-expected.txt:
* fast/files/resources/read-blob-test-cases.js:
(testReadingSingleArrayBufferBlob):
(testReadingSlicedArrayBufferBlob):
(testReadingMultipleArrayBufferBlob):
(testReadingHybridBlob):
(testReadingSlicedHybridBlob):
(testReadingTripleSlicedHybridBlob):
* fast/files/workers/worker-read-blob-async-expected.txt:
* fast/files/workers/worker-read-blob-sync-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Dimitri Glazkov  <dglazkov@chromium.org>

        Added more flakiness expectations.
        https://bugs.webkit.org/show_bug.cgi?id=48263

        * platform/chromium/test_expectations.txt: Added flaky timeout.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Allow embedder to pass on all the speech recognition results to the input element.
        https://bugs.webkit.org/show_bug.cgi?id=48068

        No new tests added as functionality has not changed, tests will be added in the next
        patch where these results are exposed as an attribute to scripts.

        * Android.mk: Added new source files.
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * page/SpeechInput.cpp:
        (WebCore::SpeechInput::setRecognitionResult): Accept an array instead of a single string.
        * page/SpeechInput.h:
        * page/SpeechInputListener.h:
        * page/SpeechInputResult.cpp: Added, defines a class for managing a speech input result.
        (WebCore::SpeechInputResult::create):
        (WebCore::SpeechInputResult::SpeechInputResult):
        (WebCore::SpeechInputResult::confidence):
        (WebCore::SpeechInputResult::utterance):
        * page/SpeechInputResult.h: Added.
        * platform/mock/SpeechInputClientMock.cpp:
        (WebCore::SpeechInputClientMock::timerFired):
        * rendering/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
        * rendering/TextControlInnerElements.h:
2010-10-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Jeremy Orlow.

        Allow embedder to pass on all the speech recognition results to the input element.
        https://bugs.webkit.org/show_bug.cgi?id=48068

        * WebKit.gyp: Added new files
        * public/WebSpeechInputListener.h:
        * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
        (WebKit::WebSpeechInputResult::WebSpeechInputResult):
        (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
        * src/SpeechInputClientImpl.cpp:
        (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
        * src/SpeechInputClientImpl.h:
        * src/WebSpeechInputControllerMockImpl.cpp:
        (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
        * src/WebSpeechInputControllerMockImpl.h:
        * src/WebSpeechInputResult.cpp: Added.
        (WebKit::WebSpeechInputResult::reset):
        (WebKit::WebSpeechInputResult::WebSpeechInputResult):
        (WebKit::WebSpeechInputResult::set):
        (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Replace matchCountDidChange with didFindString/didFailToFindString
https://bugs.webkit.org/show_bug.cgi?id=48262
<rdar://problem/8568928>

Reviewed by Darin Adler.

* UIProcess/API/C/WKPage.h:
* UIProcess/WebFindClient.cpp:
(WebKit::WebFindClient::didFindString):
(WebKit::WebFindClient::didFailToFindString):
* UIProcess/WebFindClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFindString):
(WebKit::WebPageProxy::didFailToFindString):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Added expectations for r70482.
        https://bugs.webkit.org/show_bug.cgi?id=48257

        * platform/chromium-linux/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-linux/fast/blockflow/english-rl-text-expected.checksum: Added.
        * platform/chromium-mac/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.png: Added.
        * platform/chromium-win/fast/blockflow/english-bt-text-expected.txt: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.checksum: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.png: Added.
        * platform/chromium-win/fast/blockflow/english-rl-text-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Ojan Vafai.

        Unformat deletes images
        https://bugs.webkit.org/show_bug.cgi?id=17926

        * editing/execCommand/remove-format-image-expected.txt: Added.
        * editing/execCommand/remove-format-image.html: Added.


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