2010-11-14  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium rebaseline and expectations update.

        * platform/chromium-mac/fast/blockflow/vertical-font-fallback-expected.checksum: Added.
        * platform/chromium-mac/fast/blockflow/vertical-font-fallback-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

        Unreviewed Chromium expectations update.

        Remove two tests that consistently pass on chromium-mac.

        * platform/chromium/test_expectations.txt:

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

Reviewed by Dan Bernstein.

REGRESSION svg/W3C-SVG-1.1/fonts-desc-02-t.svg broken by r71979.
        
Refine the font selection function for @font-face to be smarter about what fonts it prefers.  If
a font is labeled as only supporting small-caps, then prefer it to one that claims to support both
normal and small-caps.  The specialized font is more likely to be true small-caps and to not rely
on synthesis.
        
Added the same logic for italic as well.  Prefer the font that is specifically restricted to
italic to one that claims it can support anything.

* css/CSSFontSelector.cpp:
(WebCore::compareFontFaces):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-14  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        [HTML5] "form" attribute support for form control elements
        https://bugs.webkit.org/show_bug.cgi?id=47813

        Adds a test file for "form" attribute of form-associated elements.
        The test might need to be revised because <label> and <object> don't
        support "form" attribute for now, in spite of the HTML5 spec says that
        they should support.

        * fast/forms/form-attribute-elements-expected.txt: Added.
        * fast/forms/form-attribute-elements-order-expected.txt: Added.
        * fast/forms/form-attribute-elements-order.html: Added.
        * fast/forms/form-attribute-elements-order2-expected.txt: Added.
        * fast/forms/form-attribute-elements-order2.html: Added.
        * fast/forms/form-attribute-elements.html: Added.
        * fast/forms/form-attribute-expected.txt: Added.
        * fast/forms/form-attribute.html: Added.
        * fast/forms/script-tests/form-attribute-elements-order.js: Added.
        * fast/forms/script-tests/form-attribute-elements-order2.js: Added.
        * fast/forms/script-tests/form-attribute-elements.js: Added.
        * fast/forms/script-tests/form-attribute.js: Added.
2010-11-14  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        [HTML5] "form" attribute support for form control elements
        https://bugs.webkit.org/show_bug.cgi?id=47813

        Adds a list of form-associated elements with form attribute into
        the Document class to support form attribute.
        Adds a function to determine the right place to locate
        form-associated elements with form attribute into
        m_associatedElements of HTMLFormElement class.

        Tests: fast/forms/form-attribute-elements-order.html
               fast/forms/form-attribute-elements-order2.html
               fast/forms/form-attribute-elements.html
               fast/forms/form-attribute.html

        * dom/Document.cpp:
        (WebCore::Document::registerFormElementWithFormAttribute): Added.
        (WebCore::Document::unregisterFormElementWithFormAttribute): Added.
        (WebCore::Document::resetFormElementsOwner): Added.
        * dom/Document.h: Added the list for elements with form attribute.
        * html/HTMLAttributeNames.in: Added form attribute.
        * html/HTMLFormControlElement.cpp:
        (WebCore::HTMLFormControlElement::insertedIntoTree): Modified to handle
        form attribute.
        (WebCore::HTMLFormControlElement::removedFromTree): Ditto.
        (WebCore::HTMLFormControlElement::resetFormOwner): Added.
        (WebCore::HTMLFormControlElement::attributeChanged): Added.
        * html/HTMLFormControlElement.h:
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::HTMLFormElement): Modified to initialize
        newly-added variables.
        (WebCore::HTMLFormElement::insertedIntoDocument): Modified to reset
        form owner of form-associated elements.
        (WebCore::HTMLFormElement::removedFromDocument): Ditto.
        (WebCore::HTMLFormElement::formElementIndexWithFormAttribute): Added.
        (WebCore::HTMLFormElement::formElementIndex): Modified to treat
        form-associated elements with form attribute separately.
        (WebCore::HTMLFormElement::removeFormElement): Modified to handle
        form-associated elements with form attribute.
        * html/HTMLFormElement.h: Added three variables to handle form attribute.
        * html/HTMLOutputElement.cpp: Removed "FIXME" comment.
        (WebCore::HTMLOutputElement::parseMappedAttribute):
        * html/HTMLOutputElement.h: Removed setForm().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
