1. 29 May, 2012 40 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry] WebKit-side implementation of SelectionOverlay · b198650a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87605
      
      Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
      Reviewed by Rob Buis.
      
      Source/WebKit:
      
      Add SelectionOverlay to the build system.
      
      PR #160263
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit/blackberry:
      
      Leverage the new WebOverlay API to move SelectionOverlay to the WebKit
      library, so we always draw selection regardless of which embedder is
      integrating WebKit.
      
      PR #160263
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::selectionOverlay):
      (WebKit):
      * Api/WebPage.h:
      (WebKit):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      * Api/WebSelectionOverlay.h: Added.
      (WebKit):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
      * WebKitSupport/SelectionOverlay.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::SelectionOverlay::SelectionOverlay):
      (BlackBerry::WebKit::SelectionOverlay::~SelectionOverlay):
      (BlackBerry::WebKit::SelectionOverlay::draw):
      (BlackBerry::WebKit::SelectionOverlay::hide):
      (BlackBerry::WebKit::SelectionOverlay::notifySyncRequired):
      (BlackBerry::WebKit::SelectionOverlay::paintContents):
      * WebKitSupport/SelectionOverlay.h: Added.
      (WebKit):
      (SelectionOverlay):
      (BlackBerry::WebKit::SelectionOverlay::create):
      (BlackBerry::WebKit::SelectionOverlay::notifyAnimationStarted):
      (BlackBerry::WebKit::SelectionOverlay::showDebugBorders):
      (BlackBerry::WebKit::SelectionOverlay::showRepaintCounter):
      (BlackBerry::WebKit::SelectionOverlay::contentsVisible):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b198650a
    • jberlin@webkit.org's avatar
      [Mac] fast/events/message-port-constructor-for-deleted-document.html ASSERTS in Debug. · 327ff313
      jberlin@webkit.org authored
      This is happening often enough that it is necessary to add the test to the Mac Skipped list
      in order to keep the bots green.
      
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      327ff313
    • commit-queue@webkit.org's avatar
      Add InspectorFileSystemAgent::FrontendProvider · 67e4c02d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87635
      
      InspectorFileSystemAgent needs weak reference to its frontend to perform
      asynchronous operation.
      
      Patch by Taiju Tsuiki <tzik@chromium.org> on 2012-05-29
      Reviewed by Yury Semikhatsky.
      
      * inspector/InspectorFileSystemAgent.cpp:
      (InspectorFileSystemAgent::FrontendProvider):
      (WebCore):
      (WebCore::InspectorFileSystemAgent::~InspectorFileSystemAgent):
      (WebCore::InspectorFileSystemAgent::enable):
      (WebCore::InspectorFileSystemAgent::disable):
      (WebCore::InspectorFileSystemAgent::setFrontend):
      (WebCore::InspectorFileSystemAgent::clearFrontend):
      (WebCore::InspectorFileSystemAgent::restore):
      (WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
      * inspector/InspectorFileSystemAgent.h:
      (InspectorFileSystemAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67e4c02d
    • commit-queue@webkit.org's avatar
      [EFL][DRT] move idn encoding test to test_expectations.txt · e313ac6a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86080
      
      Unreviewed gardening. Implementing copy{En,De}codedHostName just
      to test them is not useful: marking fast/encoding/idn-security.html
      as expected to fail.
      
      Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-05-29
      
      * platform/efl/Skipped:
      * platform/efl/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e313ac6a
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. · 45aad8e7
      ossy@webkit.org authored
      * platform/qt-5.0-wk2/compositing/geometry/composited-in-columns-expected.txt: Added.
      * platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.txt:
      * platform/qt-5.0-wk2/svg/css/text-gradient-shadow-expected.png: Added.
      * platform/qt-5.0-wk2/svg/css/text-gradient-shadow-expected.txt:
      * platform/qt-5.0/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/qt-5.0/fast/forms/placeholder-pseudo-style-expected.txt:
      * platform/wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45aad8e7
    • bulach@chromium.org's avatar
      [chromium] Regression: fast/forms/select/optgroup-clicking.html is failing · 1676dc32
      bulach@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87748
      
      Unreviewed gardening.
      
      This test was added by r118772 and it fails with a mismatch in menulist.selectedIndex.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1676dc32
    • commit-queue@webkit.org's avatar
      Fix new layout tests for images with color profiles by using fixed size · 1cad8933
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87542
      
      Patch by Tony Payne <tpayne@chromium.org> on 2012-05-29
      Reviewed by Kent Tamura.
      
      * fast/images/jpeg-with-color-profile.html: Use width=400px instead of 50% to make sure size is consistent across ports.
      * fast/images/png-with-color-profile.html: Use width=40px instead of 50% to make sure size is consistent across ports.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cad8933
    • loislo@chromium.org's avatar
      Unreviewed: Web Inspector: single line fix. · 43d0ef36
      loislo@chromium.org authored
      heap-snapshot-loader are failing in Debug configuration because the list of profiles is not empty.
      
      * inspector/profiler/heap-snapshot-loader.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43d0ef36
    • commit-queue@webkit.org's avatar
      [BlackBerry] OpenGL content is not rendered on simulator · 28a13bdd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87721
      
      Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
      Reviewed by George Staikos.
      
      Fixed by enabling GLES2 support in simulator builds.
      
      To experiment with building without OpenGL support, you can set the
      DISABLE_GLES2 environment variable to a non-empty string and rebuild.
      
      PR #150695
      
      * Scripts/webkitdirs.pm:
      (blackberryCMakeArguments):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28a13bdd
    • bulach@chromium.org's avatar
      Split svg/dom/viewspec-parser.html in smaller tests · b4da8494
      bulach@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87726
      
      Reviewed by Andreas Kling.
      
      This test was added by r118735.
      Splits into smaller independent tests to avoid timeouts on ports such as chromium.
      
      * svg/dom/resources/viewspec-parser.js: Added.
      (buildTestsToRun):
      (zoomAndPanToString):
      (viewSpecToString):
      (testString.string_appeared_here.makeURLRelative):
      (testFragment):
      (startNextTest):
      (continueFuzzing.else.script.onload):
      (continueFuzzing):
      * svg/dom/viewspec-parser-1-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
      * svg/dom/viewspec-parser-1.html: Added.
      * svg/dom/viewspec-parser-2-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
      * svg/dom/viewspec-parser-2.html: Added.
      * svg/dom/viewspec-parser-3-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
      * svg/dom/viewspec-parser-3.html: Added.
      * svg/dom/viewspec-parser-4-expected.txt: Copied from LayoutTests/svg/dom/viewspec-parser-expected.txt.
      * svg/dom/viewspec-parser-4.html: Added.
      * svg/dom/viewspec-parser-5-expected.txt: Renamed from LayoutTests/svg/dom/viewspec-parser-expected.txt.
      * svg/dom/viewspec-parser-5.html: Added.
      * svg/dom/viewspec-parser.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4da8494
    • ossy@webkit.org's avatar
      Unreviewed gardening, skip failing tests. · bbf77218
      ossy@webkit.org authored
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbf77218
    • commit-queue@webkit.org's avatar
      Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag · d5058407
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87685
      
      Patch by David Barr <davidbarr@chromium.org> on 2012-05-29
      Reviewed by Eric Seidel.
      
      Add a configuration option for CSS image-resolution support, disabling it by default.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5058407
    • yosin@chromium.org's avatar
      REGRESSION(r109729): The optgroup element's "disabled" attribute has no effect... · 9301b766
      yosin@chromium.org authored
      REGRESSION(r109729): The optgroup element's "disabled" attribute has no effect to rendering and selection
      https://bugs.webkit.org/show_bug.cgi?id=87614
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      This patch adds HTMLOptGroupElement::disabled and isEnabledFormControl
      methods which was implemented in HTMLFormControlElement at r109729 and
      updates CSS pseudo class checker to check "optgroup" element.
      
      Tests: fast/forms/select/optgroup-clicking.html
             fast/forms/select/optgroup-disabled.html
             fast/forms/select/optgroup-rendering.html
      
      * css/SelectorChecker.cpp:
      (WebCore::SelectorChecker::checkOneSelector): On disabled and enabled pseudo class checker.
      We checked tag name "optgroup" in addition isFormControlElement.
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::canShareStyleWithElement): Checks optgroup.disabled.
      * html/HTMLOptGroupElement.cpp:
      (WebCore::HTMLOptGroupElement::disabled): Added.
      * html/HTMLOptGroupElement.h:
      (HTMLOptGroupElement): Added isEnabledFormControl.
      
      LayoutTests:
      
      Note: An image for optgroup-rendering.html will be change due by
      BUG-87719. Color of option elements should be blue (:enabled
      pseudo class) instead of green.
      
      * fast/forms/select/optgroup-clicking-expected.txt: Added.
      * fast/forms/select/optgroup-clicking.html: Added.
      * fast/forms/select/optgroup-disabled-expected.txt: Added.
      * fast/forms/select/optgroup-disabled.html: Added.
      * fast/forms/select/optgroup-rendering.html: Added.
      * platform/chromium/test_expectations.txt: Add MISSING entry for optgroup-rendering.html.
      * platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.png: Added.
      * platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9301b766
    • ossy@webkit.org's avatar
      REGRESSION(r118742): It made inspector/profiler/heap-snapshot-loader.html fail on Lion, Qt · 01ab5a08
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87741
      
      Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-29
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt/Skipped: Skip the failing test.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01ab5a08
    • commit-queue@webkit.org's avatar
      [EFL] Tests needs gardening after r118733 · 4eddf655
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87733
      
      Unreviewed gardening.
      
      Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-29
      
      * platform/efl/fast/css/text-overflow-input-expected.txt:
      * platform/efl/fast/forms/search-styled-expected.png:
      * platform/efl/fast/forms/search-styled-expected.txt:
      * platform/efl/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4eddf655
    • vestbo@webkit.org's avatar
      [Qt] Remove duplication of logic for disabling selected warnings related to C++11 · 62fa764a
      vestbo@webkit.org authored
      This is already handled in unix/default_post.prf
      
      Reviewed by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62fa764a
    • apavlov@chromium.org's avatar
      [Chromium] [Regression] SELECT popup misplaced when there is not enough vertical space · 0db2e703
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87735
      
      Reviewed by Kent Tamura.
      
      This change fixes the obsolete WebWidget Y-repositioning code for the insufficient vertical space case, not removed in r113418.
      
      No new tests, as popups are not testable in Chromium.
      
      * platform/chromium/PopupContainer.cpp:
      (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0db2e703
    • commit-queue@webkit.org's avatar
      [CSS Regions]Rename NamedFlow::overflow to NamedFlow::overset · fb1af932
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87491
      
      This patch updates the CSSOM property name overflow to overset. There are no changes in functionality.
      Link to spec: http://www.w3.org/TR/2012/WD-css3-regions-20120503/
      
      Source/WebCore:
      
      Patch by Andrei Bucur <abucur@adobe.com> on 2012-05-29
      Reviewed by Andreas Kling.
      
      Test: fast/regions/webkit-named-flow-overset.html
      
      * dom/WebKitNamedFlow.cpp:
      (WebCore::WebKitNamedFlow::overset):
      * dom/WebKitNamedFlow.h:
      (WebKitNamedFlow):
      * dom/WebKitNamedFlow.idl:
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::RenderFlowThread):
      (WebCore::RenderFlowThread::computeOverflowStateForRegions):
      * rendering/RenderFlowThread.h:
      
      LayoutTests:
      
      The test was refactored to be more similar to the other script tests (by using make-new-script-test)
      
      Patch by Andrei Bucur <abucur@adobe.com> on 2012-05-29
      Reviewed by Andreas Kling.
      
      * fast/regions/webkit-named-flow-overflow-expected.txt: Removed.
      * fast/regions/webkit-named-flow-overflow.html: Removed.
      * fast/regions/webkit-named-flow-overset-expected.txt: Added.
      * fast/regions/webkit-named-flow-overset.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb1af932
    • ossy@webkit.org's avatar
      [Qt] REGRESSION(r118568): It broke fast/forms/textarea-maxlength.html on Qt 4.8 · db57003d
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87740
      
      Unreviewed gardening.
      
      * platform/qt-4.8/Skipped: Skip fast/forms/textarea-maxlength.html until proper fix.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db57003d
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. · ff5aac19
      ossy@webkit.org authored
      * platform/qt-4.8/Skipped: Skip fast/parser/innerhtml-with-prefixed-elements.xhtml because of buggy QtXmlPatterns.
      * platform/qt-5.0/Skipped: Unskip fast/parser/innerhtml-with-prefixed-elements.xhtml, because libxslt works fine.
      * platform/qt/Skipped: Unskip a non-existing test.
      * platform/qt/fast/parser/innerhtml-with-prefixed-elements-expected.png: Added.
      * platform/qt/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff5aac19
    • kenneth@webkit.org's avatar
      [Qt] Move tests from DesktopBehavior which can be made to work · 1d1a4694
      kenneth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87736
      
      Rubberstamped by Simon Hausmann.
      
      Move and modify the following tests to WebView/ and make them
      use touch events.
      
      * UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml.
      * UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml.
      * UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_multiFileUpload.qml.
      * UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_singleFileUpload.qml.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d1a4694
    • vestbo@webkit.org's avatar
      [Qt] Don't add cxx-flags to QMAKE_CFLAGS · 1385c98c
      vestbo@webkit.org authored
      Prevents warnings such as: "command line option ‘-Wno-c++0x-compat’ is
          valid for C++/ObjC++ but not for C [enabled by default]"
      
      Reviewed by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1385c98c
    • vestbo@webkit.org's avatar
      [Qt] Sync up favicon-implementation with WebView url changes in r118158 · db81375b
      vestbo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87133
      
      We now base64-encode the page url in the image-provider url, so that any
      normalization done by QUrl will not mess up the page-url. The logic of
      creating and parsing the provider-url has been moved into the image
      provider, to keep it in one place.
      
      We were also releasing icons (even ones we hadn't retained), which we can't
      do since we don't know when the icon url is no longer in use.
      
      Reviewed-by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db81375b
    • kling@webkit.org's avatar
      Give StylePropertySet a proper mutability flag. · 5e60b737
      kling@webkit.org authored
      <http://webkit.org/b/87675>
      
      Reviewed by Antti Koivisto.
      
      Add a flag to StylePropertySet that determines whether it's mutable or not. Only objects
      constructed from the CSS parser (by way of StylePropertySet::adopt()) are made immutable.
      This is clean-up and prep work for implementing a more efficient storage scheme for immutable
      StylePropertySets (fixed-size array instead of vector) as the vast majority of them are
      unlikely to ever mutate during their lifetime.
      
      Sprinkled ASSERT(isMutable()) all over StylePropertySet to catch any attempts to modify
      an immutable object.
      
      Also made properties() const on StyleRule and friends, which brought some additional code
      churn along with it.
      
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::copyPropertiesInSet):
      * css/CSSFontFaceRule.cpp:
      (WebCore::CSSFontFaceRule::style):
      (WebCore::CSSFontFaceRule::reattach):
      * css/CSSFontFaceSrcValue.cpp:
      (WebCore::CSSFontFaceSrcValue::addSubresourceStyleURLs):
      * css/CSSFontFaceSrcValue.h:
      (CSSFontFaceSrcValue):
      * css/CSSPageRule.cpp:
      (WebCore::CSSPageRule::style):
      (WebCore::CSSPageRule::reattach):
      * css/CSSPrimitiveValue.cpp:
      (WebCore::CSSPrimitiveValue::addSubresourceStyleURLs):
      * css/CSSPrimitiveValue.h:
      (CSSPrimitiveValue):
      * css/CSSReflectValue.cpp:
      (WebCore::CSSReflectValue::addSubresourceStyleURLs):
      * css/CSSReflectValue.h:
      (CSSReflectValue):
      * css/CSSStyleRule.cpp:
      (WebCore::CSSStyleRule::style):
      (WebCore::CSSStyleRule::reattach):
      * css/CSSValue.cpp:
      (WebCore::CSSValue::addSubresourceStyleURLs):
      * css/CSSValue.h:
      (CSSValue):
      * css/CSSValueList.cpp:
      (WebCore::CSSValueList::addSubresourceStyleURLs):
      * css/CSSValueList.h:
      (CSSValueList):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::StylePropertySet):
      (WebCore::StylePropertySet::setCSSParserMode):
      (WebCore):
      (WebCore::StylePropertySet::copyPropertiesFrom):
      (WebCore::StylePropertySet::removeShorthandProperty):
      (WebCore::StylePropertySet::removeProperty):
      (WebCore::StylePropertySet::setProperty):
      (WebCore::StylePropertySet::parseDeclaration):
      (WebCore::StylePropertySet::addParsedProperties):
      (WebCore::StylePropertySet::addParsedProperty):
      (WebCore::StylePropertySet::merge):
      (WebCore::StylePropertySet::addSubresourceStyleURLs):
      (WebCore::StylePropertySet::removePropertiesInSet):
      (WebCore::StylePropertySet::findPropertyWithId):
      (WebCore::StylePropertySet::removeEquivalentProperties):
      (WebCore::StylePropertySet::copyPropertiesInSet):
      * css/StylePropertySet.h:
      (WebCore::StylePropertySet::adopt):
      (WebCore::StylePropertySet::adoptMutable):
      (StylePropertySet):
      (WebCore::StylePropertySet::isMutable):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::addMatchedProperties):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleResolver.h:
      (StyleResolver):
      * css/StyleRule.cpp:
      (WebCore::StyleRule::mutableProperties):
      (WebCore):
      (WebCore::StyleRulePage::mutableProperties):
      (WebCore::StyleRuleFontFace::mutableProperties):
      * css/StyleRule.h:
      (WebCore::StyleRule::properties):
      (StyleRule):
      (WebCore::StyleRuleFontFace::properties):
      (StyleRuleFontFace):
      (WebCore::StyleRulePage::properties):
      (StyleRulePage):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::ensureInlineStyle):
      (WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):
      * editing/EditingStyle.cpp:
      (WebCore::styleFromMatchedRulesForElement):
      * svg/SVGFontFaceElement.cpp:
      (WebCore::SVGFontFaceElement::parseAttribute):
      (WebCore::SVGFontFaceElement::rebuildFontFace):
      (WebCore::SVGFontFaceElement::removedFrom):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e60b737
    • commit-queue@webkit.org's avatar
      [EFL] Refactoring. Get rid of unnecessary singleCharacterString() function · 2bcbe470
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87654
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-29
      Reviewed by Csaba Osztrogonác.
      
      Source/WebCore:
      
      Evas key events already provide key string, so no practical need for singleCharacterString()
      evaluating the event string from keyname.
      Modified code related functionality is already covered with fast/events and fast/forms tests.
      
      * platform/efl/EflKeyboardUtilities.cpp:
      * platform/efl/PlatformKeyboardEventEfl.cpp:
      (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
      
      Tools:
      
      Event sender provides strings for all the key events.
      Also KeyEventInfo constructor parameters order was changed to simplify the case when
      a key event has empty string.
      
      * DumpRenderTree/efl/EventSender.cpp:
      (KeyEventInfo::KeyEventInfo):
      (keyPadNameFromJSValue):
      (keyNameFromJSValue):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bcbe470
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening after r118733 and r118735. · 96a68be9
      zandobersek@gmail.com authored
      * platform/gtk/fast/css/text-overflow-input-expected.txt:
      * platform/gtk/fast/forms/input-placeholder-visibility-1-expected.txt:
      * platform/gtk/fast/forms/input-placeholder-visibility-3-expected.txt:
      * platform/gtk/fast/forms/placeholder-position-expected.txt:
      * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
      * platform/gtk/fast/forms/search-styled-expected.txt:
      * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
      * platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.txt:
      * platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.txt:
      * platform/gtk/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96a68be9
    • kenneth@webkit.org's avatar
      [Qt][WK2] Fix failing qmltests::FitToView::test_basic() · 18d478b9
      kenneth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87236
      
      Reviewed by Simon Hausmann.
      
      The fix is a combination of things. First of all some events
      were emitted at the wrong times or when nothing had changed.
      
      We also initialized the view saying it was suspended which is
      not correct.
      
      Another bug was that the touch tap, didn't result in marking
      the view as having user interaction. This was recently fixed
      in r118493.
      
      * UIProcess/API/qt/qquickwebpage.cpp:
      (QQuickWebPage::setContentsScale):
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewFlickablePrivate::QQuickWebViewFlickablePrivate):
      
          Make sure pageIsSuspended is initialized to false.
      
      (QQuickWebViewFlickablePrivate::_q_onInformVisibleContentChange):
      
          Early bail out if there is no change.
      
          Inform contentScaleCommitted if the scale changed since last time.
      
      (QQuickWebViewFlickablePrivate::didChangeContentsSize):
      
          Make sure to commit the right signals, ie. *Changed and not *Committed.
      
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qwebkittest.cpp:
      (touchPoint):
      (QWebKitTest::sendTouchEvent):
      (QWebKitTest::touchTap):
      (QWebKitTest::touchDoubleTap):
      
          Add proper touch emulation for the testing system. Call directly
          to our WebKit API (avoid Qt event loop) to ensure all events gets
          delivered.
      
      * UIProcess/API/qt/qwebkittest_p.h:
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::setItemRectVisible):
      
          Assert that a ViewportUpdateDeferrer is always used when calling
          this method.
      
      (WebKit::QtViewportInteractionEngine::animateItemRectVisible):
      
          Remove work around now we have the proper fix in place.
      
      (WebKit::QtViewportInteractionEngine::pagePositionRequest):
      
          Do not send the informVisibleContentChange manually, use the
          ViewportUpdateDeferrer instead.
      
      (WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
      
          Add missing ViewportUpdateDeferrer.
      
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      
          No reason to emit informVisibleContentChange before pinch
          start, as it is always done on end (due to the ViewportUpdateDeferrer).
      
      (WebKit::QtViewportInteractionEngine::itemSizeChanged):
      
          Add missing ViewportUpdateDeferrer.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18d478b9
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed Gardening. Update test expectations after r118733. · 8c906a6a
      kkristof@inf.u-szeged.hu authored
      Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-29
      
      * platform/qt/fast/css/text-overflow-input-expected.txt:
      * platform/qt/fast/forms/input-placeholder-visibility-1-expected.txt:
      * platform/qt/fast/forms/input-placeholder-visibility-3-expected.txt:
      * platform/qt/fast/forms/placeholder-position-expected.txt:
      * platform/qt/fast/forms/placeholder-pseudo-style-expected.txt:
      * platform/qt/fast/forms/search-styled-expected.txt:
      * platform/qt/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
      * platform/qt/fast/forms/textarea-placeholder-visibility-1-expected.txt:
      * platform/qt/fast/forms/textarea-placeholder-visibility-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c906a6a
    • caio.oliveira@openbossa.org's avatar
      [Qt] [WK2] Allow user to inject JS scripts when the page loads · 8bcc84df
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85827
      
      Reviewed by Simon Hausmann.
      
      Create a new experimental property to list URLs of JS scripts that should be
      loaded when a page is loaded. These scripts will run in the normal JS environment
      of the page.
      
      The supported URL schemes are file:/// and qrc:///. The scripts are read from the
      UI process and transfered to the Web process.
      
      Together with the experimental messaging API this provides a way for the
      application to manipulate the DOM (by injecting a script that does the
      manipulation and communicating with it via postMessage). This covers some of the
      use cases of QWebElement in our WK1 API.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::didRelaunchProcess):
      (readUserScript):
      (QQuickWebViewPrivate::updateUserScripts):
      (QQuickWebViewExperimental::userScripts):
      (QQuickWebViewExperimental::setUserScripts):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/tests/qmltests/WebView.pro:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Added.
      * UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Added.
      * UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Added.
      * UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Added.
      * UIProcess/API/qt/tests/qmltests/resources.qrc: Added.
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/qt/WebPageProxyQt.cpp:
      (WebKit::WebPageProxy::setUserScripts):
      (WebKit):
      * WebProcess/WebPage/WebPage.h:
      (WebPage):
      * WebProcess/WebPage/WebPage.messages.in:
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      (WebKit::WebPage::setUserScripts):
      (WebKit):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8bcc84df
    • vestbo@webkit.org's avatar
      [Qt] Cancel potential url-edit when going back/forward · 3c87fa24
      vestbo@webkit.org authored
      Reviewed by Kenneth Rohde Christiansen.
      
      * MiniBrowser/qt/qml/BrowserWindow.qml:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c87fa24
    • caio.oliveira@openbossa.org's avatar
      Unreviewed, rolling out r118752. · 75771f7f
      caio.oliveira@openbossa.org authored
      http://trac.webkit.org/changeset/118752
      https://bugs.webkit.org/show_bug.cgi?id=87731
      
      incomplete patch (Requested by cmarcelo on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-29
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::didRelaunchProcess):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/tests/qmltests/WebView.pro:
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/qt/WebPageProxyQt.cpp:
      * WebProcess/WebPage/WebPage.h:
      (WebPage):
      * WebProcess/WebPage/WebPage.messages.in:
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75771f7f
    • slewis@apple.com's avatar
      Unreviewed, skipping failing test · 22c5add2
      slewis@apple.com authored
      See https://bugs.webkit.org/show_bug.cgi?id=87728
      
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22c5add2
    • caio.oliveira@openbossa.org's avatar
      [Qt] [WK2] Allow user to inject JS scripts when the page loads · bf41d525
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85827
      
      Reviewed by Simon Hausmann.
      
      Create a new experimental property to list URLs of JS scripts that should be
      loaded when a page is loaded. These scripts will run in the normal JS environment
      of the page.
      
      The supported URL schemes are file:/// and qrc:///. The scripts are read from the
      UI process and transfered to the Web process.
      
      Together with the experimental messaging API this provides a way for the
      application to manipulate the DOM (by injecting a script that does the
      manipulation and communicating with it via postMessage). This covers some of the
      use cases of QWebElement in our WK1 API.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::didRelaunchProcess):
      (readUserScript):
      (QQuickWebViewPrivate::updateUserScripts):
      (QQuickWebViewExperimental::userScripts):
      (QQuickWebViewExperimental::setUserScripts):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/tests/qmltests/WebView.pro:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Added.
      * UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Added.
      * UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Added.
      * UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Added.
      * UIProcess/API/qt/tests/qmltests/resources.qrc: Added.
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/qt/WebPageProxyQt.cpp:
      (WebKit::WebPageProxy::setUserScripts):
      (WebKit):
      * WebProcess/WebPage/WebPage.h:
      (WebPage):
      * WebProcess/WebPage/WebPage.messages.in:
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      (WebKit::WebPage::setUserScripts):
      (WebKit):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf41d525
    • slewis@apple.com's avatar
      Unreviewed, updating results after http://trac.webkit.org/projects/webkit/changeset/118733 · 0ebfb0b2
      slewis@apple.com authored
      * platform/mac/fast/css/text-overflow-input-expected.txt:
      * platform/mac/fast/forms/input-placeholder-visibility-1-expected.txt:
      * platform/mac/fast/forms/input-placeholder-visibility-3-expected.txt:
      * platform/mac/fast/forms/placeholder-position-expected.txt:
      * platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
      * platform/mac/fast/forms/search-styled-expected.txt:
      * platform/mac/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
      * platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
      * platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ebfb0b2
    • commit-queue@webkit.org's avatar
      [BlackBerry] WebOverlay API · 3331a7f1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87603
      
      Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-29
      Reviewed by Rob Buis.
      
      Source/WebKit:
      
      Add WebOverlay related files to the build system.
      
      PR #156812
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit/blackberry:
      
      This new API makes it possible to leverage the BlackBerry accelerated
      compositing implementation to draw, transform and fluidly animate
      overlays in the embedding library or application.
      
      A WebOverlay has an affinity for the thread where it was created. If
      the current thread is the WebKit thread, use WebPage::addOverlay() to
      add it to the page, and manipulate it only from the WebKit thread, with
      exception of the "override" functionality which can be used from the
      compositing thread. If the current thread is the compositing thread,
      use WebPage::addCompositingThreadOverlay() to add it to the page, and
      only manipulate it on the compositing thread.
      
      A WebOverlay can be painted using Skia, or its contents can be set to
      an image or a solid color.
      
      PR #156812
      
      * Api/WebAnimation.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::WebAnimation::fadeAnimation):
      (BlackBerry::WebKit::WebAnimation::name):
      (BlackBerry::WebKit::WebAnimation::WebAnimation):
      (BlackBerry::WebKit::WebAnimation::~WebAnimation):
      (BlackBerry::WebKit::WebAnimation::operator=):
      * Api/WebAnimation.h: Added.
      (WebKit):
      * Api/WebAnimation_p.h: Added.
      (WebKit):
      (WebAnimationPrivate):
      (BlackBerry::WebKit::WebAnimationPrivate::WebAnimationPrivate):
      * Api/WebOverlay.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::WebOverlay::WebOverlay):
      (BlackBerry::WebKit::WebOverlay::~WebOverlay):
      (BlackBerry::WebKit::WebOverlay::position):
      (BlackBerry::WebKit::WebOverlay::setPosition):
      (BlackBerry::WebKit::WebOverlay::anchorPoint):
      (BlackBerry::WebKit::WebOverlay::setAnchorPoint):
      (BlackBerry::WebKit::WebOverlay::size):
      (BlackBerry::WebKit::WebOverlay::setSize):
      (BlackBerry::WebKit::WebOverlay::sizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlay::setSizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlay::transform):
      (BlackBerry::WebKit::WebOverlay::setTransform):
      (BlackBerry::WebKit::WebOverlay::opacity):
      (BlackBerry::WebKit::WebOverlay::setOpacity):
      (BlackBerry::WebKit::WebOverlay::addAnimation):
      (BlackBerry::WebKit::WebOverlay::removeAnimation):
      (BlackBerry::WebKit::WebOverlay::parent):
      (BlackBerry::WebKit::WebOverlay::addChild):
      (BlackBerry::WebKit::WebOverlay::removeFromParent):
      (BlackBerry::WebKit::WebOverlay::setContentsToImage):
      (BlackBerry::WebKit::WebOverlay::setContentsToColor):
      (BlackBerry::WebKit::WebOverlay::setDrawsContent):
      (BlackBerry::WebKit::WebOverlay::invalidate):
      (BlackBerry::WebKit::WebOverlay::setClient):
      (BlackBerry::WebKit::WebOverlay::override):
      (BlackBerry::WebKit::WebOverlay::resetOverrides):
      (BlackBerry::WebKit::WebOverlayPrivate::page):
      (BlackBerry::WebKit::WebOverlayPrivate::override):
      (BlackBerry::WebKit::WebOverlayPrivate::drawContents):
      (BlackBerry::WebKit::WebOverlayPrivate::scheduleCompositingRun):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::WebOverlayPrivateWebKitThread):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::override):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::position):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setPosition):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::anchorPoint):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setAnchorPoint):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::size):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setSize):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::sizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setSizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::transform):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setTransform):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::opacity):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setOpacity):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::addAnimation):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::removeAnimation):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::addChild):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::removeFromParent):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToImage):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setContentsToColor):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::setDrawsContent):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::clear):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::invalidate):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::resetOverrides):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifySyncRequired):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::paintContents):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::WebOverlayLayerCompositingThreadClient):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::~WebOverlayLayerCompositingThreadClient):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setDrawsContent):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::invalidate):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContents):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContentsToColor):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerCompositingThreadDestroyed):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::layerVisibilityChanged):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::deleteTextures):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::WebOverlayPrivateCompositingThread):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::~WebOverlayPrivateCompositingThread):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setClient):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::override):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::position):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setPosition):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::anchorPoint):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setAnchorPoint):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::size):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setSize):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::sizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setSizeIsScaleInvariant):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::transform):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setTransform):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::opacity):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setOpacity):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::addAnimation):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::removeAnimation):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::addChild):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::removeFromParent):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToColor):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setDrawsContent):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::clear):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::invalidate):
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::resetOverrides):
      * Api/WebOverlay.h: Added.
      (WebCore):
      (WebKit):
      * Api/WebOverlayClient.h: Added.
      (WebKit):
      * Api/WebOverlayOverride.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::WebOverlayOverride::WebOverlayOverride):
      (BlackBerry::WebKit::WebOverlayOverride::~WebOverlayOverride):
      (BlackBerry::WebKit::WebOverlayOverride::setPosition):
      (BlackBerry::WebKit::WebOverlayOverride::setAnchorPoint):
      (BlackBerry::WebKit::WebOverlayOverride::setSize):
      (BlackBerry::WebKit::WebOverlayOverride::setTransform):
      (BlackBerry::WebKit::WebOverlayOverride::setOpacity):
      (BlackBerry::WebKit::WebOverlayOverride::addAnimation):
      (BlackBerry::WebKit::WebOverlayOverride::removeAnimation):
      * Api/WebOverlayOverride.h: Added.
      (WebKit):
      * Api/WebOverlay_p.h: Added.
      (WTF):
      (WebCore):
      (WebKit):
      (WebOverlayPrivate):
      (BlackBerry::WebKit::WebOverlayPrivate::WebOverlayPrivate):
      (BlackBerry::WebKit::WebOverlayPrivate::~WebOverlayPrivate):
      (BlackBerry::WebKit::WebOverlayPrivate::setPage):
      (BlackBerry::WebKit::WebOverlayPrivate::setClient):
      (BlackBerry::WebKit::WebOverlayPrivate::layerCompositingThread):
      (BlackBerry::WebKit::WebOverlayPrivate::graphicsLayer):
      (WebOverlayPrivateWebKitThread):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::graphicsLayer):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyAnimationStarted):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showDebugBorders):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showRepaintCounter):
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::contentsVisible):
      (WebOverlayLayerCompositingThreadClient):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setLayer):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setClient):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawsContent):
      (BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::contents):
      (WebOverlayPrivateCompositingThread):
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPage::addOverlay):
      (WebKit):
      (BlackBerry::WebKit::WebPage::removeOverlay):
      (BlackBerry::WebKit::WebPage::addCompositingThreadOverlay):
      (BlackBerry::WebKit::WebPage::removeCompositingThreadOverlay):
      * Api/WebPage.h:
      (WebKit):
      * Api/WebPageCompositor.cpp:
      (BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
      (BlackBerry::WebKit::WebPageCompositorPrivate::render):
      (WebKit):
      (BlackBerry::WebKit::WebPageCompositorPrivate::compositeLayers):
      (BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):
      (BlackBerry::WebKit::WebPageCompositorPrivate::addOverlay):
      (BlackBerry::WebKit::WebPageCompositorPrivate::removeOverlay):
      * Api/WebPageCompositor_p.h:
      (BlackBerry::WebKit::WebPageCompositorPrivate::compositingThreadOverlayLayer):
      (WebPageCompositorPrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3331a7f1
    • loislo@chromium.org's avatar
      Unreviewed: Web Inspector: single line fix after r118742. · 65741ff3
      loislo@chromium.org authored
      * inspector/front-end/HeapSnapshotView.js:
      (WebInspector.HeapProfileHeader.prototype.saveToFile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65741ff3
    • haraken@chromium.org's avatar
      Remove m_rootNode and m_selectorChecker from SelectorQuery.h · 03a5a067
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87650
      
      Reviewed by Antti Koivisto.
      
      To avoid parsing CSS selectors every time, I am planning to cache
      SelectorQuery objects into a HashMap, which will be defined in
      Node::querySelector(). To make the size of SelectorQuery small,
      this patch removes m_rootNode and m_selectorChecker from SelectorQuery.h.
      
      Tests: fast/dom/SelectorAPI/*. No change in test results.
      
      * dom/Node.cpp:
      (WebCore::Node::querySelector):
      (WebCore::Node::querySelectorAll):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQuery::SelectorQuery):
      (WebCore):
      (WebCore::SelectorQuery::queryAll):
      (WebCore::SelectorQuery::queryFirst):
      * dom/SelectorQuery.h:
      (SelectorQuery):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03a5a067
    • caseq@chromium.org's avatar
      Web Inspector: Tabbed Settings Screen · ae57c3b8
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87497
      
      Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-29
      Reviewed by Yury Semikhatsky.
      
      Combine settings screen and shortcuts screen
      to a single tabbed settings screen.
      This will make shortcuts screen more discoverable.
      
      * inspector/front-end/HelpScreen.js:
      (WebInspector.HelpScreen): Make titled tamplate optional.
      (WebInspector.HelpScreen.prototype._createCloseButton): Extract method.
      * inspector/front-end/SettingsScreen.js:
      (WebInspector.SettingsScreen): Split initialization and UI construction.
      (WebInspector.SettingsScreen.prototype._createSettingsTabView.appendSection):
      (WebInspector.SettingsScreen.prototype._createSettingsTabView):
      Extract GUI construction method.
      (WebInspector.SettingsScreen.prototype._getOrCreateTabbedPane):
      Make GUI construction lazy.
      (WebInspector.SettingsScreen.prototype.selectTab):
      Add method for external tab swithching.
      (WebInspector.SettingsScreen.prototype.wasShown):
      Make GUI construction lazy.
      (WebInspector.SettingsScreenTabbedPane):
      Extend class to access protected member.
      (WebInspector.SettingsController.prototype._buttonClicked):
      Change "showSettingsScreen" visibility and parameters.
      (WebInspector.SettingsController.prototype._onHideSettingsScreen):
      Preserve settings screen state.
      (WebInspector.SettingsController.prototype.showSettingsScreen):
      Change method visibility and parameters.
      * inspector/front-end/ShortcutsScreen.js:
      (WebInspector.ShortcutsScreen): Remove inheritance from HelpScreen.
      (WebInspector.ShortcutsScreen.prototype._createShortcutsTabView):
      Refactoring of GUI construction.
      (WebInspector.ShortcutsSection.prototype.renderSection):
      Ditto.
      * inspector/front-end/helpScreen.css:
      (.help-window-main ::-webkit-scrollbar): Rebind scrollbar settings.
      (.help-window-main ::-webkit-resizer): Ditto.
      (.help-window-main ::-webkit-scrollbar-thumb:vertical): Ditto.
      (.help-window-main ::-webkit-scrollbar-thumb:vertical:active): Ditto.
      (.help-window-main ::-webkit-scrollbar-track:vertical): Ditto.
      (body:not(.compact) #settings-screen .tabbed-pane): Fix container height.
      (#settings-screen .tabbed-pane-header): Ditto.
      (#settings-screen .tabbed-pane-header-tabs): Adjust spacing.
      (#settings-screen .tabbed-pane-header-tab): Adjust style.
      (#settings-screen .help-close-button): Adjust spacing.
      (#settings-screen .tabbed-pane-header-tab.selected):
      Erase line below active tab.
      (#settings-screen .tabbed-pane-content): Adjust spacing.
      (#settings-screen .help-content): Ditto.
      * inspector/front-end/inspector.js:
      (WebInspector.documentKeyDown): Use Settings screen to show shortcuts.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae57c3b8
    • peter@chromium.org's avatar
      Unreviewed. Rolled DEPS. · ab912be3
      peter@chromium.org authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab912be3
    • tkent@chromium.org's avatar
      [Chromium] Update test expectations · 460d1470
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87155
      
      More placehodler tests.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      460d1470