1. 24 Feb, 2012 40 commits
    • ddkilzer@apple.com's avatar
      Use xcrun to find compiler paths for Generate Derived Sources build phase script · 4e8d565a
      ddkilzer@apple.com authored
      <http://webkit.org/b/79512>
      
      Reviewed by Dan Bernstein.
      
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      (Generate Derived Sources): Use xcrun to find the path to the
      compiler since that works on both iOS and OS X.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e8d565a
    • commit-queue@webkit.org's avatar
      Make fast/canvas/canvas-strokePath-shadow.html allow for pixel tolerance · a5bd2cc3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79488
      
      Patch by Elliot Poger <epoger@google.com> on 2012-02-24
      Reviewed by Adam Barth.
      
      * fast/canvas/script-tests/canvas-strokePath-shadow.js:
      (shouldBeAlmost):
      * fast/js/resources/js-test-pre.js:
      (shouldBeCloseTo):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5bd2cc3
    • timothy_horton@apple.com's avatar
      Infinite repaint loop with SVGImageCache and deferred repaint timers · eab481e7
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=78315
      <rdar://problem/10651634>
      
      Reviewed by Dean Jackson.
      
      Only defer image redraw on a timer if we're in layout. This breaks
      the repaint loop while still preventing us from drawing inside layout.
      
      No new tests, as the problem only occurs in a nonstandard configuration.
      
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::draw):
      (WebCore::SVGImage::frameView):
      (WebCore):
      * svg/graphics/SVGImage.h:
      (WebCore):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::redrawTimerFired):
      (WebCore):
      * svg/graphics/SVGImageCache.h:
      (SVGImageCache):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eab481e7
    • jamesr@google.com's avatar
      [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call · 52be4885
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79296
      
      Reviewed by Kenneth Russell.
      
      The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
      WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
      
      * public/platform/WebGraphicsContext3D.h:
      (WebKit):
      * tests/CCLayerTreeHostImplTest.cpp:
      * tests/FakeWebGraphicsContext3D.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52be4885
    • timothy_horton@apple.com's avatar
      SVG should be supported in Dashboard compatibility mode · 69736612
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=78322
      <rdar://problem/5861278>
      
      Reviewed by Dean Jackson.
      
      Enable SVG elements inside Dashboard, more or less reverting r21418.
      
      Tests: http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html
             svg/custom/embedded-svg-allowed-in-dashboard.xml
             svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html
             svg/custom/manually-parsed-svg-allowed-in-dashboard.html
             svg/custom/svg-allowed-in-dashboard-object.html
      
      * dom/DOMImplementation.cpp:
      (WebCore::DOMImplementation::createDocument):
      * dom/Document.cpp:
      (WebCore::Document::importNode):
      * dom/make_names.pl:
      (printFactoryCppFile):
      
      Change tests that ensured that SVG didn't work in Dashboard to instead test that it does!
      
      * http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard-expected.txt: Added.
      * http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html: Renamed from LayoutTests/http/tests/xmlhttprequest/svg-created-by-xhr-disallowed-in-dashboard.html.
      * http/tests/xmlhttprequest/svg-created-by-xhr-disallowed-in-dashboard-expected.txt: Removed.
      * svg/custom/embedded-svg-allowed-in-dashboard-expected.txt: Added.
      * svg/custom/embedded-svg-allowed-in-dashboard.xml: Renamed from LayoutTests/svg/custom/embedded-svg-disallowed-in-dashboard.xml.
      * svg/custom/embedded-svg-disallowed-in-dashboard-expected.txt: Removed.
      * svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard-expected.txt: Added.
      * svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html: Renamed from LayoutTests/svg/custom/manually-parsed-embedded-svg-disallowed-in-dashboard.html.
      * svg/custom/manually-parsed-embedded-svg-disallowed-in-dashboard-expected.txt: Removed.
      * svg/custom/manually-parsed-svg-allowed-in-dashboard-expected.txt: Added.
      * svg/custom/manually-parsed-svg-allowed-in-dashboard.html: Renamed from LayoutTests/svg/custom/manually-parsed-svg-disallowed-in-dashboard.html.
      * svg/custom/manually-parsed-svg-disallowed-in-dashboard-expected.txt: Removed.
      * svg/custom/svg-allowed-in-dashboard-object-expected.txt: Added.
      * svg/custom/svg-allowed-in-dashboard-object.html: Renamed from LayoutTests/svg/custom/svg-disallowed-in-dashboard-object.html.
      * svg/custom/svg-disallowed-in-dashboard-object-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69736612
    • commit-queue@webkit.org's avatar
      Expose a setting to exempt media playback from user gesture requirement after... · 447cf0cd
      commit-queue@webkit.org authored
      Expose a setting to exempt media playback from user gesture requirement after a user gesture is initiated on loading/playing a media
      https://bugs.webkit.org/show_bug.cgi?id=79167
      
      Patch by Min Qin <qinmin@google.com> on 2012-02-24
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Test: media/video-play-require-user-gesture.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::load):
      (WebCore::HTMLMediaElement::play):
      (WebCore::HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture):
      (WebCore):
      * html/HTMLMediaElement.h:
      (HTMLMediaElement):
      * testing/Internals.cpp:
      (WebCore::Internals::setMediaPlaybackRequiresUserGesture):
      (WebCore):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      LayoutTests:
      
      * media/video-play-require-user-gesture-expected.txt: Added.
      * media/video-play-require-user-gesture.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      447cf0cd
    • abarth@webkit.org's avatar
      DOMWindow*.idl should have had the same license block as DOMWindow.idl did originally · 2d4768a2
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79507
      
      Reviewed by Alexey Proskuryakov.
      
      In moving pieces of DOMWindow.idl into separate files, we mistakenly
      changed some of the license blocks.  All these files should have a
      license block that matches the file that originally contained the code.
      
      * Modules/intents/DOMWindowIntents.idl:
      * fileapi/DOMWindowFileSystem.idl:
      * html/DOMWindowHTML.idl:
      * html/canvas/DOMWindowWebGL.idl:
      * mediastream/DOMWindowMediaStream.idl:
      * storage/DOMWindowSQLDatabase.idl:
      * svg/DOMWindowSVG.idl:
      * webaudio/DOMWindowWebAudio.idl:
      * websockets/DOMWindowWebSocket.idl:
      * workers/DOMWindowWorker.idl:
      * xml/DOMWindowXML.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d4768a2
    • jamesr@google.com's avatar
      [chromium] Move Web*Layer* headers into Platform · 257e8549
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79425
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
      Platform/chromium/public.
      
      * Platform.gypi:
      * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
      (WebKit):
      * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
      (WebKit):
      * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
      (WebKit):
      * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
      (WebKit):
      (WebContentLayer):
      (WebKit::WebContentLayer::WebContentLayer):
      (WebKit::WebContentLayer::~WebContentLayer):
      (WebKit::WebContentLayer::operator=):
      * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
      (WebKit):
      (WebContentLayerClient):
      (WebKit::WebContentLayerClient::~WebContentLayerClient):
      * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
      (WebKit):
      (WebExternalTextureLayer):
      (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
      (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
      (WebKit::WebExternalTextureLayer::operator=):
      * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
      (WebKit):
      (WebLayer):
      (WebKit::WebLayer::WebLayer):
      (WebKit::WebLayer::~WebLayer):
      (WebKit::WebLayer::operator=):
      (WebKit::WebLayer::isNull):
      (WebKit::WebLayer::to):
      (WebKit::WebLayer::toConst):
      (WebKit::WebLayer::unwrap):
      (WebKit::WebLayer::constUnwrap):
      (WebKit::operator==):
      (WebKit::operator!=):
      * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
      (WebCore):
      (WebKit):
      (WebLayerTreeView):
      (WebKit::WebLayerTreeView::Settings::Settings):
      (Settings):
      (WebKit::WebLayerTreeView::WebLayerTreeView):
      (WebKit::WebLayerTreeView::~WebLayerTreeView):
      (WebKit::WebLayerTreeView::operator=):
      (WebKit::operator==):
      (WebKit::operator!=):
      * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
      (WebKit):
      (WebLayerTreeViewClient):
      (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
      * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
      (WebKit):
      (WebPrivatePtr):
      (WebKit::WebPrivatePtr::WebPrivatePtr):
      (WebKit::WebPrivatePtr::~WebPrivatePtr):
      (WebKit::WebPrivatePtr::isNull):
      (WebKit::WebPrivatePtr::reset):
      (WebKit::WebPrivatePtr::operator=):
      (WebKit::WebPrivatePtr::get):
      (WebKit::WebPrivatePtr::operator->):
      (WebKit::WebPrivatePtr::assign):
      * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
      (WebKit):
      (WebSolidColorLayer):
      
      Source/WebKit/chromium:
      
      Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
      APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
      WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
      might move them back down to public/ at some point.
      
      * public/platform/WebCanvas.h:
      * public/platform/WebColor.h:
      * public/platform/WebColorName.h:
      * public/platform/WebContentLayer.h:
      * public/platform/WebContentLayerClient.h:
      * public/platform/WebExternalTextureLayer.h:
      * public/platform/WebLayer.h:
      * public/platform/WebLayerTreeView.h:
      * public/platform/WebLayerTreeViewClient.h:
      * public/platform/WebPrivatePtr.h:
      * public/platform/WebSolidColorLayer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      257e8549
    • lforschler@apple.com's avatar
      Versioning. · 42d7249a
      lforschler@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42d7249a
    • ddkilzer@apple.com's avatar
      Use xcrun to find compiler paths for Generate Derived Sources build phase script · 5e0beb4e
      ddkilzer@apple.com authored
      <http://webkit.org/b/79512>
      
      Reviewed by Mark Rowe.
      
      * WebCore.xcodeproj/project.pbxproj:
      (Generate Derived Sources): Use xcrun to find the path to the
      compiler since that works on both iOS and OS X.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e0beb4e
    • andersca@apple.com's avatar
      Crash in TileCache::revalidateTiles · 620477cf
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79510
      <rdar://problem/10928035>
      
      Reviewed by Sam Weinig.
      
      Handle the tile cache layer's PlatformCALayer going away before the
      CALayer itself has been deallocated.
      
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::revalidateTiles):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      620477cf
    • jamesr@google.com's avatar
      Create a watchlist for ScrollingCoordinator changes · 227397f0
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79511
      
      Reviewed by Anders Carlsson.
      
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      227397f0
    • commit-queue@webkit.org's avatar
      Remove spurious mac-specific tests · 37bad3c6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75091
      
      Patch by Philip Rogers <pdr@google.com> on 2012-02-24
      Reviewed by Daniel Bates.
      
      * platform/mac/svg/text/text-rescale.html: Removed.
      * platform/mac/svg/text/text-viewbox-rescale.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37bad3c6
    • jberlin@webkit.org's avatar
      requestPermission callback not invoked if the WebProcess doesn't have to ask the UI Process · c652416f
      jberlin@webkit.org authored
      about the permission level.
      https://bugs.webkit.org/show_bug.cgi?id=79494
      
      Reviewed by Jon Honeycutt.
      
      Invoke the callback in the case where the permission level is known and no message is sent
      to the UI Process.
      
      * WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
      (WebKit::NotificationPermissionRequestManager::startRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c652416f
    • commit-queue@webkit.org's avatar
      [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup. · e36845e4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77307
      
      Patch by Peter Collingbourne <peter@pcc.me.uk> on 2012-02-24
      Reviewed by Tony Chang.
      
      This function is currently used to build markup in order to
      print the selection, and will also be used to build markup for
      the clipboard.  Without this change, the markup will refer to
      (for example) nonexistent CSS classes and invalid relative
      paths and therefore will not be interpreted correctly.
      
      Chromium bug: http://crbug.com/23329
      
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::selectionAsMarkup):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e36845e4
    • dbates@webkit.org's avatar
      Fix change log entry for changeset r108819; add bug URL · 0aaf98d9
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79504
      
      Changeset r108819 is associated with bug #79504.
      
      * ChangeLog
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0aaf98d9
    • dbates@webkit.org's avatar
      Substitute ENABLE(CLASSIC_INTERPRETER) for ENABLE(INTERPRETER) in Interpreter.cpp · 1a7891fa
      dbates@webkit.org authored
      Reviewed by Oliver Hunt.
      
      There are a few places in Interpreter.cpp that need to be updated to use
      ENABLE(CLASSIC_INTERPRETER) following the renaming of ENABLE_INTERPRETER to
      ENABLE_CLASSIC_INTERPRETER in changeset <http://trac.webkit.org/changeset/108020>
      (https://bugs.webkit.org/show_bug.cgi?id=78791).
      
      * interpreter/Interpreter.cpp:
      (JSC::getLineNumberForCallFrame):
      (JSC::getCallerInfo):
      (JSC::getSourceURLFromCallFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a7891fa
    • adamk@chromium.org's avatar
      Don't notify the inspector of Node insertions initiated by the parser · a1a78c56
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79388
      
      Reviewed by Adam Barth.
      
      This is part of a series of changes to make ContainerNode's
      implementation simpler and more internally consistent.
      
      I don't know of a way to break on parser-initiated insertions,
      and the code already doesn't notify on parser-initiated removes
      (in ContainerNode::parserRemoveChild).
      
      No new tests, should already be covered by
      inspector/debugger/dom-breakpoints.html.
      
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::parserInsertBefore):
      (WebCore::ContainerNode::parserAddChild):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1a78c56
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Signal and property cleanup in QQuickWebView · 31d9a7fb
      jocelyn.turcotte@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=78820
      
      Reviewed by Simon Hausmann.
      
      - Remove parameters from property change notify signals:
        titleChanged, urlChanged, iconChanged, loadProgressChanged
      - Rename the parameters of linkHovered to prevent shadoing properties of WebView
      - Rename navigationStateChanged to navigationHistoryChanged
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::QQuickWebViewPrivate):
      (QQuickWebViewPrivate::initialize):
      (QQuickWebViewPrivate::_q_onUrlChanged):
      (QQuickWebViewPrivate::setIcon):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml:
      * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
      (tst_QQuickWebView::loadProgress):
      * UIProcess/qt/QtWebPageLoadClient.cpp:
      (QtWebPageLoadClient::didCommitLoadForFrame):
      (QtWebPageLoadClient::didSameDocumentNavigationForFrame):
      (QtWebPageLoadClient::didReceiveTitleForFrame):
      (QtWebPageLoadClient::setLoadProgress):
      * UIProcess/qt/QtWebPageLoadClient.h:
      (QtWebPageLoadClient):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31d9a7fb
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] API: Unify the loading properties and signals. · b6c249f1
      jocelyn.turcotte@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79486
      
      Reviewed by Simon Hausmann.
      
      Source/WebKit/qt:
      
      * declarative/plugin.cpp:
      (WebKitQmlPlugin::registerTypes):
      
      Source/WebKit2:
      
      - Remove the canReload signal, instead assume that calling reload in those cases
        won't have any effect.
      - Replace loadStarted, loadSucceeded and loadFailed by a single signal: loadingChanged.
        The signal carries an argument with a status and error codes giving the intended context.
      - Use loadingChanged as the notification signal for the property "loading" instead of
        navigationStateChanged.
      
      Also update all API tests to use the new loading signals and add some utility functions
      to track the loading since the new API aims to be more adapted to declarative logic
      and the auto tests are using an imperative logic.
      
      * Target.pri:
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::QQuickWebViewPrivate):
      (QQuickWebViewPrivate::loadDidSucceed):
      (QQuickWebViewPrivate::didChangeLoadingState):
      (QQuickWebViewPrivate::processDidCrash):
      (QQuickWebViewPrivate::didRelaunchProcess):
      * UIProcess/API/qt/qquickwebview_p.h:
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/qwebloadrequest.cpp: Added.
      (QWebLoadRequestPrivate):
      (QWebLoadRequestPrivate::QWebLoadRequestPrivate):
      (QWebLoadRequest::QWebLoadRequest):
      (QWebLoadRequest::~QWebLoadRequest):
      (QWebLoadRequest::url):
      (QWebLoadRequest::status):
      (QWebLoadRequest::errorString):
      (QWebLoadRequest::errorDomain):
      (QWebLoadRequest::errorCode):
      * UIProcess/API/qt/qwebloadrequest_p.h: Added.
      * UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadFail.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadHtml.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgress.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgressSignal.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_navigationHistory.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_properties.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml:
      * UIProcess/API/qt/tests/qmltests/common/TestWebView.qml: Added.
      * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
      (tst_QQuickWebView::navigationStatusAtStartup):
      (LoadStartedCatcher::LoadStartedCatcher):
      (LoadStartedCatcher::onLoadingChanged):
      (tst_QQuickWebView::stopEnabledAfterLoadStarted):
      (tst_QQuickWebView::loadEmptyPageViewHidden):
      (tst_QQuickWebView::loadNonexistentFileUrl):
      (tst_QQuickWebView::backAndForward):
      (tst_QQuickWebView::reload):
      (tst_QQuickWebView::stop):
      (tst_QQuickWebView::loadProgress):
      (tst_QQuickWebView::showWebView):
      (tst_QQuickWebView::multipleWebViewWindows):
      (tst_QQuickWebView::multipleWebViews):
      (tst_QQuickWebView::scrollRequest):
      * UIProcess/API/qt/tests/util.cpp:
      (LoadSpy):
      (LoadSpy::LoadSpy):
      (LoadSpy::onLoadingChanged):
      (waitForLoadSucceeded):
      (waitForLoadFailed):
      * UIProcess/API/qt/tests/util.h:
      * UIProcess/qt/QtWebError.h:
      * UIProcess/qt/QtWebPageLoadClient.cpp:
      (QtWebPageLoadClient::didStartProvisionalLoadForFrame):
      (QtWebPageLoadClient::dispatchLoadFailed):
      * UIProcess/qt/QtWebPageLoadClient.h:
      (QtWebPageLoadClient):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6c249f1
    • dbates@webkit.org's avatar
      Attempt to fix the Windows and WinCE build after changeset r108809 · 3bf6ab23
      dbates@webkit.org authored
      <http://trac.webkit.org/changeset/108809> (https://bugs.webkit.org/show_bug.cgi?id=38995)
      
      Substitute styleLoadEventSender() for loadEventSender() in HTMLStyleElement.cpp
      and substitute linkLoadEventSender() for loadEventSender() in HTMLLinkElement.cpp. 
      
      * html/HTMLLinkElement.cpp:
      (WebCore::linkLoadEventSender):
      (WebCore::HTMLLinkElement::~HTMLLinkElement):
      (WebCore::HTMLLinkElement::dispatchPendingLoadEvents):
      (WebCore::HTMLLinkElement::dispatchPendingEvent):
      (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources):
      * html/HTMLStyleElement.cpp:
      (WebCore::styleLoadEventSender):
      (WebCore::HTMLStyleElement::~HTMLStyleElement):
      (WebCore::HTMLStyleElement::dispatchPendingLoadEvents):
      (WebCore::HTMLStyleElement::dispatchPendingEvent):
      (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bf6ab23
    • aroben@apple.com's avatar
      Undo the BUILDING_WTF part of r108808 · 04065167
      aroben@apple.com authored
      This broke the build, which is obviously worse than the linker warning it was trying to
      solve.
      
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04065167
    • peter@chromium.org's avatar
      [Chromium] Fix Chromium Android build by building HarfBuzzShaperBase.cpp · fcc004b0
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79497
      
      Reviewed by Tony Gentilcore.
      
      The Chromium Android build was broken by revision r108733, as the
      HarfBuzzShaperBase.cpp file also should have been included for Android.
      Fix the build by including it.
      
      * WebCore.gyp/WebCore.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fcc004b0
    • philn@webkit.org's avatar
      Unreviewed, GTK SVG rebaseline (from 64-bit Release bot) and · ab27e679
      philn@webkit.org authored
      skipping one more fast/dom/shadow test.
      
      * platform/gtk/Skipped:
      * platform/gtk/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt:
      * platform/gtk/svg/carto.net/scrollbar-expected.txt:
      * platform/gtk/svg/carto.net/window-expected.txt:
      * platform/gtk/svg/custom/circle-move-invalidation-expected.txt:
      * platform/gtk/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
      * platform/gtk/svg/custom/js-late-gradient-and-object-creation-expected.txt:
      * platform/gtk/svg/custom/js-late-pattern-and-object-creation-expected.txt:
      * platform/gtk/svg/custom/use-detach-expected.txt:
      * platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab27e679
    • yael.aharon@nokia.com's avatar
      [Texmap] Consolidate the common parts of TextureMapperGL::drawTexture · f780f0d2
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79143
      
      Reviewed by Noam Rosenthal.
      
      Combine the two drawTexture methods into one, and extract the part that
      could not be combined into its own method.
      No new tests. Refactoring only.
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore):
      (WebCore::TextureMapperGL::drawTexture):
      * platform/graphics/texmap/TextureMapperGL.h:
      (WebCore):
      (BitmapTextureGL):
      (WebCore::BitmapTextureGL::~BitmapTextureGL):
      (WebCore::BitmapTextureGL::id):
      (WebCore::BitmapTextureGL::relativeSize):
      (WebCore::BitmapTextureGL::setTextureMapper):
      (WebCore::BitmapTextureGL::BitmapTextureGL):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource):
      (WebCore):
      (WebCore::TextureMapperShaderProgramOpacityAndMask::prepare):
      * platform/graphics/texmap/TextureMapperShaderManager.h:
      (WebCore):
      (WebCore::TextureMapperShaderProgram::prepare):
      (WebCore::TextureMapperShaderProgram::matrixVariable):
      (WebCore::TextureMapperShaderProgram::sourceMatrixVariable):
      (WebCore::TextureMapperShaderProgram::sourceTextureVariable):
      (WebCore::TextureMapperShaderProgram::opacityVariable):
      (TextureMapperShaderProgram):
      (TextureMapperShaderProgramSimple):
      (TextureMapperShaderProgramOpacityAndMask):
      (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable):
      (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f780f0d2
    • dbates@webkit.org's avatar
      style element and link element for CSS stylesheet should emit load/error event... · 03278c1e
      dbates@webkit.org authored
      style element and link element for CSS stylesheet should emit load/error event when sheet loads/fails to load
      https://bugs.webkit.org/show_bug.cgi?id=38995
      
      Reviewed by Adam Barth and Nate Chapin.
      
      Source/WebCore: 
      
      Tests: fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-existent-and-non-existent-import.html
             fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
             fast/dom/HTMLLinkElement/link-onerror.html
             fast/dom/HTMLLinkElement/link-onload-before-page-load.html
             fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
             fast/dom/HTMLLinkElement/link-onload.html
             fast/dom/HTMLLinkElement/link-onload2.html
             fast/dom/HTMLLinkElement/programmatically-add-link-with-onerror-handler.html
             fast/dom/HTMLLinkElement/programmatically-add-link-with-onload-handler.html
             fast/dom/HTMLStyleElement/programmatically-add-style-with-onerror-handler.html
             fast/dom/HTMLStyleElement/programmatically-add-style-with-onload-handler.html
             fast/dom/HTMLStyleElement/style-onerror-with-existent-and-non-existent-import.html
             fast/dom/HTMLStyleElement/style-onerror.html
             fast/dom/HTMLStyleElement/style-onload-before-page-load.html
             fast/dom/HTMLStyleElement/style-onload.html
             fast/dom/HTMLStyleElement/style-onload2.html
      
      Implements support for firing Load and Error events at HTML Link and HTML Style elements as per
      the HTML5 spec. (draft 05/25/2011) section "The link element" <http://www.w3.org/TR/html5/semantics.html#the-link-element>
      and "The style element" <http://www.w3.org/TR/html5/semantics.html#the-style-element>, respectively.
      
      * css/CSSImportRule.cpp:
      (WebCore::CSSImportRule::setCSSStyleSheet): Modified to call CSSStyleSheet::notifyLoadedSheet()
      after the style sheet associated with the @import rule loaded.
      * css/CSSStyleSheet.cpp: Added instance variable m_didLoadErrorOccur to track whether a network error
      occurred while loading any @import style sheets.
      (WebCore::CSSStyleSheet::CSSStyleSheet):
      (WebCore::CSSStyleSheet::checkLoaded):
      (WebCore):
      (WebCore::CSSStyleSheet::notifyLoadedSheet): Added; update m_didLoadErrorOccur to reflect if a network
      error occurred while loading a style sheet associated with an @import rule.
      * css/CSSStyleSheet.h:
      (WebCore):
      (CSSStyleSheet):
      * dom/Document.cpp:
      (WebCore::Document::implicitClose): Call HTML{LinkElement, StyleElement}::dispatchPendingLoadEvents() to
      ensure that all pending Load events for link and style elements are dispatched before we fire the Load
      event for the window.
      * dom/Node.h:
      (WebCore::Node::notifyLoadedSheetAndAllCriticalSubresources): Added; as stated in its name, this method is
      called once a style sheet and all its critical subresources (@imports) have loaded.
      * html/HTMLLinkElement.cpp:
      (WebCore::loadEventSender):
      (WebCore):
      (WebCore::HTMLLinkElement::HTMLLinkElement):
      (WebCore::HTMLLinkElement::~HTMLLinkElement): Modified to cancel all pending Load events on destruction.
      (WebCore::HTMLLinkElement::parseAttribute): Register event listeners for Load and Error events regardless of whether we
      built with link prefetch support.
      (WebCore::HTMLLinkElement::setCSSStyleSheet):
      (WebCore::HTMLLinkElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
      ensure that all pending Load events for link elements have been dispatched before we fire the Load event
      for the window.
      (WebCore::HTMLLinkElement::dispatchPendingEvent): Added; called by EventSender.
      (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
      * html/HTMLLinkElement.h:
      (WebCore):
      (HTMLLinkElement):
      * html/HTMLStyleElement.cpp:
      (WebCore::loadEventSender):
      (WebCore):
      (WebCore::HTMLStyleElement::HTMLStyleElement):
      (WebCore::HTMLStyleElement::~HTMLStyleElement): Modified to cancel all pending Load events on destruction.
      (WebCore::HTMLStyleElement::parseAttribute): Register event listeners for Load and Error events.
      (WebCore::HTMLStyleElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
      ensure that all pending Load events for link elements have been dispatched before we fire the Load event
      for the window.
      (WebCore::HTMLStyleElement::dispatchPendingEvent): Added; called by EventSender.
      (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
      * html/HTMLStyleElement.h:
      (WebCore):
      (HTMLStyleElement):
      
      LayoutTests: 
      
      Add test cases to ensure we dispatch Load/Error events to HTML Link and HTML Style elements.
      
      * fast/dom/HTMLLinkElement/link-onerror-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-existent-and-non-existent-import-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-existent-and-non-existent-import.html: Added.
      * fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html: Added.
      * fast/dom/HTMLLinkElement/link-onerror.html: Added.
      * fast/dom/HTMLLinkElement/link-onload-before-page-load-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onload-before-page-load.html: Added.
      * fast/dom/HTMLLinkElement/link-onload-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html: Added.
      * fast/dom/HTMLLinkElement/link-onload.html: Added.
      * fast/dom/HTMLLinkElement/link-onload2-expected.txt: Added.
      * fast/dom/HTMLLinkElement/link-onload2.html: Added.
      * fast/dom/HTMLLinkElement/programmatically-add-link-with-onerror-handler-expected.txt: Added.
      * fast/dom/HTMLLinkElement/programmatically-add-link-with-onerror-handler.html: Added.
      * fast/dom/HTMLLinkElement/programmatically-add-link-with-onload-handler-expected.txt: Added.
      * fast/dom/HTMLLinkElement/programmatically-add-link-with-onload-handler.html: Added.
      * fast/dom/HTMLLinkElement/resources/link-load-utilities.js: Added.
      (shouldComputedColorOfElementBeEqualToRGBString):
      (createLinkElementWithStylesheet):
      (createStyleElementWithString):
      (log):
      (testPassed):
      (testFailed):
      (testPassedAndNotifyDone):
      (testFailedAndNotifyDone):
      (testFinished):
      * fast/dom/HTMLLinkElement/resources/stylesheet-with-existent-and-non-existent-import.css: Added.
      (#test):
      * fast/dom/HTMLLinkElement/resources/stylesheet-with-import.css: Added.
      (#test):
      * fast/dom/HTMLLinkElement/resources/stylesheet-with-non-existent-import.css: Added.
      (#test):
      * fast/dom/HTMLLinkElement/resources/stylesheet.css: Added.
      (#test):
      * fast/dom/HTMLStyleElement/programmatically-add-style-with-onerror-handler-expected.txt: Added.
      * fast/dom/HTMLStyleElement/programmatically-add-style-with-onerror-handler.html: Added.
      * fast/dom/HTMLStyleElement/programmatically-add-style-with-onload-handler-expected.txt: Added.
      * fast/dom/HTMLStyleElement/programmatically-add-style-with-onload-handler.html: Added.
      * fast/dom/HTMLStyleElement/style-onerror-expected.txt: Added.
      * fast/dom/HTMLStyleElement/style-onerror-with-existent-and-non-existent-import-expected.txt: Added.
      * fast/dom/HTMLStyleElement/style-onerror-with-existent-and-non-existent-import.html: Added.
      * fast/dom/HTMLStyleElement/style-onerror.html: Added.
      * fast/dom/HTMLStyleElement/style-onload-before-page-load-expected.txt: Added.
      * fast/dom/HTMLStyleElement/style-onload-before-page-load.html: Added.
      * fast/dom/HTMLStyleElement/style-onload-expected.txt: Added.
      * fast/dom/HTMLStyleElement/style-onload.html: Added.
      * fast/dom/HTMLStyleElement/style-onload2-expected.txt: Added.
      * fast/dom/HTMLStyleElement/style-onload2.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03278c1e
    • aroben@apple.com's avatar
      Fix linker warnings on Windows · 3f56690c
      aroben@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed symbols that are already
      exported via JS_EXPORTDATA.
      
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: Define BUILDING_WTF. We
      aren't actually building WTF, but we are statically linking it, so we need to define this
      symbol so that we export WTF's exports.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f56690c
    • aroben@apple.com's avatar
      Mac build fix after r108698 · 38daef2b
      aroben@apple.com authored
      * page/scrolling/mac/ScrollingCoordinatorMac.mm: Added missing #import.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38daef2b
    • commit-queue@webkit.org's avatar
      [EFL][DRT] Implement setValueForUser and setAutofilled. · 168fbb88
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79237
      
      Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2012-02-24
      Reviewed by Andreas Kling.
      
      Source/WebKit:
      
      Adds the main directory of WebKit's source to find headers of JavaScriptCore.
      
      * PlatformEfl.cmake:
      
      Source/WebKit/efl:
      
      Adds missing implementation setValueForUser and setAutofilled to EFL's DumpRenderTreeSupport.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::setValueForUser):
      (DumpRenderTreeSupportEfl::setAutofilled):
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Tools:
      
      Adds missing implementation setValueForUser and setAutofilled to EFL's LayoutTestController.
      Those implementations are related with input fields and allow to pass following tests:
      fast/forms/onchange-setvalueforuser.html
      fast/forms/input-autofilled.html
      fast/forms/reset-autofilled.html
      
      * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
      (LayoutTestController::setValueForUser):
      (LayoutTestController::setAutofilled):
      
      LayoutTests:
      
      Adds missing implementation setValueForUser and setAutofilled to EFL's LayoutTestController.
      Those implementations are related with input fields and allow to pass following tests:
      fast/forms/onchange-setvalueforuser.html
      fast/forms/input-autofilled.html
      fast/forms/reset-autofilled.html
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      168fbb88
    • hausmann@webkit.org's avatar
      Unreviewed, rolling out r108798. · ed2d155b
      hausmann@webkit.org authored
      http://trac.webkit.org/changeset/108798
      https://bugs.webkit.org/show_bug.cgi?id=78047
      
      Broke too many Qt WK2 tests.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebView::keyPressEvent):
      (QQuickWebView::keyReleaseEvent):
      (QQuickWebView::inputMethodEvent):
      (QQuickWebView::focusInEvent):
      (QQuickWebView::focusOutEvent):
      (QQuickWebView::touchEvent):
      (QQuickWebView::mousePressEvent):
      (QQuickWebView::mouseMoveEvent):
      (QQuickWebView::mouseReleaseEvent):
      (QQuickWebView::mouseDoubleClickEvent):
      (QQuickWebView::wheelEvent):
      (QQuickWebView::hoverEnterEvent):
      (QQuickWebView::hoverMoveEvent):
      (QQuickWebView::hoverLeaveEvent):
      (QQuickWebView::dragMoveEvent):
      (QQuickWebView::dragEnterEvent):
      (QQuickWebView::dragLeaveEvent):
      (QQuickWebView::dropEvent):
      (QQuickWebView::event):
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (QtWebPageEventHandler::handleEvent):
      (QtWebPageEventHandler::handleMouseMoveEvent):
      (QtWebPageEventHandler::handleMousePressEvent):
      (QtWebPageEventHandler::handleMouseReleaseEvent):
      (QtWebPageEventHandler::handleWheelEvent):
      (QtWebPageEventHandler::handleHoverLeaveEvent):
      (QtWebPageEventHandler::handleHoverMoveEvent):
      (QtWebPageEventHandler::handleDragEnterEvent):
      (QtWebPageEventHandler::handleDragLeaveEvent):
      (QtWebPageEventHandler::handleDragMoveEvent):
      (QtWebPageEventHandler::handleDropEvent):
      (QtWebPageEventHandler::handleKeyPressEvent):
      (QtWebPageEventHandler::handleKeyReleaseEvent):
      (QtWebPageEventHandler::handleFocusInEvent):
      (QtWebPageEventHandler::handleFocusOutEvent):
      (QtWebPageEventHandler::inputMethodEvent):
      (QtWebPageEventHandler::touchEvent):
      * UIProcess/qt/QtWebPageEventHandler.h:
      (QtWebPageEventHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed2d155b
    • ossy@webkit.org's avatar
      Unreviewed speculative buildfix after r108785 for ENABLE(SVG) && !ENABLE(XSLT) case. · 25970cee
      ossy@webkit.org authored
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::canRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25970cee
    • commit-queue@webkit.org's avatar
      [BlackBerry] Eliminate excessive BlackBerry::Platform use in InputHandler · dc7a4d9d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79393
      
      Patch by Mike Fenton <mifenton@rim.com> on 2012-02-24
      Reviewed by Antonio Gomes.
      
      Cleanup usage of BlackBerry::Platform in InputHandler.
      
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::convertStringToWchar):
      (BlackBerry::WebKit::convertStringToWcharVector):
      (BlackBerry::WebKit::convertSpannableStringToString):
      (BlackBerry::WebKit::InputHandler::learnText):
      (BlackBerry::WebKit::InputHandler::setElementUnfocused):
      (BlackBerry::WebKit::InputHandler::shouldAcceptInputFocus):
      (BlackBerry::WebKit::InputHandler::setElementFocused):
      (BlackBerry::WebKit::InputHandler::nodeTextChanged):
      (BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible):
      (BlackBerry::WebKit::InputHandler::frameUnloaded):
      (BlackBerry::WebKit::InputHandler::selectionChanged):
      (BlackBerry::WebKit::InputHandler::setSelection):
      (BlackBerry::WebKit::InputHandler::handleKeyboardInput):
      (BlackBerry::WebKit::InputHandler::deleteTextRelativeToCursor):
      (BlackBerry::WebKit::InputHandler::deleteText):
      (BlackBerry::WebKit::InputHandler::spannableTextInRange):
      (BlackBerry::WebKit::InputHandler::setComposingRegion):
      (BlackBerry::WebKit::InputHandler::finishComposition):
      (BlackBerry::WebKit::InputHandler::setText):
      (BlackBerry::WebKit::InputHandler::setTextAttributes):
      (BlackBerry::WebKit::InputHandler::setRelativeCursorPosition):
      (BlackBerry::WebKit::InputHandler::setSpannableTextAndRelativeCursor):
      (BlackBerry::WebKit::InputHandler::setComposingText):
      (BlackBerry::WebKit::InputHandler::commitText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc7a4d9d
    • pfeldman@chromium.org's avatar
      Not reviewed: chromium image for inspector status bar button updated. · 4f48b597
      pfeldman@chromium.org authored
      Patch by Pavel Feldman <pfeldman@chromium.org> on 2012-02-24
      
      * src/js/Images/segmentSelectedEndChromium.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f48b597
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening, skip new failing tests. · 69841122
      ossy@webkit.org authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69841122
    • vsevik@chromium.org's avatar
      Web Inspector: Do not show scripts panel navigator automatically more than once to the same user. · 4790c69e
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79489
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/ScriptsPanel.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4790c69e
    • philn@webkit.org's avatar
      Unreviewed, GTK rebaseline and skip a fast/dom/shadow test. · b995e690
      philn@webkit.org authored
      * platform/gtk/Skipped:
      * platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
      * platform/gtk/fast/js/global-constructors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b995e690
    • hausmann@webkit.org's avatar
      [Qt][WK2] QQuickWebView::event should lookup faster which events QQuickWebPage can handle · c0818e2a
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78047
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Replaced double-dispatch of events with direct forwarding of events from QQuickWebView::*Event to
      QtWebPageEventHandler::handle*Event.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebView::keyPressEvent):
      (QQuickWebView::keyReleaseEvent):
      (QQuickWebView::inputMethodEvent):
      (QQuickWebView::focusInEvent):
      (QQuickWebView::focusOutEvent):
      (QQuickWebView::touchEvent):
      (QQuickWebView::mousePressEvent):
      (QQuickWebView::mouseMoveEvent):
      (QQuickWebView::mouseReleaseEvent):
      (QQuickWebView::mouseDoubleClickEvent):
      (QQuickWebView::wheelEvent):
      (QQuickWebView::hoverEnterEvent):
      (QQuickWebView::hoverMoveEvent):
      (QQuickWebView::hoverLeaveEvent):
      (QQuickWebView::dragMoveEvent):
      (QQuickWebView::dragEnterEvent):
      (QQuickWebView::dragLeaveEvent):
      (QQuickWebView::dropEvent):
      (QQuickWebView::event):
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (QtWebPageEventHandler::handleMouseMoveEvent):
      (QtWebPageEventHandler::handleMousePressEvent):
      (QtWebPageEventHandler::handleMouseReleaseEvent):
      (QtWebPageEventHandler::handleWheelEvent):
      (QtWebPageEventHandler::handleHoverLeaveEvent):
      (QtWebPageEventHandler::handleHoverMoveEvent):
      (QtWebPageEventHandler::handleDragEnterEvent):
      (QtWebPageEventHandler::handleDragLeaveEvent):
      (QtWebPageEventHandler::handleDragMoveEvent):
      (QtWebPageEventHandler::handleDropEvent):
      (QtWebPageEventHandler::handleKeyPressEvent):
      (QtWebPageEventHandler::handleKeyReleaseEvent):
      (QtWebPageEventHandler::handleFocusInEvent):
      (QtWebPageEventHandler::handleFocusOutEvent):
      (QtWebPageEventHandler::handleInputMethodEvent):
      (QtWebPageEventHandler::handleTouchEvent):
      * UIProcess/qt/QtWebPageEventHandler.h:
      (QtWebPageEventHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0818e2a
    • philn@webkit.org's avatar
      Fix GTK WebAudio build for WebKitGTK 1.7.90. · b10b3813
      philn@webkit.org authored
      Patch by Priit Laes <plaes@plaes.org> on 2012-02-24
      Rubber-stamped by Philippe Normand.
      
      Source/JavaScriptCore:
      
      * GNUmakefile.list.am: Add Complex.h to the list of files so it
      gets disted in the tarballs.
      
      Source/WebCore:
      
      * GNUmakefile.list.am: Add AudioBufferCallback.h and
      DenormalDisabler.h to the list of files so they get disted in the
      tarballs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b10b3813
    • commit-queue@webkit.org's avatar
      [BlackBerry] Eliminate excessive BlackBerry::Platform use in SelectionHandler. · d9796e47
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79391
      
      Patch by Mike Fenton <mifenton@rim.com> on 2012-02-24
      Reviewed by Antonio Gomes.
      
      Clean up usage of BlackBerry::Platform in SelectionHandler and
      explicitly define what namespace to use for ambiguous objects like
      IntRect and IntPoint.
      
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::cancelSelection):
      (BlackBerry::WebKit::SelectionHandler::getConsolidatedRegionOfTextQuadsForSelection):
      (BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):
      (BlackBerry::WebKit::directionOfPointRelativeToRect):
      (BlackBerry::WebKit::SelectionHandler::shouldUpdateSelectionOrCaretForPoint):
      (BlackBerry::WebKit::SelectionHandler::setCaretPosition):
      (BlackBerry::WebKit::directionalVisiblePositionAtExtentOfBox):
      (BlackBerry::WebKit::pointIsOutsideOfBoundingBoxInDirection):
      (BlackBerry::WebKit::SelectionHandler::extendSelectionToFieldBoundary):
      (BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
      (BlackBerry::WebKit::SelectionHandler::clipPointToFocusNode):
      (BlackBerry::WebKit::SelectionHandler::setSelection):
      (BlackBerry::WebKit::SelectionHandler::selectAtPoint):
      (BlackBerry::WebKit::SelectionHandler::selectObject):
      (BlackBerry::WebKit::comparePointsToReferencePoint):
      (BlackBerry::WebKit::minXMinYCorner):
      (BlackBerry::WebKit::maxXMinYCorner):
      (BlackBerry::WebKit::minXMaxYCorner):
      (BlackBerry::WebKit::maxXMaxYCorner):
      (BlackBerry::WebKit::caretLocationForRect):
      (BlackBerry::WebKit::caretComparisonPointForRect):
      (BlackBerry::WebKit::adjustCaretRects):
      (BlackBerry::WebKit::SelectionHandler::clipRegionToVisibleContainer):
      (BlackBerry::WebKit::referencePoint):
      (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
      (BlackBerry::WebKit::SelectionHandler::caretPositionChanged):
      (BlackBerry::WebKit::SelectionHandler::selectionContains):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9796e47
    • yurys@chromium.org's avatar
      Web Inspector: show all counters on one graph · dedca05c
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79484
      
      Now it is possible to hide any counter. All graphs share the same area.
      Current values are displayed above that area.
      
      Reviewed by Pavel Feldman.
      
      * English.lproj/localizedStrings.js:
      * inspector/front-end/MemoryStatistics.js:
      (WebInspector.MemoryStatistics.getDocumentCount):
      (WebInspector.MemoryStatistics.getNodeCount):
      (WebInspector.MemoryStatistics.getListenerCount):
      (WebInspector.MemoryStatistics):
      (WebInspector.SwatchCheckbox):
      (WebInspector.SwatchCheckbox.prototype.get checked):
      (WebInspector.SwatchCheckbox.prototype.set checked):
      (WebInspector.SwatchCheckbox.prototype._toggleCheckbox):
      (WebInspector.CounterUI):
      (WebInspector.CounterUI.prototype._toggleCounterGraph):
      (WebInspector.CounterUI.prototype.setRange):
      (WebInspector.CounterUI.prototype.updateCurrentValue):
      (WebInspector.CounterUI.prototype.clearCurrentValueAndMarker):
      (WebInspector.CounterUI.prototype.get visible):
      (WebInspector.CounterUI.prototype.saveImageUnderMarker):
      (WebInspector.CounterUI.prototype.restoreImageUnderMarker):
      (WebInspector.CounterUI.prototype.discardImageUnderMarker):
      (WebInspector.MemoryStatistics.prototype._updateSize):
      (WebInspector.MemoryStatistics.prototype._draw):
      (WebInspector.MemoryStatistics.prototype._onMouseOut):
      (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
      (WebInspector.MemoryStatistics.prototype._highlightCurrentPositionOnGraphs):
      (WebInspector.MemoryStatistics.prototype._drawGraph):
      (WebInspector.MemoryStatistics.prototype._clear):
      * inspector/front-end/timelinePanel.css:
      (.memory-counter-sidebar-info):
      (.memory-counter-sidebar-info .swatch):
      (.memory-counter-sidebar-info .title):
      (.memory-counter-value):
      (#counter-values-bar):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dedca05c