KeyboardEvent::keyIdentifier() should return "const String&"
https://bugs.webkit.org/show_bug.cgi?id=49426

Reviewed by Andreas Kling.

WebCore:

No new tests. This shouldn't change the current behavior.

* dom/KeyboardEvent.h:
(WebCore::KeyboardEvent::keyIdentifier): Change the return type; String -> const String&
* dom/SelectElement.cpp:
(WebCore::SelectElement::menuListDefaultEventHandler):
  Change the type of a variable to have keyIdentifier(); String -> const String&
(WebCore::SelectElement::listBoxDefaultEventHandler): ditto.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::defaultEventHandler): ditto.
(WebCore::HTMLInputElement::handleKeyEventForRange): ditto.
* page/EventHandler.cpp:
(WebCore::EventHandler::handleKeyboardSelectionMovement): ditto.

WebKit/mac:

* WebCoreSupport/WebEditorClient.mm:
(selectorForKeyEvent):
  Change the type of a variable to have keyIdentifier(); String -> const String&

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-14  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Improve API for form validation message strings
        https://bugs.webkit.org/show_bug.cgi?id=34945

        This change introduces three new functions;
        validationMessageTypeMismatchFor*Text(). The implementation for each
        platform is just a call to validationMessageTypeMismatchText().

        Some validationMessage*() functions have new parameters.  The parameters
        are ignored in all platforms for now.

        This change doesn't change any behavior. However a platform can add
        additional information to validation messages.  e.g. Changing "type
        mismatch" to "Please specify an e-mail address" for <input type=email>.

        * html/EmailInputType.cpp:
        (WebCore::EmailInputType::typeMismatchText): Call validationMessageTypeMismatchForEmailText()
          or validationMessageTypeMismatchForMultipleEmailText().
        * html/EmailInputType.h:
        * html/HTMLFormControlElement.h: Add maxLength() and value() to access them from ValidityState.
        * html/HTMLInputElement.cpp: Add the following functions to pass extra
          information to validation message string functions.
        (WebCore::HTMLInputElement::minimumString):
        (WebCore::HTMLInputElement::maximumString):
        (WebCore::HTMLInputElement::stepBaseString):
        (WebCore::HTMLInputElement::stepString):
        (WebCore::HTMLInputElement::typeMismatchText):
        * html/HTMLInputElement.h:
        * html/HTMLTextAreaElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::typeMismatchText): Call validationMessageTypeMismatchText().
        * html/InputType.h:
        * html/URLInputType.cpp:
        (WebCore::URLInputType::typeMismatchText): Call validationMessageTypeMismatchForURLText().
        * html/URLInputType.h:
        * html/ValidityState.cpp:
        (WebCore::ValidityState::validationMessage):
        * platform/LocalizedStrings.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
        * platform/LocalizedStrings.h:
          - Add validationMessageTypeMismatchForEmailText(),
            validationMessageTypeMismatchForMultipleEmailText() and
            validationMessageTypeMismatchForURLText()
          - Add length parameters to validationMessageTooLongText().
          - Add the minimum value parameter to validationMessageRangeUnderflowText()
          - Add the maximum value parameter to validationMessageRangeOverflowText()
          - Add parameters of the base value and the step value to validationMessageStepMismatchText()
        * platform/android/LocalizedStringsAndroid.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
        * platform/brew/LocalizedStringsBrew.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
        * platform/efl/LocalizedStringsEfl.cpp:
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageStepMismatchText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        * platform/gtk/LocalizedStringsGtk.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
        * platform/haiku/LocalizedStringsHaiku.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
        * platform/wx/LocalizedStringsWx.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):
