1. 07 Apr, 2011 5 commits
    • slewis@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57997 · c943942d
      slewis@apple.com authored
      <rdar://problem/9187856> REGRESSION(r75555): ~5-7 MB increase in memory between iBench runs
      Navigating away from a Scrolled page which queues a scroll event that is never dispatched.
      Cancel all enqueued events when detaching the Document the events cannot keep the Document
      alive.
      
      Reviewed by Darin Adler.
      
      No change in functionality so no new tests.  
      
      * dom/Document.cpp:
      (WebCore::Document::detach):
      * dom/EventQueue.cpp:
      (WebCore::EventQueue::cancelQueuedEvents):
      * dom/EventQueue.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c943942d
    • levin@chromium.org's avatar
      2011-04-06 David Levin <levin@chromium.org> · 9045bedd
      levin@chromium.org authored
              Reviewed by Ojan Vafai.
      
              Augment style guidelines about meaningless parameters from text the unwritten rules email.
              https://bugs.webkit.org/show_bug.cgi?id=55275
      
              * coding/coding-style.html:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9045bedd
    • mitz@apple.com's avatar
      <rdar://problem/9084761> REGRESSION (r73993): Default Arabic line spacing has... · 5b96199f
      mitz@apple.com authored
      <rdar://problem/9084761> REGRESSION (r73993): Default Arabic line spacing has gotten very loose when the specified font is not Arabic
      https://bugs.webkit.org/show_bug.cgi?id=58002
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::platformInit): The version of Geeza Pro in Snow Leopard
      does not require the vertical metrics tweaks that were needed in Leopard. That the
      tweaks were being applied went mostly unnoticed until r73993, because until then it
      only affected cases where Geeza Pro was specified, not when it occurred as a fallback
      font.
      
      LayoutTests: 
      
      * platform/mac/fast/dom/52776-expected.checksum:
      * platform/mac/fast/dom/52776-expected.png:
      * platform/mac/fast/dom/52776-expected.txt:
      * platform/mac/fast/text/complex-text-opacity-expected.txt:
      * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt:
      * platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum:
      * platform/mac/fast/text/international/bidi-AN-after-L-expected.png:
      * platform/mac/fast/text/international/bidi-AN-after-L-expected.txt:
      * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum:
      * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png:
      * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt:
      * platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt:
      * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt:
      * platform/mac/fast/text/international/bidi-neutral-run-expected.checksum:
      * platform/mac/fast/text/international/bidi-neutral-run-expected.png:
      * platform/mac/fast/text/international/bidi-neutral-run-expected.txt:
      * platform/mac/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum:
      * platform/mac/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5b96199f
    • commit-queue@webkit.org's avatar
      2011-04-06 Anders Bakken <agbakken@gmail.com> · 984bd06c
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] FrameLoaderClientQt.cpp has coding-style errors
              https://bugs.webkit.org/show_bug.cgi?id=40254
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (drtDescriptionSuitableForTestResult):
              (WebCore::FrameLoaderClientQt::hasWebView):
              (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
              (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
              (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
              (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
              (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
              (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
              (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
              (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
              (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
              (WebCore::FrameLoaderClientQt::willChangeTitle):
              (WebCore::FrameLoaderClientQt::didChangeTitle):
              (WebCore::FrameLoaderClientQt::finishedLoading):
              (WebCore::FrameLoaderClientQt::frameLoadCompleted):
              (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
              (WebCore::FrameLoaderClientQt::didFinishLoad):
              (WebCore::FrameLoaderClientQt::setTitle):
              (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
              (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
              (WebCore::FrameLoaderClientQt::updateGlobalHistory):
              (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
              (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
              (WebCore::FrameLoaderClientQt::committedLoad):
              (WebCore::FrameLoaderClientQt::download):
              (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
              (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
              (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
              (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
              (WebCore::FrameLoaderClientQt::createFrame):
              (WebCore::FrameLoaderClientQt::objectContentType):
              (WebCore::FrameLoaderClientQt::createPlugin):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      984bd06c
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · c75196e5
      enne@google.com authored
              Unreviewed, update expectations for Chromium visited link test.
              https://bugs.webkit.org/show_bug.cgi?id=58000
      
              Apparently, this just hasn't been working for a while.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c75196e5
  2. 06 Apr, 2011 35 commits
    • rolandsteiner@chromium.org's avatar
      2011-04-06 Roland Steiner <rolandsteiner@chromium.org> · f8121e4b
      rolandsteiner@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Bug 57994 - Move guardRef functionality back to Document
              https://bugs.webkit.org/show_bug.cgi?id=57994
      
              Move the relevant code parts from TreeScope back into Document.
      
              No new tests. (no new functionality)
      
              * dom/Document.cpp:
              (WebCore::Document::removedLastRef):
              * dom/Document.h:
              * dom/TreeScope.cpp:
              (WebCore::TreeScope::destroyTreeScopeData):
              * dom/TreeScope.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f8121e4b
    • simon.fraser@apple.com's avatar
      2011-04-06 Ian Henderson <ianh@apple.com> · 1be39e07
      simon.fraser@apple.com authored
              Reviewed by Simon Fraser, Antti Koivisto.
      
              Fast path for parsing simple CSS values
              https://bugs.webkit.org/show_bug.cgi?id=57964
      
              Add functions to parse simple color or dimension values, skipping the
              overhead of full CSS parsing.
      
              Change parseValue to a static method to avoid unnecessary allocation
              of a CSSParser in the fast case.
      
              * css/CSSMutableStyleDeclaration.cpp:
              (WebCore::CSSMutableStyleDeclaration::setProperty):
              Changed to use the new, static parseValue method.
              * css/CSSParser.cpp:
              (WebCore::isColorPropertyID):
              (WebCore::parseColorValue):
              Parses any color accepted by the existing parseColor() static method.
              We must handle color identifiers separately, since parseColor() will
              change 'red' into 'rgb(255, 0, 0)'.
              (WebCore::isSimpleLengthPropertyID):
              (WebCore::parseSimpleLengthValue):
              Parses a value of the form 'NNpx', 'NN%', or 'NN' (when strict is
              false, or 'NN' is '0').  Returns false to fall back to the slow path.
              (WebCore::CSSParser::parseValue):
              * css/CSSParser.h:
              * css/WebKitCSSMatrix.cpp:
              (WebCore::WebKitCSSMatrix::setMatrixValue):
              Changed to use the new, static parseValue method.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1be39e07
    • kevino@webkit.org's avatar
      Reviewed by Darin Adler. · 232315b9
      kevino@webkit.org authored
      Make sure JS_EXPORT_PRIVATE is an empty define when we aren't using the export macros.
      
      https://bugs.webkit.org/show_bug.cgi?id=27551
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      232315b9
    • tony@chromium.org's avatar
      2011-04-06 Tony Chang <tony@chromium.org> · 9ce69712
      tony@chromium.org authored
              Reviewed by Darin Adler.
      
              teach run-webkit-tests to read checksums from png files
              https://bugs.webkit.org/show_bug.cgi?id=57993
      
              * Scripts/old-run-webkit-tests: Read the first 2k of a .png if there's
                no .checksum and look for the checksum in there.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9ce69712
    • simon.fraser@apple.com's avatar
      2011-04-06 Simon Fraser <simon.fraser@apple.com> · 8a220589
      simon.fraser@apple.com authored
              Reviewed by Antti Koivisto.
      
              Some minor style resolution optimizations
              https://bugs.webkit.org/show_bug.cgi?id=57996
      
              A couple of minor optimizations to style-related code.
      
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              (WebCore::isCSSPropertyName):
              (WebCore::JSCSSStyleDeclaration::putDelegate):
              Avoid calling cssPropertyName() twice when setting style on an element.
      
              * css/CSSStyleSelector.cpp:
              (WebCore::useSVGZoomRules):
              (WebCore::CSSStyleSelector::applyProperty):
              Avoid calling isSVGElement() for every property, since only a two properties
              care about it.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8a220589
    • simon.fraser@apple.com's avatar
      2011-04-06 Ian Henderson <ianh@apple.com> · af150f1b
      simon.fraser@apple.com authored
              Reviewed by Antti Koivisto.
      
              Unnecessary string allocation in CSSStyleDeclaration::setProperty
              https://bugs.webkit.org/show_bug.cgi?id=57995
      
              Pass the bool representing the property's importance directly instead
              of constructing a string.
      
              * css/CSSStyleDeclaration.cpp:
              (WebCore::CSSStyleDeclaration::setProperty):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      af150f1b
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · 32f8bb6c
      enne@google.com authored
              Unreviewed, rebaseline more Chromium mac tests after r83075.
      
              * platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.png: Added.
              * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      32f8bb6c
    • commit-queue@webkit.org's avatar
      2011-04-06 Siddharth Mathur <siddharth.mathur@nokia.com> · a0d70469
      commit-queue@webkit.org authored
              Reviewed by Benjamin Poulain.
      
              [Qt][WK2][Symbian] Remove use of stack arrays with variable size
              https://bugs.webkit.org/show_bug.cgi?id=57877
      
              For better compiler portability, use new/delete for arrays when size
              isn't known at compile time. Also fix one compiler warning about bitshift
              operations on signed integers.
              * Platform/CoreIPC/qt/ConnectionQt.cpp:
              (CoreIPC::Connection::readyReadHandler):
              (CoreIPC::Connection::sendOutgoingMessage):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83116 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a0d70469
    • commit-queue@webkit.org's avatar
      2011-04-06 Leandro Gracia Gil <leandrogracia@chromium.org> · f503206b
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Make the style of createFunctionOnlyCallback in V8 consistent with the JavaScriptCore version.
              https://bugs.webkit.org/show_bug.cgi?id=57963
      
              No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html
      
              * bindings/v8/V8Utilities.h:
              (WebCore::createFunctionOnlyCallback):
              * bindings/v8/custom/V8GeolocationCustom.cpp:
              (WebCore::V8Geolocation::getCurrentPositionCallback):
              (WebCore::V8Geolocation::watchPositionCallback):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f503206b
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · d9444be7
      enne@google.com authored
              Unreviewed, try to green Chromium mac tree by marking failing tests as more generally failing.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83114 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d9444be7
    • bweinstein@apple.com's avatar
      WebKit2: Support Windows 7 Gestures · 713b15f5
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49824
      <rdar://problem/8689728>
              
      Reviewed by Adam Roben.
      
      Source/WebCore: 
      
      Move WindowTouch.h from WebKit/win, so it can be used in both WebKit and WebKit2.
      
      * WebCore.vcproj/WebCore.vcproj:
      * platform/win/WindowsTouch.h: Copied from WebKit/win/WindowsTouch.h.
      
      Source/WebKit/win: 
      
      Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
      used in both WebKit and WebKit2.
      
      * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
      * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
      * WindowsTouch.h: Removed.
      
      Source/WebKit2: 
      
      Port code from WebKit1 -> WebKit2 to handle Windows 7 gestures.
              
      The UIProcess gets a WM_GESTURENOTIFY message, it sends a sync message to the WebProcess to ask
      if we should allow panning. The WebProcess checks if we're in a scrollable area, and the mouse
      isn't over a scrollbar.
      
      The UIProcess then gets a WM_GESTURE message, and if it is a pan gesture, it sends a message to
      the WebProcess to scroll by the amount fingers have moved since the last WM_GESTURE messeage. The
      X and Y are reversed because panning up -> moving the page down, and vice versa.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::gestureWillBegin): Send a sync message to the WebProcess
          to initialize the gesture. The WebProcess returns whether or not we can start a pan
          gesture from where we are.
      (WebKit::WebPageProxy::gestureDidScroll): Send a message to the WebProcess to scroll by
          pan gesture.
      (WebKit::WebPageProxy::gestureDidEnd): Send a message to the WebProcess that the gesture has ended.
      * UIProcess/WebPageProxy.h:
      * UIProcess/win/WebView.cpp:
      (WebKit::WebView::wndProc): Add WM_GESTURE and WM_GESTURENOTIFY handlers.
      (WebKit::WebView::WebView): Initialize two new variables.
      (WebKit::WebView::onGestureNotify): Figure out which gestures we should support based on where
          the gesture is beginning.
      (WebKit::WebView::onGesture): Support starting a gesture, ending a gesture, and panning.
      * UIProcess/win/WebView.h:
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/WebPage.messages.in: Add messages needed for gestures.
      * WebProcess/WebPage/win/WebPageWin.cpp:
      (WebKit::WebPage::gestureWillBegin): Set the node that the gesture started on (so we 
          know which layer to scroll if the user pans), and determine whether or not we should allow
          panning. If the page can't scroll, or the user is on a scrollbar, disallow panning.
      (WebKit::WebPage::gestureDidScroll): Scroll the enclosing layer of the element the gesture
          started on.
      (WebKit::WebPage::gestureDidEnd): Clear the node the gesture started on.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83113 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      713b15f5
    • commit-queue@webkit.org's avatar
      2011-04-06 David Dorwin <ddorwin@chromium.org> · 0aa1c1ce
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Enable fullscreen layout tests for Chromium
              https://bugs.webkit.org/show_bug.cgi?id=55726
      
              Remove test_expectations override for fullscreen tests.
      
              * platform/chromium/test_expectations.txt:
      2011-04-06  David Dorwin  <ddorwin@chromium.org>
      
              Reviewed by David Levin.
      
              Enable fullscreen layout tests for Chromium
              https://bugs.webkit.org/show_bug.cgi?id=55726
      
              Make DumpRenderTree always run with fullscreen enabled (equivalent of --enable-fullscreen).
      
              * DumpRenderTree/chromium/WebPreferences.cpp:
              (WebPreferences::applyTo):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83112 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0aa1c1ce
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · d6187b1f
      enne@google.com authored
              Unreviewed, rebaseline Chromium Mac tests after r83075.
      
              * platform/chromium-mac-leopard/fast/multicol/nested-columns-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/multicol/nested-columns-expected.png:
              * platform/chromium-mac/fast/multicol/nested-columns-expected.png: Removed.
              * platform/chromium-mac/fast/multicol/vertical-lr/nested-columns-expected.checksum: Removed.
              * platform/chromium-mac/fast/multicol/vertical-lr/nested-columns-expected.png: Removed.
              * platform/chromium-mac/fast/multicol/vertical-rl/nested-columns-expected.checksum: Removed.
              * platform/chromium-mac/fast/multicol/vertical-rl/nested-columns-expected.png: Removed.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d6187b1f
    • jeffm@apple.com's avatar
      2011-04-06 Jeff Miller <jeffm@apple.com> · 9fba5a50
      jeffm@apple.com authored
              Reviewed by Adam Roben.
      
              Add WKStringGetCharactersPtr() and WKStringGetLength() to WebKit2 C API
              https://bugs.webkit.org/show_bug.cgi?id=57989
              
              Note that WKChar, which is returned by WKStringGetCharactersPtr(), is defined the same way we define JSChar in JSStringRef.h.
      
              * Shared/API/c/WKString.cpp:
              (WKStringGetLength): Added.
              (WKStringGetCharactersPtr): Added.
              * Shared/API/c/WKString.h: Define WKChar and added WKStringGetLength() and WKStringGetCharactersPtr().
              * Shared/WebString.h:
              (WebKit::WebString::length): Added.
              (WebKit::WebString::characters): Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9fba5a50
    • andersca@apple.com's avatar
      2011-04-06 Anders Carlsson <andersca@apple.com> · f2eb6885
      andersca@apple.com authored
              Reviewed by Oliver Hunt.
      
              Dock stays in front of Hulu.com full screen video output
              https://bugs.webkit.org/show_bug.cgi?id=57988
              <rdar://problem/9216260>
      
              Instead of using -[NSMenu setMenuBarVisible:] to toggle full screen, use
              -[NSApp setPresentationOptions:]. Also, make the UI process the front most app before
              setting the presentation options when exiting full screen, otherwise the dock won't
              be restored correctly.
      
              * PluginProcess/mac/PluginProcessShim.mm:
              Remove some shim functions that aren't needed.
      
              * UIProcess/Plugins/PluginProcessProxy.cpp:
              (WebKit::PluginProcessProxy::PluginProcessProxy):
              Initialize m_preFullscreenAppPresentationOptions.
      
              * UIProcess/Plugins/PluginProcessProxy.h:
              Add m_preFullscreenAppPresentationOptions.
      
              * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
              (WebKit::PluginProcessProxy::enterFullscreen):
              Change the presentation options for the app.
      
              (WebKit::PluginProcessProxy::exitFullscreen):
              Restore the presentation options.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83109 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f2eb6885
    • alexis.menard@openbossa.org's avatar
      2011-04-06 Alexis Menard <alexis.menard@openbossa.org> · 2cbd0777
      alexis.menard@openbossa.org authored
              Reviewed by Andreas Kling.
      
              [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
              https://bugs.webkit.org/show_bug.cgi?id=57974
      
              We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
      
              No new tests needed, just a config flag rename.
      
              * features.pri:
      2011-04-06  Alexis Menard  <alexis.menard@openbossa.org>
      
              Reviewed by Andreas Kling.
      
              [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
              https://bugs.webkit.org/show_bug.cgi?id=57974
      
              We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
      
              No new tests needed, just a config flag rename.
      
              * Api/qwebkitplatformplugin.h:
              * WebCoreSupport/ChromeClientQt.cpp:
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
              * WebCoreSupport/FullScreenVideoQt.cpp:
              (WebCore::FullScreenVideoQt::FullScreenVideoQt):
              (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
              (WebCore::FullScreenVideoQt::enterFullScreenForNode):
              (WebCore::FullScreenVideoQt::exitFullScreenForNode):
              (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
              (WebCore::FullScreenVideoQt::isValid):
              * WebCoreSupport/FullScreenVideoQt.h:
              * WebCoreSupport/QtPlatformPlugin.cpp:
              * WebCoreSupport/QtPlatformPlugin.h:
              * examples/platformplugin/WebPlugin.cpp:
              (WebPlugin::supportsExtension):
              (WebPlugin::createExtension):
              * examples/platformplugin/WebPlugin.h:
              * examples/platformplugin/platformplugin.pro:
              * examples/platformplugin/qwebkitplatformplugin.h:
              * tests/qwebpage/tst_qwebpage.cpp:
              (tst_QWebPage::loadHtml5Video):
              * tests/tests.pri:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83108 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2cbd0777
    • oliver@apple.com's avatar
      2011-04-06 Oliver Hunt <oliver@apple.com> · 1a208ddf
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Stop JSObject::isUsingInlineStorage() from using the structure
              https://bugs.webkit.org/show_bug.cgi?id=57986
      
              Make the isUsingInlineStorage() implementation just look at
              whether the property storage is inside the object.
      
              * runtime/JSObject.h:
              (JSC::JSObject::isUsingInlineStorage):
              (JSC::JSObject::JSObject):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83107 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1a208ddf
    • barraclough@apple.com's avatar
      Update comments documenting JSVALUE64/JSVALUE32_64 JSValue representations. · c6406642
      barraclough@apple.com authored
      Rubber stamped by Geoff Garen.
      
      * runtime/JSImmediate.h:
      * runtime/JSValue.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c6406642
    • commit-queue@webkit.org's avatar
      2011-04-06 Tyler Close <tjclose@chromium.org> · 36068d58
      commit-queue@webkit.org authored
              Reviewed by Nate Chapin.
      
              run-bindings-tests reference files out of sync with CodeGenerator*.pm
              https://bugs.webkit.org/show_bug.cgi?id=57967
      
              * bindings/scripts/test/V8/V8TestCallback.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83105 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      36068d58
    • mrowe@apple.com's avatar
      Expose the original URL of a WKBackForwardListItem. · 591b12c2
      mrowe@apple.com authored
      Reviewed by Darin Adler.
      
      Needed for <rdar://problem/9074651>.
      
      * UIProcess/API/C/WKBackForwardListItem.cpp:
      (WKBackForwardListItemCopyOriginalURL):
      * UIProcess/API/C/WKBackForwardListItem.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      591b12c2
    • scheib@chromium.org's avatar
      2011-04-06 Vincent Scheib <scheib@chromium.org> · 5c99ac26
      scheib@chromium.org authored
              Fixed GPU expectations for r80867
      
              * platform/chromium-gpu-mac/platform/chromium/compositing/huge-layer-rotated-expected.png: Added.
              * platform/chromium-gpu-win/platform/chromium/compositing/huge-layer-rotated-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5c99ac26
    • commit-queue@webkit.org's avatar
      2011-04-06 Asanka Herath <asanka@chromium.org> · bfe198fc
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Add new TargetType: TargetIsFavicon
      
              https://bugs.webkit.org/show_bug.cgi?id=57659
      
              No new functionality added, so no additional tests.
      
              * platform/network/ResourceRequestBase.h:
      2011-04-06  Asanka Herath  <asanka@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Add new TargetType: TargetIsFavicon
      
              https://bugs.webkit.org/show_bug.cgi?id=57659
      
              * public/WebURLRequest.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bfe198fc
    • aroben@apple.com's avatar
      Add a "view leaks" link to builds on SnowLeopard Intel Leaks · 98cb06d5
      aroben@apple.com authored
      Fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks bot results page
      
      Reviewed by David Kilzer.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      (ExtractTestResults.resultDirectoryURL): Added. Moved code to calculate the URL for the
      build's results directory here...
      (ExtractTestResults.finished): ...from here.
      (ExtractTestResultsAndLeaks): New class that's used by the leaks builder
      (ExtractTestResultsAndLeaks.finished): Calls up to the base class, but also adds a "view
      leaks" link to point to Leaks Viewer for this build.
      (TestFactory): Added ExtractTestResultsClass abstraction. This isn't overridden anywhere,
      but it seemed good to add for consistency with BuildAndTestFactory.
      (BuildAndTestFactory): Added ExtractTestResultsClass abstraction.
      (BuildAndTestLeaksFactory): Use ExtractTestResultsAndLeaks as our ExtractTestResultsClass so
      that we'll get a "view leaks" link.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      98cb06d5
    • ossy@webkit.org's avatar
      [Qt] media tests are flakey · 10acfa3f
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=57983
      
      * platform/qt/Skipped: Disable all media tests until fix.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      10acfa3f
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57981 · 1781a619
      hyatt@apple.com authored
              
      Reviewed by Simon Fraser.
      
      Update the column count and width computation algorithm for CSS3 multi-column layout 
      to match the revised pseudo-algorithm in the latest draft of the spec.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::calcColumnWidth):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1781a619
    • rniwa@webkit.org's avatar
      2011-04-06 Ryosuke Niwa <rniwa@webkit.org> · f26c03bf
      rniwa@webkit.org authored
              Reviewed by Eric Seidel.
      
              borderPaddingMarginStart and borderPaddingMarginEnd should take RenderInline
              https://bugs.webkit.org/show_bug.cgi?id=57965
      
              Changed the argument types of borderPaddingMarginStart and borderPaddingMarginEnd
              from RenderBoxModelObject to RenderInline since they call marginStart and marginEnd
              instead of marginStartForChild and marginEndForChild respectively.
      
              Calling these two functions on RenderInline is okay because writing-mode cannot differ
              from that of the containing block.
      
              * rendering/RenderBlockLineLayout.cpp:
              (WebCore::borderPaddingMarginStart):
              (WebCore::borderPaddingMarginEnd):
              (WebCore::inlineLogicalWidth):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f26c03bf
    • commit-queue@webkit.org's avatar
      2011-04-06 Sheriff Bot <webkit.review.bot@gmail.com> · cbadf16b
      commit-queue@webkit.org authored
              Unreviewed, rolling out r83039.
              http://trac.webkit.org/changeset/83039
              https://bugs.webkit.org/show_bug.cgi?id=57978
      
              introduced a new regression in conjunction to
              ReplaceSelectionCommand (Requested by rniwa on #webkit).
      
              * editing/inserting/insert-paragraph-separator-tab-span-expected.txt: Removed.
              * editing/inserting/insert-paragraph-separator-tab-span.html: Removed.
      2011-04-06  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r83039.
              http://trac.webkit.org/changeset/83039
              https://bugs.webkit.org/show_bug.cgi?id=57978
      
              introduced a new regression in conjunction to
              ReplaceSelectionCommand (Requested by rniwa on #webkit).
      
              * editing/EditingStyle.cpp:
              (WebCore::EditingStyle::init):
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cbadf16b
    • commit-queue@webkit.org's avatar
      2011-04-06 Naoki Takano <takano.naoki@gmail.com> · 7b35c703
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Webkit ignores PgUp/PgDown/Home/End in SELECT tag objects
              https://bugs.webkit.org/show_bug.cgi?id=27658
      
              * fast/events/select-element-expected.txt: Added to check PgUp/PgDown/Home/End keys are working correctly in SELECT tag.
              * fast/events/select-element.html: Added for expectation.
      2011-04-06  Naoki Takano  <takano.naoki@gmail.com>
      
              Reviewed by David Levin.
      
              Webkit ignores PgUp/PgDown/Home/End in SELECT tag objects
              https://bugs.webkit.org/show_bug.cgi?id=27658
      
              Test: fast/events/select-element.html
      
              * dom/SelectElement.cpp:
              (WebCore::nextValidIndex): Moved from elsewhere in the file to be used by other routines.
              (WebCore::nextSelectableListIndexPageAway): Returns a selectable index one page away from the given index.
              (WebCore::nextSelectableListIndex): Implemented with nextValidIndex.
              And converted to a normal static function from a private function of SelectElement.
              (WebCore::previousSelectableListIndex): Implemented with nextValidIndex.
              And converted to a normal static function from a private function of SelectElement.
              (WebCore::firstSelectableListIndex): Returns the first selectable index.
              (WebCore::lastSelectableListIndex): Returns the last selectable index.
              (WebCore::SelectElement::menuListDefaultEventHandler): Converted from C cast to C++ cast.
              (WebCore::SelectElement::listBoxDefaultEventHandler): Adds support for PageUp/PageDown/Home/End with both single and multiple selection.
      
              * dom/SelectElement.h:
              (WebCore::SelectElement::): Remove nextSelectableListIndex() and previousSelectableListIndex().
      
              * rendering/RenderListBox.h: Makes RenderListBox::size public so that PageUp/PageDown behavior can use the actual list size rather than that specified in HTML.
              They can differ due to the minimum size imposed by RenderListBox.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7b35c703
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57975 · 75864ded
      hyatt@apple.com authored
      Reviewed by Dan Bernstein.
      
      The "More..." link for line clamping no longer shows up in Safari RSS. Fix the isLink() check
      to just look at the style, so that it can find the InlineTextBox and not care that it's a child
      of the link element and not the line box for the link element itself (since that line box got
      culled).
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::applyLineClamp):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      75864ded
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · d12b925c
      enne@google.com authored
              Unreviewed, rebaseline Chromium Win tests after r83075.
      
              * platform/chromium-win/fast/multicol/nested-columns-expected.checksum: Removed.
              * platform/chromium-win/fast/multicol/nested-columns-expected.png:
              * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.checksum: Removed.
              * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.png:
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.checksum: Removed.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.png:
              * platform/chromium-win/fast/text/capitalize-empty-generated-string-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d12b925c
    • hyatt@apple.com's avatar
      Rebaseline text orientation layout test on Windows. · 11b13edc
      hyatt@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@83093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      11b13edc
    • ossy@webkit.org's avatar
      [Qt] Update platform specific expected results after r83075. · 565a8172
      ossy@webkit.org authored
      * platform/qt/editing/pasteboard/paste-text-011-expected.checksum:
      * platform/qt/editing/pasteboard/paste-text-011-expected.png:
      * platform/qt/editing/pasteboard/paste-text-011-expected.txt:
      * platform/qt/fast/css-generated-content/014-expected.checksum:
      * platform/qt/fast/css-generated-content/014-expected.png:
      * platform/qt/fast/css-generated-content/014-expected.txt:
      * platform/qt/fast/css/word-space-extra-expected.checksum:
      * platform/qt/fast/css/word-space-extra-expected.png:
      * platform/qt/fast/css/word-space-extra-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug16252-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug2123-expected.checksum:
      * platform/qt/tables/mozilla/bugs/bug2123-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2123-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug43854-1-expected.checksum:
      * platform/qt/tables/mozilla/bugs/bug43854-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug43854-1-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug4523-expected.checksum:
      * platform/qt/tables/mozilla/bugs/bug4523-expected.png:
      * platform/qt/tables/mozilla/bugs/bug4523-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug57828-2-expected.checksum:
      * platform/qt/tables/mozilla/bugs/bug57828-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug57828-2-expected.txt:
      * platform/qt/tables/mozilla/core/bloomberg-expected.checksum:
      * platform/qt/tables/mozilla/core/bloomberg-expected.png:
      * platform/qt/tables/mozilla/core/bloomberg-expected.txt:
      * platform/qt/tables/mozilla/marvin/backgr_index-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      565a8172
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57973 and https://bugs.webkit.org/show_bug.cgi?id=57973 · 92406445
      beidson@apple.com authored
      WK2 icon database should be able to get a CGImage of a specific size
      
      Reviewed by Anders Carlsson.
      
      ../WebCore: 
      
      * platform/graphics/BitmapImage.h:
      * platform/graphics/Image.h:
      (WebCore::Image::getFirstCGImageRefOfSize):
              
      * platform/graphics/cg/ImageCG.cpp:
      (WebCore::BitmapImage::getFirstCGImageRefOfSize): Walk the frames of the image until reaching the
        first frame of the requested size.
      
      ../WebKit2: 
      
      * UIProcess/API/C/cg/WKIconDatabaseCG.cpp:
      (WKIconDatabaseTryGetCGImageForURL): Change this API to take a requested size, and find the first matching
        CGImage in the icon.
      * UIProcess/API/C/cg/WKIconDatabaseCG.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      92406445
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · f4c7c330
      kevino@webkit.org authored
      [wx] Fix cursor handling so that we always call the chrome to set it.
              
      https://bugs.webkit.org/show_bug.cgi?id=57972
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f4c7c330
    • enne@google.com's avatar
      2011-04-06 Adrienne Walker <enne@google.com> · 357663cb
      enne@google.com authored
              Unreviewed, mark Chromium expectations for line-clamp.html to be a known regression.
              https://bugs.webkit.org/show_bug.cgi?id=57975
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      357663cb