2010-11-14  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Improve API for form validation message strings
        https://bugs.webkit.org/show_bug.cgi?id=34945

        * public/WebLocalizedString.h:
        * src/LocalizedStrings.cpp:
        (WebCore::validationMessageTypeMismatchForEmailText):
        (WebCore::validationMessageTypeMismatchForMultipleEmailText):
        (WebCore::validationMessageTypeMismatchForURLText):
        (WebCore::validationMessageTooLongText):
        (WebCore::validationMessageRangeUnderflowText):
        (WebCore::validationMessageRangeOverflowText):
        (WebCore::validationMessageStepMismatchText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Back out the italics portion of the previous patch until I can figure out why it
doesn't work.

* css/CSSFontSelector.cpp:
(WebCore::compareFontFaces):



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

        Unreviewed Chromium expectations update.

        Add tests that fail under the DRT.

        * platform/chromium/drt_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-14  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/gtk/Skipped: Skip fast/forms/form-attribute.html, which needs <meter> support.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed.

        Skipping SVG failing tests for GTK+ until we find the issue,
        opened a bug:
        [gtk] SVGLineElement-dom-requiredFeatures.html and
        SVGLineElement-svgdom-requiredFeatures.html failing in the bots
        https://bugs.webkit.org/show_bug.cgi?id=49529

        * platform/gtk/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Ilya Sherman  <isherman@chromium.org>

        Reviewed by Kent Tamura.

        Add capability for displaying warnings to autofill popup
        Warnings are displayed in dark gray italic.
        https://bugs.webkit.org/show_bug.cgi?id=49291
        http://code.google.com/p/chromium/issues/detail?id=58509

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::getRowFont):
          Use item-specific font, not just the generic menu font.
        (WebCore::PopupListBox::selectIndex):
          Updated to clear the selection when hovering over a non-selectable item.
        * platform/chromium/PopupMenuChromium.h: Minor cleanup
2010-11-15  Ilya Sherman  <isherman@chromium.org>

        Reviewed by Kent Tamura.

        Add capability for displaying warnings to autofill popup
        Warnings are displayed in dark gray italic.
        https://bugs.webkit.org/show_bug.cgi?id=49291
        http://code.google.com/p/chromium/issues/detail?id=58509

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
          Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0.
        (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings.
        (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings.
        (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed.
        (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0.
        (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above).
        * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style.
        * src/WebViewImpl.cpp: Minor cleanup.
        (WebKit::WebViewImpl::applyAutoFillSuggestions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Do not hide default Ctrl+A behavior on non-Mac.
        https://bugs.webkit.org/show_bug.cgi?id=49527

        * inspector/front-end/TextPrompt.js:
        (WebInspector.TextPrompt.prototype._onKeyDown):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Implement formaction, formenctype, formmethod and formtarget attributes for input and button tags
        https://bugs.webkit.org/show_bug.cgi?id=49240

        * fast/forms/formaction-attribute-expected.txt: Added.
        * fast/forms/formaction-attribute.html: Added.
        * fast/forms/formmethod-attribute-button-html-expected.txt: Added.
        * fast/forms/formmethod-attribute-button-html.html: Added.
        * fast/forms/formmethod-attribute-input-html-expected.txt: Added.
        * fast/forms/formmethod-attribute-input-html.html: Added.
        * fast/forms/formtarget-attribute-button-html-expected.txt: Added.
        * fast/forms/formtarget-attribute-button-html.html: Added.
        * fast/forms/formtarget-attribute-input-html-expected.txt: Added.
        * fast/forms/formtarget-attribute-input-html.html: Added.
        * fast/forms/mailto/formenctype-attribute-button-html-expected.txt: Added.
        * fast/forms/mailto/formenctype-attribute-button-html.html: Added.
        * fast/forms/mailto/formenctype-attribute-input-html-expected.txt: Added.
        * fast/forms/mailto/formenctype-attribute-input-html.html: Added.
        * fast/forms/script-tests/submit-form-attributes.js: Added.
        * fast/forms/submit-form-attributes-expected.txt: Added.
        * fast/forms/submit-form-attributes.html: Added.
2010-11-15  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        Implement formaction, formenctype, formmethod and formtarget attributes for input and button tags
        https://bugs.webkit.org/show_bug.cgi?id=49240

        Tests: fast/forms/formaction-attribute.html
               fast/forms/formmethod-attribute-button-html.html
               fast/forms/formmethod-attribute-input-html.html
               fast/forms/formtarget-attribute-button-html.html
               fast/forms/formtarget-attribute-input-html.html
               fast/forms/mailto/formenctype-attribute-button-html.html
               fast/forms/mailto/formenctype-attribute-input-html.html
               fast/forms/submit-form-attributes.html

        * html/HTMLAttributeNames.in: Added formaction, formmethod, formtarget and formenctype attributes
        * html/HTMLButtonElement.idl:
        * html/HTMLInputElement.idl:
        * loader/FormSubmission.cpp: Modified to check the pressed button and its attributes
        (WebCore::FormSubmission::Attributes::copyFrom):
        (WebCore::FormSubmission::create):
        * loader/FormSubmission.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Focus ring does not show on focused links.
        https://bugs.webkit.org/show_bug.cgi?id=49515

        * platform/qt/fast/inline/inline-focus-ring-expected.checksum: Added.
        * platform/qt/fast/inline/inline-focus-ring-expected.png: Added.
        * platform/qt/fast/inline/inline-focus-ring-expected.txt: Added.
2010-11-15  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Focus ring does not show on focused links.
        https://bugs.webkit.org/show_bug.cgi?id=49515

        After http://trac.webkit.org/changeset/69766 the focus ring on links is no longer
        visible in Qt.
        The reason is that Qt always returned true in RenderTheme::supportsFocusRing(),
        but until r69766, we did not check that for links. Qt draws its own focus ring
        for controls that it draws, but not for links.
        Change the return value to false if the style's appearance is not something that Qt
        draws by itself or does not support.
        Added a Qt specific test result for the new test added in r69766.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::supportsFocusRing):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Add Qt specific expected results after r72003.

[Qt] Possible DRT bug revealed by r72003
https://bugs.webkit.org/show_bug.cgi?id=49538

* platform/qt/fast/forms/formaction-attribute-expected.txt: Copied from LayoutTests/fast/forms/formaction-attribute-expected.txt.
* platform/qt/fast/forms/formmethod-attribute-button-html-expected.txt: Copied from LayoutTests/fast/forms/formmethod-attribute-button-html-expected.txt.
* platform/qt/fast/forms/formtarget-attribute-button-html-expected.txt: Copied from LayoutTests/fast/forms/formtarget-attribute-button-html-expected.txt.
* platform/qt/fast/forms/mailto: Added.
* platform/qt/fast/forms/mailto/formenctype-attribute-button-html-expected.txt: Copied from LayoutTests/fast/forms/mailto/formenctype-attribute-button-html-expected.txt.
* platform/qt/fast/forms/mailto/formenctype-attribute-input-html-expected.txt: Copied from LayoutTests/fast/forms/mailto/formenctype-attribute-input-html-expected.txt.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore: SVGFEImageElement doesn't support dynamic invalidation
https://bugs.webkit.org/show_bug.cgi?id=49536

Patch by Renata Hodovan <reni@webkit.org> on 2010-11-15
Reviewed by Andreas Kling.

The dynamic changes are captured by the svgAttributeChanged function. Invalidate the filter primitive if necessary.

Tests: svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr.html
       svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop.html

* svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::svgAttributeChanged):
* svg/SVGFEImageElement.h:

LayoutTests: SVGFEImageElement doesn't support dynamic invalidation, when attributes change.
https://bugs.webkit.org/show_bug.cgi?id=49536

Patch by Renata Hodovan <reni@webkit.org> on 2010-11-15
Reviewed by Andreas Kling.

Adding layout tests for feImage dynamic changes.

* platform/mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.
* svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr.html: Added.
* svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop.html: Added.
* svg/dynamic-updates/script-tests/SVGFEImageElement-dom-preserveAspectRatio-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFEImageElement-svgdom-preserveAspectRatio-prop.js: Added.
(executeTest):



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

        Reviewed by Martin Robinson.

        Make ContextShadow compile on all platforms
        https://bugs.webkit.org/show_bug.cgi?id=49535

        Add a void* typedef for PlatformImage and PlatformContext for unsupported platforms
        and move them into the WebCore namespace like all other Platform* typedefs.

        * platform/graphics/ContextShadow.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] Add Ctrl+L shortcut to Qt Minibrowser
        https://bugs.webkit.org/show_bug.cgi?id=49544

        Add the shortcut to BrowserWindow.

        * MiniBrowser/qt/BrowserWindow.cpp:
        (BrowserWindow::BrowserWindow):
        (BrowserWindow::openLocation):
        * MiniBrowser/qt/BrowserWindow.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Marcus Bulach  <bulach@chromium.org>

        Not reviewed, Chromium test expectation update.

        Update chromium baselines for svg following r72006
        https://bugs.webkit.org/show_bug.cgi?id=49547

        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-11-15  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [WK2][Qt] WebKit2 implementation of tiled backing store
        https://bugs.webkit.org/show_bug.cgi?id=49526

        Basic opt-in tiling implementation for WebKit2/Qt.

        Original patch by Antti Koivisto.

        * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h:
        New messages: RequestTileUpdate and CancelTileUpdate.

        * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h:
        New messages: Invalidate, TileUpdated, AllTileUpdatesProcessed.

        * Shared/DrawingAreaBase.h:
        New area type: TiledDrawingAreaType.

        * UIProcess/API/qt/qgraphicswkview.h:
        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::QGraphicsWKView):
        (QGraphicsWKView::setGeometry):
        (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate):
        (QGraphicsWKView::prepareScaleChange):
        (QGraphicsWKView::commitScaleChange):
        (QGraphicsWKViewPrivate::onScaleChanged):
        (QGraphicsWKViewPrivate::commitScale):
        Support for tiled backing store.

        * UIProcess/TiledDrawingAreaProxy.cpp: Added.
        (WebKit::TiledDrawingAreaProxy::create):
        (WebKit::TiledDrawingAreaProxy::TiledDrawingAreaProxy):
        (WebKit::TiledDrawingAreaProxy::~TiledDrawingAreaProxy):
        (WebKit::TiledDrawingAreaProxy::setSize):
        (WebKit::TiledDrawingAreaProxy::setPageIsVisible):
        (WebKit::TiledDrawingAreaProxy::didSetSize):
        (WebKit::TiledDrawingAreaProxy::didReceiveMessage):
        (WebKit::TiledDrawingAreaProxy::didReceiveSyncMessage):
        (WebKit::TiledDrawingAreaProxy::requestTileUpdate):
        (WebKit::TiledDrawingAreaProxy::waitUntilUpdatesComplete):
        (WebKit::TiledDrawingAreaProxy::createTile):
        (WebKit::TiledDrawingAreaProxy::setTileSize):
        (WebKit::TiledDrawingAreaProxy::setTileCreationDelay):
        (WebKit::TiledDrawingAreaProxy::setKeepAndCoverAreaMultipliers):
        (WebKit::TiledDrawingAreaProxy::invalidate):
        (WebKit::TiledDrawingAreaProxy::updateTileBuffers):
        (WebKit::TiledDrawingAreaProxy::tileBufferUpdateComplete):
        (WebKit::TiledDrawingAreaProxy::paint):
        (WebKit::TiledDrawingAreaProxy::adjustVisibleRect):
        (WebKit::TiledDrawingAreaProxy::setContentsScale):
        (WebKit::TiledDrawingAreaProxy::removeAllTiles):
        (WebKit::TiledDrawingAreaProxy::tileDistance):
        (WebKit::TiledDrawingAreaProxy::calculateKeepRect):
        (WebKit::TiledDrawingAreaProxy::calculateCoverRect):
        (WebKit::TiledDrawingAreaProxy::createTiles):
        (WebKit::TiledDrawingAreaProxy::resizeEdgeTiles):
        (WebKit::TiledDrawingAreaProxy::dropTilesOutsideRect):
        (WebKit::TiledDrawingAreaProxy::tileAt):
        (WebKit::TiledDrawingAreaProxy::setTile):
        (WebKit::TiledDrawingAreaProxy::removeTile):
        (WebKit::TiledDrawingAreaProxy::mapToContents):
        (WebKit::TiledDrawingAreaProxy::mapFromContents):
        (WebKit::TiledDrawingAreaProxy::contentsRect):
        (WebKit::TiledDrawingAreaProxy::tileRectForCoordinate):
        (WebKit::TiledDrawingAreaProxy::tileCoordinateForPoint):
        (WebKit::TiledDrawingAreaProxy::startTileBufferUpdateTimer):
        (WebKit::TiledDrawingAreaProxy::tileBufferUpdateTimerFired):
        (WebKit::TiledDrawingAreaProxy::startTileCreationTimer):
        (WebKit::TiledDrawingAreaProxy::tileCreationTimerFired):
        (WebKit::TiledDrawingAreaProxy::hasPendingUpdates):
        * UIProcess/TiledDrawingAreaProxy.h: Added.
        (WebKit::TiledDrawingAreaProxy::contentsScale):
        (WebKit::TiledDrawingAreaProxy::attachCompositingContext):
        (WebKit::TiledDrawingAreaProxy::detachCompositingContext):
        (WebKit::TiledDrawingAreaProxy::tileSize):
        (WebKit::TiledDrawingAreaProxy::tileCreationDelay):
        (WebKit::TiledDrawingAreaProxy::getKeepAndCoverAreaMultipliers):
        * UIProcess/TiledDrawingAreaTile.h: Added.
        (WebKit::TiledDrawingAreaTile::create):
        (WebKit::TiledDrawingAreaTile::hasBackBufferUpdatePending):
        (WebKit::TiledDrawingAreaTile::coordinate):
        (WebKit::TiledDrawingAreaTile::rect):
        (WebKit::TiledDrawingAreaTile::ID):
        * WebProcess/WebPage/DrawingArea.cpp:
        (WebKit::DrawingArea::create):
        * WebProcess/WebPage/TiledDrawingArea.cpp: Added.
        (WebKit::TiledDrawingArea::TiledDrawingArea):
        (WebKit::TiledDrawingArea::~TiledDrawingArea):
        (WebKit::TiledDrawingArea::invalidateWindow):
        (WebKit::TiledDrawingArea::invalidateContentsAndWindow):
        (WebKit::TiledDrawingArea::invalidateContentsForSlowScroll):
        (WebKit::TiledDrawingArea::scroll):
        (WebKit::TiledDrawingArea::setNeedsDisplay):
        (WebKit::TiledDrawingArea::display):
        (WebKit::TiledDrawingArea::scheduleDisplay):
        (WebKit::TiledDrawingArea::setSize):
        (WebKit::TiledDrawingArea::suspendPainting):
        (WebKit::TiledDrawingArea::resumePainting):
        (WebKit::TiledDrawingArea::didUpdate):
        (WebKit::TiledDrawingArea::updateTile):
        (WebKit::TiledDrawingArea::tileUpdateTimerFired):
        (WebKit::TiledDrawingArea::didReceiveMessage):
        * WebProcess/WebPage/TiledDrawingArea.h: Added.
        (WebKit::TiledDrawingArea::attachCompositingContext):
        (WebKit::TiledDrawingArea::detachCompositingContext):
        (WebKit::TiledDrawingArea::setRootCompositingLayer):
        (WebKit::TiledDrawingArea::scheduleCompositingLayerSync):
        (WebKit::TiledDrawingArea::syncCompositingLayers):
        * WebProcess/WebPage/qt/TiledDrawingAreaQt.cpp: Added.
        (WebKit::TiledDrawingArea::paintIntoUpdateChunk):
        * WebKit2.pro:
        * UIProcess/qt/TiledDrawingAreaTileQt.cpp: Added.
        (WebKit::checkeredPixmap):
        (WebKit::TiledDrawingAreaTile::TiledDrawingAreaTile):
        (WebKit::TiledDrawingAreaTile::~TiledDrawingAreaTile):
        (WebKit::TiledDrawingAreaTile::isDirty):
        (WebKit::TiledDrawingAreaTile::isReadyToPaint):
        (WebKit::TiledDrawingAreaTile::hasReadyBackBuffer):
        (WebKit::TiledDrawingAreaTile::invalidate):
        (WebKit::TiledDrawingAreaTile::resize):
        (WebKit::TiledDrawingAreaTile::swapBackBufferToFront):
        (WebKit::TiledDrawingAreaTile::paint):
        (WebKit::TiledDrawingAreaTile::paintCheckerPattern):
        (WebKit::TiledDrawingAreaTile::updateFromChunk):
        (WebKit::TiledDrawingAreaTile::updateBackBuffer):
        * UIProcess/qt/TiledDrawingAreaProxyQt.cpp: Added.
        (WebKit::TiledDrawingAreaProxy::updateWebView):
        (WebKit::TiledDrawingAreaProxy::webViewVisibleRect):
        (WebKit::TiledDrawingAreaProxy::page):


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