1. 07 Jan, 2011 5 commits
    • jamesr@google.com's avatar
      2011-01-07 James Robinson <jamesr@chromium.org> · f894f68c
      jamesr@google.com authored
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * animations/animation-time-expected.txt: Removed.
              * animations/animation-time.html: Removed.
              * animations/script-tests/animation-time.js: Removed.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::paintInvalidatedRegion):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/DOMWindow.cpp:
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
              * page/animation/AnimationTimeController.cpp: Removed.
              * page/animation/AnimationTimeController.h: Removed.
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.cpp:
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              * src/WebViewImpl.h:
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView drawRect:]):
              * WebView/WebView.mm:
              (layerSyncRunLoopObserverCallBack):
      2011-01-07  James Robinson  <jamesr@chromium.org>
      
              Revert "Implement mozilla's animationTime property"
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              This approach isn't quite right.
      
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              (WebKit::ChunkedUpdateDrawingArea::display):
              (WebKit::ChunkedUpdateDrawingArea::setSize):
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::drawRect):
              * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
              (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f894f68c
    • barraclough@apple.com's avatar
      Source/JavaScriptCore: [GTK] Port scrollbar painting to GtkStyleContext · d6544ee5
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=52051
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2011-01-07
      Reviewed by Martin Robinson.
      
      * wtf/gobject/GTypedefs.h: Add GtkStyleContext forward
      declaration.
      
      WebCore: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
      
      Reviewed by Geoff Garen.
      
      The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
      destructor early, in order to release wrappers once we know we no longer intend to use them.
      Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
      lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
      A sequence of events that triggers the bug would look like this:
      
      (1) Create a DOMWrapperWorld.
      (2) Register a timer in the world.
      (3) Call unregisterWorld() on the world.
      (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
      (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
          called forgetWorld() none exists.
      (6) Attempt to add a wrapper to a NULL map.
      
      Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
      
      * WebCore.exp.in:
      * bindings/js/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::DOMWrapperWorld):
      (WebCore::DOMWrapperWorld::~DOMWrapperWorld):
      (WebCore::DOMWrapperWorld::clearWrappers):
      * bindings/js/DOMWrapperWorld.h:
      
      WebKit/mac: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
      
      Reviewed by Geoff Garen.
      
      The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
      destructor early, in order to release wrappers once we know we no longer intend to use them.
      Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
      lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
      A sequence of events that triggers the bug would look like this:
      
      (1) Create a DOMWrapperWorld.
      (2) Register a timer in the world.
      (3) Call unregisterWorld() on the world.
      (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
      (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
          called forgetWorld() none exists.
      (6) Attempt to add a wrapper to a NULL map.
      
      Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
      
      * WebView/WebScriptWorld.mm:
      (-[WebScriptWorld unregisterWorld]):
      
      WebKit/win: Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
      
      Reviewed by Geoff Garen.
      
      The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
      destructor early, in order to release wrappers once we know we no longer intend to use them.
      Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
      lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
      A sequence of events that triggers the bug would look like this:
      
      (1) Create a DOMWrapperWorld.
      (2) Register a timer in the world.
      (3) Call unregisterWorld() on the world.
      (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
      (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
          called forgetWorld() none exists.
      (6) Attempt to add a wrapper to a NULL map.
      
      Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
      
      * WebScriptWorld.cpp:
      (WebScriptWorld::unregisterWorld):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6544ee5
    • cmarrin@apple.com's avatar
      2011-01-07 Chris Marrin <cmarrin@apple.com> · 14a3dcfb
      cmarrin@apple.com authored
              Rubber-stamped by Simon Fraser.
      
              Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
              https://bugs.webkit.org/show_bug.cgi?id=49388
      
              Final step in unifying GraphicsLayer logic across Win and Mac. This 
              implements the Windows side classes for PlatformCALayer and supporting
              classes. Also changed MediaPlayer to use new PlatformCALayerClient
              so it can use PlatformCALayer directly rather than a dummy GraphicsLayer.
              WKCACFLayerRenderer now does the task of notifying animations of their
              start time. Also commented out an assert in AnimationBase because
              AnimationController's frame time is not in sync with the new 
              AnimationTimeController. I've opened a new bug for that issue:
      
                  https://bugs.webkit.org/show_bug.cgi?id=52037
                  
              This also includes the Mac side changes backed out in 
              http://trac.webkit.org/changeset/75227.
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14a3dcfb
    • mario@webkit.org's avatar
      2011-01-07 Mario Sanchez Prada <msanchez@igalia.com> · 86390a14
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              GTK: AX: atk tests need to be updated after recent changes
              https://bugs.webkit.org/show_bug.cgi?id=51932
      
              Make sure we can always get the right accesssible parent for an
              AtkObject when traversing the hierarchy bottom up.
      
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (isRootObject): New function to check whether an
              AccessibilityObject is the root one or not, according to the
              latest changes in the hierarchy.
              (atkParentOfRootObject): Gets the appropriate AtkObject from GTK's
              GAIL as the parent of the root AtkObject from WebCore.
              (webkit_accessible_get_parent): Use atkParentOfRootObject.
              (webkit_accessible_get_index_in_parent): Ditto.
              (atkRole): Expose AccessibilityObjects with ScrollAreaRole as
              AtkObject's of role ATK_ROLE_SCROLLED_PANE.
      2011-01-07  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              GTK: AX: atk tests need to be updated after recent changes
              https://bugs.webkit.org/show_bug.cgi?id=51932
      
              Fix gtk_widget_get_accessible() in WebKitWebView to keep returning
              the AtkObject of role ATK_ROLE_DOCUMENT_FRAME.
      
              With the change to support WK2 accessibility, the root object of
              the AX hierarchy is different from what GTK expects as the current
              hirarchy right now includes a new accessible object as the parent
              of the accessible web area (AXScrollView).
      
              * webkit/webkitwebview.cpp:
              (webkit_web_view_get_accessible): Return the first child of the
              wrapper associated to the root accessible object in the document,
              to keep everything in the GTK port working as it used to be.
      
              Re-enable skipped ATK unit tests now they are passing again.
      
              * tests/testatk.c:
              (main): Re-enable skipped tests.
              * tests/testatkroles.c:
              (main): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86390a14
    • andreas.kling@nokia.com's avatar
      2011-01-07 Andreas Kling <kling@webkit.org> · f493fdee
      andreas.kling@nokia.com authored
              Reviewed by Adam Barth.
      
              [Qt] Add selectedHtml function to QWebView
              https://bugs.webkit.org/show_bug.cgi?id=35028
      
              Add QWebView::selectedHtml() and QWebPage::selectedHtml()
              which return the current selection range's HTML representation.
      
              * Api/qwebpage.cpp:
              (QWebPage::selectedHtml):
              * Api/qwebpage.h:
              * Api/qwebview.cpp:
              (QWebView::selectedText):
              (QWebView::selectedHtml):
              * Api/qwebview.h:
              * tests/qwebpage/tst_qwebpage.cpp:
              (tst_QWebPage::cursorMovements):
              (tst_QWebPage::textSelection):
              (tst_QWebPage::crashTests_LazyInitializationOfMainFrame):
              (tst_QWebPage::findText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f493fdee
  2. 06 Jan, 2011 7 commits
    • zmo@google.com's avatar
      2011-01-05 Zhenyao Mo <zmo@google.com> · 41be6716
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Define GC3D types to match GL types and use them in GraphicsContext3D
              https://bugs.webkit.org/show_bug.cgi?id=45557
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::bindAttribLocation):
              (WebCore::GraphicsContext3DInternal::bufferData):
              (WebCore::GraphicsContext3DInternal::bufferSubData):
              (WebCore::GraphicsContext3DInternal::getActiveAttrib):
              (WebCore::GraphicsContext3DInternal::getActiveUniform):
              (WebCore::GraphicsContext3DInternal::getAttribLocation):
              (WebCore::GraphicsContext3DInternal::getString):
              (WebCore::GraphicsContext3DInternal::getUniformLocation):
              (WebCore::GraphicsContext3DInternal::texImage2D):
              (WebCore::GraphicsContext3DInternal::texSubImage2D):
              (WebCore::GraphicsContext3DInternal::uniform1fv):
              (WebCore::GraphicsContext3DInternal::uniform1iv):
              (WebCore::GraphicsContext3DInternal::uniform2fv):
              (WebCore::GraphicsContext3DInternal::uniform2iv):
              (WebCore::GraphicsContext3DInternal::uniform3fv):
              (WebCore::GraphicsContext3DInternal::uniform3iv):
              (WebCore::GraphicsContext3DInternal::uniform4fv):
              (WebCore::GraphicsContext3DInternal::uniform4iv):
              (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
              (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
              (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
              * src/GraphicsContext3DInternal.h:
      2011-01-05  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Define GC3D types to match GL types and use them in GraphicsContext3D
              https://bugs.webkit.org/show_bug.cgi?id=45557
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::readPixels):
              (WebCore::WebGLRenderingContext::validateTexFuncData):
              * platform/graphics/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3D::texImage2DResourceSafe):
              (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
              (WebCore::GraphicsContext3D::extractImageData):
              (WebCore::GraphicsContext3D::extractTextureData):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/cg/GraphicsContext3DCG.cpp:
              (WebCore::GraphicsContext3D::getImageData):
              * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
              (WebCore::SharedGraphicsContext3D::enable):
              (WebCore::SharedGraphicsContext3D::disable):
              (WebCore::SharedGraphicsContext3D::clear):
              (WebCore::SharedGraphicsContext3D::drawArrays):
              (WebCore::SharedGraphicsContext3D::getError):
              (WebCore::SharedGraphicsContext3D::getIntegerv):
              (WebCore::SharedGraphicsContext3D::createFramebuffer):
              (WebCore::SharedGraphicsContext3D::createTexture):
              (WebCore::SharedGraphicsContext3D::deleteFramebuffer):
              (WebCore::SharedGraphicsContext3D::deleteTexture):
              (WebCore::SharedGraphicsContext3D::framebufferTexture2D):
              (WebCore::SharedGraphicsContext3D::texParameteri):
              (WebCore::SharedGraphicsContext3D::texImage2D):
              (WebCore::SharedGraphicsContext3D::texSubImage2D):
              (WebCore::SharedGraphicsContext3D::readPixels):
              (WebCore::SharedGraphicsContext3D::setActiveTexture):
              (WebCore::SharedGraphicsContext3D::bindTexture):
              (WebCore::SharedGraphicsContext3D::bindFramebuffer):
              * platform/graphics/gpu/SharedGraphicsContext3D.h:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::activeTexture):
              (WebCore::GraphicsContext3D::attachShader):
              (WebCore::GraphicsContext3D::bindAttribLocation):
              (WebCore::GraphicsContext3D::bindBuffer):
              (WebCore::GraphicsContext3D::bindFramebuffer):
              (WebCore::GraphicsContext3D::bindRenderbuffer):
              (WebCore::GraphicsContext3D::bindTexture):
              (WebCore::GraphicsContext3D::blendColor):
              (WebCore::GraphicsContext3D::blendEquation):
              (WebCore::GraphicsContext3D::blendEquationSeparate):
              (WebCore::GraphicsContext3D::blendFunc):
              (WebCore::GraphicsContext3D::blendFuncSeparate):
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
              (WebCore::GraphicsContext3D::checkFramebufferStatus):
              (WebCore::GraphicsContext3D::clearColor):
              (WebCore::GraphicsContext3D::clear):
              (WebCore::GraphicsContext3D::clearDepth):
              (WebCore::GraphicsContext3D::clearStencil):
              (WebCore::GraphicsContext3D::colorMask):
              (WebCore::GraphicsContext3D::compileShader):
              (WebCore::GraphicsContext3D::copyTexImage2D):
              (WebCore::GraphicsContext3D::copyTexSubImage2D):
              (WebCore::GraphicsContext3D::cullFace):
              (WebCore::GraphicsContext3D::depthFunc):
              (WebCore::GraphicsContext3D::depthMask):
              (WebCore::GraphicsContext3D::depthRange):
              (WebCore::GraphicsContext3D::detachShader):
              (WebCore::GraphicsContext3D::disable):
              (WebCore::GraphicsContext3D::disableVertexAttribArray):
              (WebCore::GraphicsContext3D::drawArrays):
              (WebCore::GraphicsContext3D::drawElements):
              (WebCore::GraphicsContext3D::enable):
              (WebCore::GraphicsContext3D::enableVertexAttribArray):
              (WebCore::GraphicsContext3D::framebufferRenderbuffer):
              (WebCore::GraphicsContext3D::framebufferTexture2D):
              (WebCore::GraphicsContext3D::frontFace):
              (WebCore::GraphicsContext3D::generateMipmap):
              (WebCore::GraphicsContext3D::getActiveAttrib):
              (WebCore::GraphicsContext3D::getActiveUniform):
              (WebCore::GraphicsContext3D::getAttachedShaders):
              (WebCore::GraphicsContext3D::getAttribLocation):
              (WebCore::GraphicsContext3D::getError):
              (WebCore::GraphicsContext3D::getString):
              (WebCore::GraphicsContext3D::hint):
              (WebCore::GraphicsContext3D::isBuffer):
              (WebCore::GraphicsContext3D::isEnabled):
              (WebCore::GraphicsContext3D::isFramebuffer):
              (WebCore::GraphicsContext3D::isProgram):
              (WebCore::GraphicsContext3D::isRenderbuffer):
              (WebCore::GraphicsContext3D::isShader):
              (WebCore::GraphicsContext3D::isTexture):
              (WebCore::GraphicsContext3D::lineWidth):
              (WebCore::GraphicsContext3D::linkProgram):
              (WebCore::GraphicsContext3D::pixelStorei):
              (WebCore::GraphicsContext3D::polygonOffset):
              (WebCore::GraphicsContext3D::readPixels):
              (WebCore::GraphicsContext3D::renderbufferStorage):
              (WebCore::GraphicsContext3D::sampleCoverage):
              (WebCore::GraphicsContext3D::scissor):
              (WebCore::GraphicsContext3D::stencilFunc):
              (WebCore::GraphicsContext3D::stencilFuncSeparate):
              (WebCore::GraphicsContext3D::stencilMask):
              (WebCore::GraphicsContext3D::stencilMaskSeparate):
              (WebCore::GraphicsContext3D::stencilOp):
              (WebCore::GraphicsContext3D::stencilOpSeparate):
              (WebCore::GraphicsContext3D::texParameterf):
              (WebCore::GraphicsContext3D::texParameteri):
              (WebCore::GraphicsContext3D::uniform1f):
              (WebCore::GraphicsContext3D::uniform1fv):
              (WebCore::GraphicsContext3D::uniform2f):
              (WebCore::GraphicsContext3D::uniform2fv):
              (WebCore::GraphicsContext3D::uniform3f):
              (WebCore::GraphicsContext3D::uniform3fv):
              (WebCore::GraphicsContext3D::uniform4f):
              (WebCore::GraphicsContext3D::uniform4fv):
              (WebCore::GraphicsContext3D::uniform1i):
              (WebCore::GraphicsContext3D::uniform1iv):
              (WebCore::GraphicsContext3D::uniform2i):
              (WebCore::GraphicsContext3D::uniform2iv):
              (WebCore::GraphicsContext3D::uniform3i):
              (WebCore::GraphicsContext3D::uniform3iv):
              (WebCore::GraphicsContext3D::uniform4i):
              (WebCore::GraphicsContext3D::uniform4iv):
              (WebCore::GraphicsContext3D::uniformMatrix2fv):
              (WebCore::GraphicsContext3D::uniformMatrix3fv):
              (WebCore::GraphicsContext3D::uniformMatrix4fv):
              (WebCore::GraphicsContext3D::useProgram):
              (WebCore::GraphicsContext3D::validateProgram):
              (WebCore::GraphicsContext3D::vertexAttrib1f):
              (WebCore::GraphicsContext3D::vertexAttrib1fv):
              (WebCore::GraphicsContext3D::vertexAttrib2f):
              (WebCore::GraphicsContext3D::vertexAttrib2fv):
              (WebCore::GraphicsContext3D::vertexAttrib3f):
              (WebCore::GraphicsContext3D::vertexAttrib3fv):
              (WebCore::GraphicsContext3D::vertexAttrib4f):
              (WebCore::GraphicsContext3D::vertexAttrib4fv):
              (WebCore::GraphicsContext3D::vertexAttribPointer):
              (WebCore::GraphicsContext3D::viewport):
              (WebCore::GraphicsContext3D::getBooleanv):
              (WebCore::GraphicsContext3D::getBufferParameteriv):
              (WebCore::GraphicsContext3D::getFloatv):
              (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
              (WebCore::GraphicsContext3D::getIntegerv):
              (WebCore::GraphicsContext3D::getProgramiv):
              (WebCore::GraphicsContext3D::getProgramInfoLog):
              (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
              (WebCore::GraphicsContext3D::getShaderiv):
              (WebCore::GraphicsContext3D::getShaderInfoLog):
              (WebCore::GraphicsContext3D::getTexParameterfv):
              (WebCore::GraphicsContext3D::getTexParameteriv):
              (WebCore::GraphicsContext3D::getUniformfv):
              (WebCore::GraphicsContext3D::getUniformiv):
              (WebCore::GraphicsContext3D::getUniformLocation):
              (WebCore::GraphicsContext3D::getVertexAttribfv):
              (WebCore::GraphicsContext3D::getVertexAttribiv):
              (WebCore::GraphicsContext3D::getVertexAttribOffset):
              (WebCore::GraphicsContext3D::texImage2D):
              (WebCore::GraphicsContext3D::texSubImage2D):
              (WebCore::GraphicsContext3D::createBuffer):
              (WebCore::GraphicsContext3D::createFramebuffer):
              (WebCore::GraphicsContext3D::createProgram):
              (WebCore::GraphicsContext3D::createRenderbuffer):
              (WebCore::GraphicsContext3D::createShader):
              (WebCore::GraphicsContext3D::createTexture):
              (WebCore::GraphicsContext3D::deleteBuffer):
              (WebCore::GraphicsContext3D::deleteFramebuffer):
              (WebCore::GraphicsContext3D::deleteProgram):
              (WebCore::GraphicsContext3D::deleteRenderbuffer):
              (WebCore::GraphicsContext3D::deleteShader):
              (WebCore::GraphicsContext3D::deleteTexture):
              (WebCore::GraphicsContext3D::sizeInBytes):
              (WebCore::GraphicsContext3D::synthesizeGLError):
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              (WebCore::GraphicsContext3D::activeTexture):
              (WebCore::GraphicsContext3D::attachShader):
              (WebCore::GraphicsContext3D::getAttachedShaders):
              (WebCore::GraphicsContext3D::bindAttribLocation):
              (WebCore::GraphicsContext3D::bindBuffer):
              (WebCore::GraphicsContext3D::bindFramebuffer):
              (WebCore::GraphicsContext3D::bindRenderbuffer):
              (WebCore::GraphicsContext3D::bindTexture):
              (WebCore::GraphicsContext3D::blendColor):
              (WebCore::GraphicsContext3D::blendEquation):
              (WebCore::GraphicsContext3D::blendEquationSeparate):
              (WebCore::GraphicsContext3D::blendFunc):
              (WebCore::GraphicsContext3D::blendFuncSeparate):
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
              (WebCore::GraphicsContext3D::checkFramebufferStatus):
              (WebCore::GraphicsContext3D::clearColor):
              (WebCore::GraphicsContext3D::clear):
              (WebCore::GraphicsContext3D::clearDepth):
              (WebCore::GraphicsContext3D::clearStencil):
              (WebCore::GraphicsContext3D::colorMask):
              (WebCore::GraphicsContext3D::compileShader):
              (WebCore::GraphicsContext3D::copyTexImage2D):
              (WebCore::GraphicsContext3D::copyTexSubImage2D):
              (WebCore::GraphicsContext3D::cullFace):
              (WebCore::GraphicsContext3D::depthFunc):
              (WebCore::GraphicsContext3D::depthMask):
              (WebCore::GraphicsContext3D::depthRange):
              (WebCore::GraphicsContext3D::detachShader):
              (WebCore::GraphicsContext3D::disable):
              (WebCore::GraphicsContext3D::disableVertexAttribArray):
              (WebCore::GraphicsContext3D::drawArrays):
              (WebCore::GraphicsContext3D::drawElements):
              (WebCore::GraphicsContext3D::enable):
              (WebCore::GraphicsContext3D::enableVertexAttribArray):
              (WebCore::GraphicsContext3D::framebufferRenderbuffer):
              (WebCore::GraphicsContext3D::framebufferTexture2D):
              (WebCore::GraphicsContext3D::frontFace):
              (WebCore::GraphicsContext3D::generateMipmap):
              (WebCore::GraphicsContext3D::getActiveAttrib):
              (WebCore::GraphicsContext3D::getActiveUniform):
              (WebCore::GraphicsContext3D::getAttribLocation):
              (WebCore::GraphicsContext3D::getError):
              (WebCore::GraphicsContext3D::getString):
              (WebCore::GraphicsContext3D::hint):
              (WebCore::GraphicsContext3D::isBuffer):
              (WebCore::GraphicsContext3D::isEnabled):
              (WebCore::GraphicsContext3D::isFramebuffer):
              (WebCore::GraphicsContext3D::isProgram):
              (WebCore::GraphicsContext3D::isRenderbuffer):
              (WebCore::GraphicsContext3D::isShader):
              (WebCore::GraphicsContext3D::isTexture):
              (WebCore::GraphicsContext3D::linkProgram):
              (WebCore::GraphicsContext3D::pixelStorei):
              (WebCore::GraphicsContext3D::polygonOffset):
              (WebCore::GraphicsContext3D::readPixels):
              (WebCore::GraphicsContext3D::renderbufferStorage):
              (WebCore::GraphicsContext3D::sampleCoverage):
              (WebCore::GraphicsContext3D::scissor):
              (WebCore::GraphicsContext3D::stencilFunc):
              (WebCore::GraphicsContext3D::stencilFuncSeparate):
              (WebCore::GraphicsContext3D::stencilMask):
              (WebCore::GraphicsContext3D::stencilMaskSeparate):
              (WebCore::GraphicsContext3D::stencilOp):
              (WebCore::GraphicsContext3D::stencilOpSeparate):
              (WebCore::GraphicsContext3D::texParameterf):
              (WebCore::GraphicsContext3D::texParameteri):
              (WebCore::GraphicsContext3D::uniform1f):
              (WebCore::GraphicsContext3D::uniform1fv):
              (WebCore::GraphicsContext3D::uniform2f):
              (WebCore::GraphicsContext3D::uniform2fv):
              (WebCore::GraphicsContext3D::uniform3f):
              (WebCore::GraphicsContext3D::uniform3fv):
              (WebCore::GraphicsContext3D::uniform4f):
              (WebCore::GraphicsContext3D::uniform4fv):
              (WebCore::GraphicsContext3D::uniform1i):
              (WebCore::GraphicsContext3D::uniform1iv):
              (WebCore::GraphicsContext3D::uniform2i):
              (WebCore::GraphicsContext3D::uniform2iv):
              (WebCore::GraphicsContext3D::uniform3i):
              (WebCore::GraphicsContext3D::uniform3iv):
              (WebCore::GraphicsContext3D::uniform4i):
              (WebCore::GraphicsContext3D::uniform4iv):
              (WebCore::GraphicsContext3D::uniformMatrix2fv):
              (WebCore::GraphicsContext3D::uniformMatrix3fv):
              (WebCore::GraphicsContext3D::uniformMatrix4fv):
              (WebCore::GraphicsContext3D::useProgram):
              (WebCore::GraphicsContext3D::validateProgram):
              (WebCore::GraphicsContext3D::vertexAttrib1f):
              (WebCore::GraphicsContext3D::vertexAttrib1fv):
              (WebCore::GraphicsContext3D::vertexAttrib2f):
              (WebCore::GraphicsContext3D::vertexAttrib2fv):
              (WebCore::GraphicsContext3D::vertexAttrib3f):
              (WebCore::GraphicsContext3D::vertexAttrib3fv):
              (WebCore::GraphicsContext3D::vertexAttrib4f):
              (WebCore::GraphicsContext3D::vertexAttrib4fv):
              (WebCore::GraphicsContext3D::vertexAttribPointer):
              (WebCore::GraphicsContext3D::viewport):
              (WebCore::GraphicsContext3D::getBooleanv):
              (WebCore::GraphicsContext3D::getBufferParameteriv):
              (WebCore::GraphicsContext3D::getFloatv):
              (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
              (WebCore::GraphicsContext3D::getIntegerv):
              (WebCore::GraphicsContext3D::getProgramiv):
              (WebCore::GraphicsContext3D::getProgramInfoLog):
              (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
              (WebCore::GraphicsContext3D::getShaderiv):
              (WebCore::GraphicsContext3D::getShaderInfoLog):
              (WebCore::GraphicsContext3D::getShaderSource):
              (WebCore::GraphicsContext3D::getTexParameterfv):
              (WebCore::GraphicsContext3D::getTexParameteriv):
              (WebCore::GraphicsContext3D::getUniformfv):
              (WebCore::GraphicsContext3D::getUniformiv):
              (WebCore::GraphicsContext3D::getUniformLocation):
              (WebCore::GraphicsContext3D::getVertexAttribfv):
              (WebCore::GraphicsContext3D::getVertexAttribiv):
              (WebCore::GraphicsContext3D::getVertexAttribOffset):
              (WebCore::GraphicsContext3D::texImage2D):
              (WebCore::GraphicsContext3D::texSubImage2D):
              (WebCore::GraphicsContext3D::createBuffer):
              (WebCore::GraphicsContext3D::createFramebuffer):
              (WebCore::GraphicsContext3D::createProgram):
              (WebCore::GraphicsContext3D::createRenderbuffer):
              (WebCore::GraphicsContext3D::createShader):
              (WebCore::GraphicsContext3D::createTexture):
              (WebCore::GraphicsContext3D::deleteBuffer):
              (WebCore::GraphicsContext3D::deleteFramebuffer):
              (WebCore::GraphicsContext3D::deleteProgram):
              (WebCore::GraphicsContext3D::deleteRenderbuffer):
              (WebCore::GraphicsContext3D::deleteShader):
              (WebCore::GraphicsContext3D::deleteTexture):
              (WebCore::GraphicsContext3D::sizeInBytes):
              (WebCore::GraphicsContext3D::synthesizeGLError):
              (WebCore::GraphicsContext3D::getImageData):
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              (WebCore::GraphicsContext3D::getImageData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41be6716
    • mrobinson@webkit.org's avatar
      2011-01-06 Martin Robinson <mrobinson@igalia.com> · b0aa0eb0
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              GTK: AX: atk tests need to be updated after recent changes
              https://bugs.webkit.org/show_bug.cgi?id=51932
      
              Skip ATK unit tests until we can look into what is causing these failures.
      
              * tests/testatk.c:
              (main): Skip all tests.
              * tests/testatkroles.c:
              (main): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0aa0eb0
    • simonjam@chromium.org's avatar
      2011-01-06 James Simonsen <simonjam@chromium.org> · e6a28f26
      simonjam@chromium.org authored
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * fast/dom/Window/window-properties-performance-expected.txt: Test replaceability.
              * fast/dom/Window/window-properties-performance.html: Ditto.
              * fast/dom/Window/window-properties.html: Rename to performance.
              * fast/dom/resources/navigation-type-matches-querystring.html: Ditto.
              * fast/dom/script-tests/prototype-inheritance.js: Ditto.
              * fast/dom/script-tests/webtiming-document-open.js: Ditto.
              * fast/dom/script-tests/webtiming-navigate-within-document.js: Ditto.
              * fast/dom/script-tests/webtiming.js: Ditto.
              * http/tests/misc/resources/webtiming-one-redirect.html: Ditto.
              * http/tests/misc/resources/webtiming-two-redirects.html: Ditto.
      2011-01-06  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::performance): Rename to performance.
              * page/DOMWindow.h:
              * page/DOMWindow.idl: Rename to performance and make replaceable.
      2011-01-06  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Web Timing] Remove vendor prefix
              https://bugs.webkit.org/show_bug.cgi?id=48922
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::performance): Rename to performance.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6a28f26
    • robert@webkit.org's avatar
      2011-01-06 Robert Hogan <robert@webkit.org> · d1487c73
      robert@webkit.org authored
              Reviewed by Antonio Gomes.
      
              [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge
      
              This allows LayoutTestController to pass WebCore::Node back to
              layout tests.
      
              Also amend nodesFromRect-links-and-text.html and
              nodesFromRect-inner-documents.html so that they do not produce
              platform-specific results.
      
              Unskip:
              fast/dom/nodesFromRect-links-and-text.html
              fast/dom/nodesFromRect-inner-documents.html
      
              https://bugs.webkit.org/show_bug.cgi?id=48957
      
              * fast/dom/nodesFromRect-inner-documents-expected.txt:
              * fast/dom/nodesFromRect-inner-documents.html:
              * fast/dom/nodesFromRect-links-and-text-expected.txt:
              * fast/dom/nodesFromRect-links-and-text.html:
              * fast/dom/resources/nodesFromRect.js:
              (check):
              (getTopFor):
              (getBottomFor):
              * platform/qt/Skipped:
      2011-01-06  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Antonio Gomes.
      
              [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge
      
              This allows LayoutTestController to pass WebCore::Node back to
              layout tests.
      
              Also amend nodesFromRect-links-and-text.html and
              nodesFromRect-inner-documents.html so that they do not produce
              platform-specific results.
      
              Unskip:
              fast/dom/nodesFromRect-links-and-text.html
              fast/dom/nodesFromRect-inner-documents.html
      
              https://bugs.webkit.org/show_bug.cgi?id=48957
      
              * bridge/qt/qt_runtime.cpp:
              (JSC::Bindings::QtDRTNodeRuntime::create):
              (JSC::Bindings::QtDRTNodeRuntime::get):
              (JSC::Bindings::convertValueToQVariant):
              (JSC::Bindings::convertQVariantToValue):
      2011-01-06  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Antonio Gomes.
      
              [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge
      
              This allows LayoutTestController to pass WebCore::Node back to
              layout tests.
      
              Also amend nodesFromRect-links-and-text.html and
              nodesFromRect-inner-documents.html so that they do not produce
              platform-specific results.
      
              Unskip:
              fast/dom/nodesFromRect-links-and-text.html
              fast/dom/nodesFromRect-inner-documents.html
      
              https://bugs.webkit.org/show_bug.cgi?id=48957
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (QDRTNode::QDRTNode):
              (QDRTNode::~QDRTNode):
              (DumpRenderTreeSupportQt::nodesFromRect):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1487c73
    • mrobinson@webkit.org's avatar
      2011-01-06 Martin Robinson <mrobinson@igalia.com> · 8f9515f8
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              Include a new header in the static headers list. This is necessary
              so that "make install" installs the header.
      
              * GNUmakefile.am: Include webkitglobals.h in the header list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f9515f8
    • jamesr@google.com's avatar
      2011-01-06 James Robinson <jamesr@chromium.org> · c0dca2a1
      jamesr@google.com authored
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Tests for window.webkitAnimationTime.
      
              * animations/animation-time-expected.txt: Added.
              * animations/animation-time.html: Added.
              * animations/script-tests/animation-time.js: Added.
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Chromium DRT support for webkitAnimationTime.
      
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::paintInvalidatedRegion):
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Implements mozilla's animationTime property as described here:
              https://developer.mozilla.org/en/DOM/window.mozAnimationStartTime
              and http://hacks.mozilla.org/2010/08/more-efficient-javascript-animations-with-mozrequestanimationframe/
              The property is called webkitAnimationTime as calling it the 'Start' time is not very informative.
              This property exposes a notion of a 'current' time to use for declarative animations and allows
              scripts to synchronize imperative animations with declarative ones if they choose to.  Once queried
              this time is saved and used for all declarative animation updates until the embedder paints/composites
              the next frame and clears it, or 15ms elapse (in case the embedder isn't producing frames, for example
              if the page is in a background tab).
      
              This patch also ensures that all declarative animations started in the same script execution block
              are synchronized even if some time elapses while script is running.
      
              Test: fast/animation/animation-time.html
      
              * WebCore.gypi:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::webkitAnimationTime):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              (WebCore::Frame::currentAnimationTime):
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              (WebCore::Page::animationTime):
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
              * page/animation/AnimationTimeController.cpp: Added.
              (WebCore::AnimationTimeController::AnimationTimeController):
              (WebCore::AnimationTimeController::~AnimationTimeController):
              (WebCore::AnimationTimeController::currentAnimationTime):
              (WebCore::AnimationTimeController::clearCurrentAnimationTime):
              (WebCore::AnimationTimeController::clearCurrentAnimationTimeTimerFired):
              * page/animation/AnimationTimeController.h: Added.
              (WebCore::AnimationTimeController::create):
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              WebKit API support for webkitAnimationTime.
      
              * public/WebWidget.h:
              * src/WebPopupMenuImpl.cpp:
              (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::clearCurrentAnimationTime):
              * src/WebViewImpl.h:
      2011-01-06  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Implement mozilla's animationTime property
              https://bugs.webkit.org/show_bug.cgi?id=51952
      
              Tells the page to clear the current animation time after producing a frame.
      
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::drawRect):
              * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
              (WebKit::ChunkedUpdateDrawingArea::display):
              (WebKit::ChunkedUpdateDrawingArea::setSize):
              * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
              (WebKit::LayerBackedDrawingArea::syncCompositingLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0dca2a1
    • jam@chromium.org's avatar
      2010-12-29 John Abd-El-Malek <jam@chromium.org> · 58914a59
      jam@chromium.org authored
              Reviewed by Darin Fisher.
      
              [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
              https://bugs.webkit.org/show_bug.cgi?id=51710
      
              * WebKit.gyp:
              * public/WebAutoFillClient.h: Added.
              (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
              (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
              (WebKit::WebAutoFillClient::didClearAutoFillSelection):
              (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
              (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
              (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
              (WebKit::WebAutoFillClient::textFieldDidEndEditing):
              (WebKit::WebAutoFillClient::textFieldDidChange):
              (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
              (WebKit::WebAutoFillClient::~WebAutoFillClient):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58914a59
  3. 05 Jan, 2011 8 commits
    • sfalken@apple.com's avatar
      2011-01-05 Steve Falkenburg <sfalken@apple.com> · 3bc314c4
      sfalken@apple.com authored
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
      
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
      
              * win/tools/vsprops/common.vsprops: 
      2011-01-05  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
      
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
      
              * WebKit.vcproj/InterfacesCommon.vsprops:
              * WebKit.vcproj/InterfacesPostBuild.cmd:
              * WebKit.vcproj/InterfacesPreBuild.cmd:
              * WebKit.vcproj/WebKit.make:
              * WebKit.vcproj/WebKitGUID.vcproj:
              * WebKit.vcproj/WebKitGUIDCommon.vsprops:
              * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
              * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
              * WebKit.vcproj/WebKitLibCommon.vsprops:
              * WebKit.vcproj/WebKitLibPostBuild.cmd:
              * WebKit.vcproj/WebKitLibPreBuild.cmd:
      2011-01-05  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
      
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
      
              * WebCore.vcproj/QTMovieWinCommon.vsprops:
              * WebCore.vcproj/QTMovieWinPostBuild.cmd:
              * WebCore.vcproj/QTMovieWinPreBuild.cmd:
              * WebCore.vcproj/WebCore.make:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/WebCoreCommon.vsprops:
              * WebCore.vcproj/WebCoreGeneratedCairo.vsprops:
              * WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
              * WebCore.vcproj/WebCoreMediaQT.vsprops:
              * WebCore.vcproj/WebCorePostBuild.cmd:
              * WebCore.vcproj/WebCorePreBuild.cmd:
              * WebCore.vcproj/copyForwardingHeaders.cmd:
              * WebCore.vcproj/copyInspectorFiles.cmd:
      2011-01-05  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
              
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
              
              For PGO, $(ConfigurationBuildDir) points to the same directory (Release_PGO) to allow
              for proper operation of the instrumentation/optimization scripts.
      
              * JavaScriptCore.vcproj/JavaScriptCore.make:
              * JavaScriptCore.vcproj/JavaScriptCore.sln:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGeneratedCommon.vsprops:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePGOOptimize.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePostBuild.cmd:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreBuild.cmd:
              * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
              * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
              * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
              * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd:
              * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd:
              * JavaScriptCore.vcproj/jsc/jsc.vcproj:
              * JavaScriptCore.vcproj/jsc/jscCommon.vsprops:
              * JavaScriptCore.vcproj/jsc/jscPostBuild.cmd:
              * JavaScriptCore.vcproj/jsc/jscPreBuild.cmd:
              * JavaScriptCore.vcproj/testapi/testapiCommon.vsprops:
              * JavaScriptCore.vcproj/testapi/testapiPostBuild.cmd:
              * JavaScriptCore.vcproj/testapi/testapiPreBuild.cmd:
      2011-01-05  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
      
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
      
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
              * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
              * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
              * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
              * DumpRenderTree/win/ImageDiffCommon.vsprops:
              * DumpRenderTree/win/ImageDiffPostBuild.cmd:
              * DumpRenderTree/win/ImageDiffPreBuild.cmd:
              * FindSafari/FindSafari.vcproj:
              * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
              * MiniBrowser/MiniBrowserPostBuild.cmd:
              * MiniBrowser/MiniBrowserPreBuild.cmd:
              * Scripts/webkitdirs.pm:
              * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
              * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
              * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
              * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
              * TestWebKitAPI/win/copy-resources.cmd:
              * WebKitAPITest/WebKitAPITestCommon.vsprops:
              * WebKitAPITest/WebKitAPITestPostBuild.cmd:
              * WebKitAPITest/WebKitAPITestPreBuild.cmd:
              * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
              * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
              * WebKitTestRunner/win/InjectedBundle.vcproj:
              * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
              * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
              * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
              * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
              * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
              * WinLauncher/WinLauncherCommon.vsprops:
              * WinLauncher/WinLauncherPostBuild.cmd:
              * WinLauncher/WinLauncherPreBuild.cmd:
      2011-01-05  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Darin Adler.
      
              Debug and Release builds on Windows clobber each other
              https://bugs.webkit.org/show_bug.cgi?id=49185
      
              Changes the structure of WebKitBuild build products directory so we
              completely separate each build configuration into independent directories.
              
              Although we previously had per-configuration directories for obj, this change adds
              per-configuration directories for bin, lib, obj, and include. Each configuration's
              build products are stored within a directory inside of WebKitBuild.
              
              Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
              defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
      
              * win/WebKit2.make:
              * win/WebKit2.vcproj:
              * win/WebKit2Common.vsprops:
              * win/WebKit2Generated.make:
              * win/WebKit2GeneratedCommon.vsprops:
              * win/WebKit2WebProcessPostBuild.cmd:
              * win/WebKit2WebProcessPreBuild.cmd:
              * win/WebKitPostBuild.cmd:
              * win/WebKitPreBuild.cmd:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bc314c4
    • girish@forwardbias.in's avatar
      [Qt] QML WebView does not transfer focus to underlying QGraphicsWebView · 9ae51377
      girish@forwardbias.in authored
      QML WebView creates QGraphicsWebView as it's child. The WebView is not
      setup as a focus proxy of the QGraphicsWebView. Thus, even though the
      WebView gets focus, the QGraphicsWebView does not get focus.
      In QML, focus proxies or "focus scopes" are created using FocusScope.
      This change makes WebView a FocusScope and sets the focus on the
      QGraphicsWebView.
      
      Reviewed by Simon Hausmann.
      Acked by Aaron Kennedy <aaron.kennedy@nokia.com>
      
      https://bugs.webkit.org/show_bug.cgi?id=51094
      
      * declarative/qdeclarativewebview.cpp:
      (QDeclarativeWebView::init):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ae51377
    • crogers@google.com's avatar
      2011-01-05 Chris Rogers <crogers@google.com> · bf85fc53
      crogers@google.com authored
              Reviewed by Darin Fisher.
      
              Add WebKitClient::createAudioDevice() for Chromium port of web audio API
              https://bugs.webkit.org/show_bug.cgi?id=51424
      
              * WebKit.gyp:
              * public/WebAudioDevice.h: Added.
              (WebKit::WebAudioDevice::RenderCallback::~RenderCallback):
              (WebKit::WebAudioDevice::~WebAudioDevice):
              * public/WebKitClient.h:
              (WebKit::WebKitClient::createAudioDevice):
              * src/AudioDestinationChromium.cpp: Added.
              (WebCore::AudioDestination::create):
              (WebCore::AudioDestinationChromium::AudioDestinationChromium):
              (WebCore::AudioDestinationChromium::~AudioDestinationChromium):
              (WebCore::AudioDestinationChromium::start):
              (WebCore::AudioDestinationChromium::stop):
              (WebCore::AudioDestination::hardwareSampleRate):
              (WebCore::AudioDestinationChromium::render):
              * src/AudioDestinationChromium.h: Added.
              (WebCore::AudioDestinationChromium::isPlaying):
              (WebCore::AudioDestinationChromium::sampleRate):
      2011-01-05  Chris Rogers  <crogers@google.com>
      
              Reviewed by Darin Fisher.
      
              Add WebKitClient::createAudioDevice() for Chromium port of web audio API
              https://bugs.webkit.org/show_bug.cgi?id=51424
      
              No new tests since audio API is not yet implemented.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf85fc53
    • levin@chromium.org's avatar
      2011-01-05 David Levin <levin@chromium.org> · a616293e
      levin@chromium.org authored
              Reviewed by Darin Fisher.
      
              [chromium] WEBKIT_API and styling fixes for the chromium api.
              https://bugs.webkit.org/show_bug.cgi?id=51863
      
              Removed some incorrect uses of WEBKIT_API.
              Fixed some abbreviations by making them whole words.
      
              * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions.
              * public/WebFormElement.h: Removed WEBKIT_API from inline functions
              and fixed some abbreviations.
              (WebKit::WebFormElement::WebFormElement):
              (WebKit::WebFormElement::operator=):
              (WebKit::WebFormElement::assign):
              * public/WebIDBDatabaseError.h: Ditto.
              (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
              (WebKit::WebIDBDatabaseError::operator=):
              * public/WebInputElement.h: Ditto.
              (WebKit::WebInputElement::WebInputElement):
              (WebKit::WebInputElement::operator=):
              (WebKit::WebInputElement::assign):
              * public/WebLabelElement.h: Ditto.
              (WebKit::WebLabelElement::WebLabelElement):
              (WebKit::WebLabelElement::operator=):
              (WebKit::WebLabelElement::assign):
              * public/WebOptionElement.h: Ditto.
              (WebKit::WebOptionElement::WebOptionElement):
              (WebKit::WebOptionElement::operator=):
              (WebKit::WebOptionElement::assign):
              * public/WebSelectElement.h: Ditto (and minor spacing cleanup).
              (WebKit::WebSelectElement::WebSelectElement):
              (WebKit::WebSelectElement::operator=):
              (WebKit::WebSelectElement::assign):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a616293e
    • mrobinson@webkit.org's avatar
      2011-01-05 Martin Robinson <mrobinson@igalia.com> · 30135f9c
      mrobinson@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Build fix for GTK+ 3.x. Remove the call to gtk_range_set_update_policy.
              GTK+ 3.x has removed this method and the default in GTK+ 2.x is continuous,
              so this call is unnecessary.
      
              * WebCoreSupport/FullscreenVideoController.cpp:
              (FullscreenVideoController::createHud): Remove call to gtk_range_set_update_policy().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30135f9c
    • commit-queue@webkit.org's avatar
      2011-01-05 Yi Shen <yi.4.shen@nokia.com> · 1ab558b9
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt] Sync qwebkitplatformplugin.h in the plugin example
              https://bugs.webkit.org/show_bug.cgi?id=51882
      
              Make examples/platformplugin/qwebkitplatformplugin.h exactly the same
              as the one in the Api folder.
      
              * examples/platformplugin/qwebkitplatformplugin.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ab558b9
    • cfleizach@apple.com's avatar
      GTK: AX: DRT needs to use correct root object method. · f310e4af
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=51911
      
      Reviewed by Martin Robinson.
      
      Tools: 
      
      * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
      (AccessibilityController::rootElement):
      
      WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::getRootAccessibleElement):
      (DumpRenderTreeSupportGtk::getFocusedAccessibleElement):
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f310e4af
    • hans@chromium.org's avatar
      2011-01-05 Hans Wennborg <hans@chromium.org> · ddf8901d
      hans@chromium.org authored
              Reviewed by David Levin.
      
              [Chromium] WebIDBKey clean-up
              https://bugs.webkit.org/show_bug.cgi?id=51925
      
              Remove constructors that are no longer used since the
              Chromium side has been updated.
      
              * public/WebIDBKey.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddf8901d
  4. 04 Jan, 2011 8 commits
    • cfleizach@apple.com's avatar
      WK2: Support Accessibility · aa50410b
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=51859
      
      Reviewed by Sam Weinig.
      
      Tools: 
      
      Use rootObject() method to get top of accessibility tree.
      
      * DumpRenderTree/mac/AccessibilityControllerMac.mm:
      (AccessibilityController::focusedElement):
      (AccessibilityController::rootElement):
      
      WebCore: 
      
      WK2 doesn't use platform scroll views anymore. Accessibility code
      needs to have its own scroll views. 
      
      Test: platform/mac/accessibility/webkit-scrollarea.html
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.exp.in:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::AXObjectCache):
      (WebCore::AXObjectCache::get):
      (WebCore::AXObjectCache::getOrCreate):
      (WebCore::AXObjectCache::rootObject):
      (WebCore::AXObjectCache::remove):
      (WebCore::AXObjectCache::handleScrollbarUpdate):
      * accessibility/AXObjectCache.h:
      (WebCore::AXObjectCache::handleScrollbarUpdate):
      * accessibility/AccessibilityARIAGrid.h:
      * accessibility/AccessibilityAllInOne.cpp:
      * accessibility/AccessibilityImageMapLink.cpp:
      * accessibility/AccessibilityImageMapLink.h:
      * accessibility/AccessibilityListBoxOption.cpp:
      * accessibility/AccessibilityListBoxOption.h:
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::updateChildrenIfNecessary):
      (WebCore::AccessibilityObject::elementAccessibilityHitTest):
      (WebCore::AccessibilityObject::axObjectCache):
      (WebCore::AccessibilityObject::focusedUIElement):
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::isAccessibilityScrollView):
      (WebCore::AccessibilityObject::isScrollView):
      (WebCore::AccessibilityObject::canSetNumericValue):
      (WebCore::AccessibilityObject::scrollBar):
      (WebCore::AccessibilityObject::size):
      (WebCore::AccessibilityObject::setValue):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::parentObject):
      (WebCore::AccessibilityRenderObject::accessibilityHitTest):
      (WebCore::AccessibilityRenderObject::updateChildrenIfNecessary):
      (WebCore::AccessibilityRenderObject::addChildren):
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/AccessibilityScrollView.cpp: Added.
      (WebCore::AccessibilityScrollView::AccessibilityScrollView):
      (WebCore::AccessibilityScrollView::create):
      (WebCore::AccessibilityScrollView::scrollBar):
      (WebCore::AccessibilityScrollView::children):
      (WebCore::AccessibilityScrollView::updateChildrenIfNecessary):
      (WebCore::AccessibilityScrollView::removeChildScrollbar):
      (WebCore::AccessibilityScrollView::addChildScrollbar):
      (WebCore::AccessibilityScrollView::addChildren):
      (WebCore::AccessibilityScrollView::webAreaObject):
      (WebCore::AccessibilityScrollView::accessibilityHitTest):
      (WebCore::AccessibilityScrollView::document):
      (WebCore::AccessibilityScrollView::elementRect):
      (WebCore::AccessibilityScrollView::parentObject):
      * accessibility/AccessibilityScrollView.h: Added.
      (WebCore::AccessibilityScrollView::roleValue):
      (WebCore::AccessibilityScrollView::scrollView):
      (WebCore::AccessibilityScrollView::accessibilityIsIgnored):
      (WebCore::AccessibilityScrollView::isAccessibilityScrollView):
      (WebCore::toAccessibilityScrollView):
      * accessibility/AccessibilityScrollbar.cpp:
      (WebCore::AccessibilityScrollbar::AccessibilityScrollbar):
      (WebCore::AccessibilityScrollbar::create):
      (WebCore::AccessibilityScrollbar::elementRect):
      (WebCore::AccessibilityScrollbar::document):
      (WebCore::AccessibilityScrollbar::orientation):
      (WebCore::AccessibilityScrollbar::isEnabled):
      (WebCore::AccessibilityScrollbar::valueForRange):
      (WebCore::AccessibilityScrollbar::setValue):
      * accessibility/AccessibilityScrollbar.h:
      (WebCore::AccessibilityScrollbar::setParent):
      (WebCore::AccessibilityScrollbar::canSetValueAttribute):
      (WebCore::AccessibilityScrollbar::canSetNumericValue):
      (WebCore::AccessibilityScrollbar::isAccessibilityScrollbar):
      (WebCore::AccessibilityScrollbar::parentObject):
      (WebCore::AccessibilityScrollbar::roleValue):
      * accessibility/mac/AccessibilityObjectMac.mm:
      (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
      * accessibility/mac/AccessibilityObjectWrapper.mm:
      (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
      (-[AccessibilityObjectWrapper remoteAccessibilityParentObject]):
      (-[AccessibilityObjectWrapper position]):
      (-[AccessibilityObjectWrapper scrollViewParent]):
      (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
      (-[AccessibilityObjectWrapper accessibilityHitTest:]):
      (-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
      * dom/Document.cpp:
      (WebCore::Document::axObjectCache):
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::accessibilityRemoteObject):
      * loader/FrameLoaderClient.h:
      * page/FrameView.cpp:
      (WebCore::FrameView::~FrameView):
      (WebCore::FrameView::axObjectCache):
      * page/FrameView.h:
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::setHasHorizontalScrollbar):
      (WebCore::ScrollView::setHasVerticalScrollbar):
      * platform/Scrollbar.cpp:
      (WebCore::Scrollbar::~Scrollbar):
      (WebCore::Scrollbar::scroll):
      (WebCore::Scrollbar::axObjectCache):
      * platform/Scrollbar.h:
      * platform/Widget.h:
      (WebCore::Widget::axObjectCache):
      
      WebKit/gtk: 
      
      Use rootObject() method to get top of ax tree.
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::getFocusedAccessibleElement):
      * webkit/webkitwebview.cpp:
      (webkit_web_view_get_accessible):
      
      WebKit/mac: 
      
      Use rootObject() method to get top of AX tree.
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      (WebFrameLoaderClient::accessibilityRemoteObject):
      * WebView/WebFrame.mm:
      (-[WebFrame setAccessibleName:]):
      (-[WebFrame accessibilityRoot]):
      * WebView/WebFrameInternal.h:
      * WebView/WebFramePrivate.h:
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView accessibilityAttributeValue:]):
      (-[WebHTMLView accessibilityFocusedUIElement]):
      (-[WebHTMLView accessibilityHitTest:]):
      (-[WebHTMLView _accessibilityParentForSubview:]):
      
      WebKit/win: 
      
      Use rootObject() method to get the top of the AX tree.
      
      * AccessibleDocument.cpp:
      (AccessibleDocument::AccessibleDocument):
      
      WebKit2: 
      
      Implement remote accessibility API to support cross process accessibility
      on the Mac platform.
      
      * Shared/WebProcessCreationParameters.cpp:
      (WebKit::WebProcessCreationParameters::encode):
      (WebKit::WebProcessCreationParameters::decode):
      * Shared/WebProcessCreationParameters.h:
      * UIProcess/API/mac/PageClientImpl.h:
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::accessibilityChildTokenReceived):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView initWithFrame:contextRef:pageGroupRef:]):
      (-[WKView _updateWindowAndViewFrames]):
      (-[WKView _setAccessibilityChildToken:]):
      (-[WKView accessibilityIsIgnored]):
      (-[WKView accessibilityHitTest:]):
      (-[WKView accessibilityAttributeValue:]):
      * UIProcess/API/mac/WKViewInternal.h:
      * UIProcess/PageClient.h:
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::ensureWebProcess):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::windowAndViewFramesChanged):
      (WebKit::WebPageProxy::didReceiveAccessibilityPageToken):
      (WebKit::WebPageProxy::sendAccessibilityPresenterToken):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::accessibilityRemoteObject):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::windowAndViewFramesChanged):
      * WebProcess/WebPage/WebPage.h:
      (WebKit::WebPage::accessibilityPosition):
      * WebProcess/WebPage/WebPage.messages.in:
      * WebProcess/WebPage/mac/AccessibilityWebPageObject.h: Added.
      * WebProcess/WebPage/mac/AccessibilityWebPageObject.mm: Added.
      (-[AccessibilityWebPageObject setWebPage:]):
      (-[AccessibilityWebPageObject setRemoteParent:]):
      (-[AccessibilityWebPageObject dealloc]):
      (-[AccessibilityWebPageObject accessibilityIsIgnored]):
      (-[AccessibilityWebPageObject accessibilityAttributeNames]):
      (-[AccessibilityWebPageObject accessibilityIsAttributeSettable:]):
      (-[AccessibilityWebPageObject accessibilitySetValue:forAttribute:]):
      (-[AccessibilityWebPageObject accessibilityActionNames]):
      (-[AccessibilityWebPageObject accessibilityChildren]):
      (-[AccessibilityWebPageObject accessibilityAttributeValue:]):
      (-[AccessibilityWebPageObject accessibilityShouldUseUniqueId]):
      (-[AccessibilityWebPageObject accessibilityHitTest:]):
      (-[AccessibilityWebPageObject accessibilityFocusedUIElement]):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::platformInitialize):
      (WebKit::WebPage::sendAccessibilityPresenterToken):
      (WebKit::WebPage::accessibilityRemoteObject):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::initializeWebProcess):
      * WebProcess/WebProcess.h:
      (WebKit::WebProcess::presenterApplicationPid):
      * WebProcess/mac/WebProcessMainMac.mm:
      (WebKit::WebProcessMain):
      
      LayoutTests: 
      
      * platform/mac/accessibility/webkit-scrollarea-expected.txt: Added.
      * platform/mac/accessibility/webkit-scrollarea.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa50410b
    • darin@chromium.org's avatar
      2011-01-04 Darin Fisher <darin@chromium.org> · 5f017351
      darin@chromium.org authored
              Reviewed by David Levin.
      
              Update README file with a description of the WEBKIT_API macro and
              guidelines for its usage.  Also document the various WEBKIT_USING_*
              macros.
      
              https://bugs.webkit.org/show_bug.cgi?id=51880
      
              * README:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f017351
    • evan@chromium.org's avatar
      2011-01-04 Evan Martin <evan@chromium.org> · 0e768041
      evan@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium] depend on harfbuzz explicitly
              https://bugs.webkit.org/show_bug.cgi?id=51895
      
              platform/graphics/chromium uses Harfbuzz directly.  Rather than
              expecting Skia to adjust the include paths, be explicit about
              the dependency.
      
              * WebCore.gyp/WebCore.gyp:
      2011-01-04  Evan Martin  <evan@chromium.org>
      
              Reviewed by Tony Chang.
      
              [chromium] depend on harfbuzz explicitly
              https://bugs.webkit.org/show_bug.cgi?id=51895
      
              Update Chromium DEPS to pick up newer Chromium version
              that simplifies expressing the Harfbuzz dependency.
      
              * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e768041
    • mrobinson@webkit.org's avatar
      2011-01-03 Martin Robinson <mrobinson@igalia.com> · 5031ca1b
      mrobinson@webkit.org authored
              Reviewed by Darin Adler.
      
              Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
              https://bugs.webkit.org/show_bug.cgi?id=51846
      
              * GNUmakefile.am: Remove PlatformRefPtr.h from the sources list.
              * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
              * jit/ExecutableAllocator.h: Change references to PlatformRefPtr to RefPtr.
              (JSC::ExecutableAllocator::cacheFlush): Ditto.
              * wtf/PlatformRefPtr.h: Removed.
              * wtf/RandomNumber.cpp: Change references to PlatformRefPtr to RefPtr.
              (WTF::randomNumber): Ditto.
              * wtf/brew/RefPtrBrew.h: Ditto.
              (WTF::refIfNotNull): Added.
              (WTF::derefIfNotNull): Added.
              * wtf/brew/ShellBrew.h: Change references to PlatformRefPtr to RefPtr.
              (WTF::createRefPtrInstance): Modified to return a RefPtr.
              * wtf/gobject/GRefPtr.cpp:
              (WTF::refGPtr): Moved from PlatformRefPtr here.
              (WTF::derefGPtr): Ditto.
              * wtf/gobject/GRefPtr.h: Ditto.
              (WTF::GRefPtr::GRefPtr): Ditto.
              (WTF::GRefPtr::~GRefPtr): Ditto.
              (WTF::GRefPtr::clear): Ditto.
              (WTF::GRefPtr::isHashTableDeletedValue): Ditto.
              (WTF::GRefPtr::get): Ditto.
              (WTF::GRefPtr::operator*): Ditto.
              (WTF::GRefPtr::operator->): Ditto.
              (WTF::GRefPtr::operator!): Ditto.
              (WTF::GRefPtr::operator UnspecifiedBoolType): Ditto.
              (WTF::GRefPtr::hashTableDeletedValue): Ditto.
              (WTF::::operator): Ditto.
              (WTF::::swap): Ditto.
              (WTF::swap): Ditto.
              (WTF::operator==): Ditto.
              (WTF::operator!=): Ditto.
              (WTF::static_pointer_cast): Ditto.
              (WTF::const_pointer_cast): Ditto.
              (WTF::getPtr): Ditto.
              (WTF::adoptGRef): Ditto.
              (WTF::refGPtr): Ditto.
              (WTF::derefGPtr): Ditto.
      2011-01-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Darin Adler.
      
              Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
              https://bugs.webkit.org/show_bug.cgi?id=51846
      
              * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Change usage of PlatformRefPtr
              back to GRefPtr.
      2011-01-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Darin Adler.
      
              Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
              https://bugs.webkit.org/show_bug.cgi?id=51846
      
              No new tests. This should not introduce any functional changes.
      
              Changed all references to PlatformRefPtr in GTK+ code to GRefPtr. Changed
              all references to PlatformRefPtr in Brew code to RefPtr.
      2011-01-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Darin Adler.
      
              Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
              https://bugs.webkit.org/show_bug.cgi?id=51846
      
              Changed all references to PlatformRefPtr in GTK+ code to GRefPtr.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5031ca1b
    • commit-queue@webkit.org's avatar
      2011-01-04 Zhe Su <suzhe@chromium.org> · 5f354cec
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              1. Remove entry for editing/input/ime-composition-clearpreedit.html test.
              2. Improve fast/events/ime-composition-events-001.html to cover more
                 cases. And fix test expectations of chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * fast/events/ime-composition-events-001-expected.txt:
              * fast/events/ime-composition-events-001.html:
              * platform/chromium-mac/fast/events/ime-composition-events-001-expected.txt: Removed.
              * platform/chromium-win/fast/events/ime-composition-events-001-expected.txt: Removed.
              * platform/chromium/fast/events/ime-composition-events-001-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
              * platform/qt/fast/events/ime-composition-events-001-expected.txt: Added.
      2011-01-04  Zhe Su  <suzhe@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              Fix insertText, setMarkedText and unmarkText methods of
              TextInputController to call corresponding methods of WebKit::WebView
              rather than WebKit::WebFrame. This change matches the behavior of
              chromium browser.
              insertText corresponds to WebView::confirmComposition(text)
              setMarkedText corresponds to WebView::setComposition(...)
              unmarkText corresponds to WebView::confirmComposition()
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * DumpRenderTree/chromium/TextInputController.cpp:
              (TextInputController::insertText):
              (TextInputController::setMarkedText):
              (TextInputController::unmarkText):
      2011-01-04  Zhe Su  <suzhe@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              Changes:
              1. Add WebKit::WebWidget::confirmComposition(const WebString& text)
                 This new method corresponds to Editor::confirmComposition(text) and
                 Editor::insertText(text). It'll be used by both DumpRenderTree's
                 TextInputController and chromium browser.
              2. Fix WebFrameImpl::insertText
                 It should call Editor::confirmComposition(text) rather than
                 Editor::insertText(text) if there is an ongoing composition.
                 It matches the behavior of WebKit Mac port.
              3. Fix WebFrameImpl::setMarkedText
                 Editor::confirmComposition(text) shouldn't be called in this
                 method, which incorrectly inserts the text.
      
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * public/WebWidget.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::insertText):
              (WebKit::WebFrameImpl::setMarkedText):
              * src/WebPopupMenuImpl.cpp:
              (WebKit::WebPopupMenuImpl::confirmComposition):
              * src/WebPopupMenuImpl.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::confirmComposition):
              * src/WebViewImpl.h:
              * tests/PopupMenuTest.cpp:
              (WebKit::TestWebWidget::confirmComposition):
      2011-01-04  Zhe Su  <suzhe@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              Fix test LayoutTests/fast/events/ime-composition-events-001.html.
      
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * Api/qwebpage.cpp:
              (QWebPagePrivate::inputMethodEvent): Calls editor->insertText() to
              insert the commit string when no composition text is available.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f354cec
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/51889>... · 1230fa59
      ddkilzer@apple.com authored
      <http://webkit.org/b/51889> WebFrameLoaderClient::createMediaPlayerProxyPlugin() should use WebCore::PluginInfo.name
      
      Reviewed by Eric Carlson.
      
      This originally broke in r61581.  It is inside an
      ENABLE(PLUGIN_PROXY_FOR_VIDEO) macro, so it didn't break the Mac
      build then.
      
      * WebCoreSupport/WebFrameLoaderClient.mm: Call
      (WebFrameLoaderClient::createMediaPlayerProxyPlugin): Updated to
      use WebCore::PluginInfo.name instead of
      -[WebBasePluginPackage name].
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1230fa59
    • tonyg@chromium.org's avatar
      2010-12-29 Tony Gentilcore <tonyg@chromium.org> · 987a93b5
      tonyg@chromium.org authored
              Reviewed by Darin Adler.
      
              Remove 2 unnecessary includes from Document.h
              https://bugs.webkit.org/show_bug.cgi?id=51727
      
              No new tests because no changed functionality.
      
              * dom/Document.cpp:
              * dom/Document.h:
              * editing/Editor.cpp:
              * editing/SpellChecker.h:
              * editing/SplitTextNodeCommand.cpp:
              * editing/TextCheckingHelper.cpp:
              * page/FrameView.cpp:
              * page/Page.cpp:
              * rendering/HitTestResult.cpp:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/svg/SVGInlineFlowBox.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      987a93b5
    • paroga@webkit.org's avatar
      2011-01-04 Patrick Gansterer <paroga@webkit.org> · 48ee9ab5
      paroga@webkit.org authored
              Unreviewed WinCE build fix.
      
              * WebCoreSupport/ChromeClientWinCE.cpp:
              (WebKit::ChromeClientWinCE::exceededDatabaseQuota): Added missing semicolon.
              (WebKit::ChromeClientWinCE::reachedApplicationCacheOriginQuota):
              * WebCoreSupport/ChromeClientWinCE.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48ee9ab5
  5. 03 Jan, 2011 9 commits
    • psolanki@apple.com's avatar
      Mac build fix. Define WTF_USE_CFNETWORK for Windows build only. · f4a36c4f
      psolanki@apple.com authored
      * WebCoreSupport/WebInspectorClientCF.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4a36c4f
    • bweinstein@apple.com's avatar
      Windows build fix. Define WTF_USE_CFNETWORK in WebInspectorClientCF. · eb6f96ae
      bweinstein@apple.com authored
      * WebCoreSupport/WebInspectorClientCF.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb6f96ae
    • commit-queue@webkit.org's avatar
      2011-01-03 Yi Shen <yi.4.shen@nokia.com> · 84ffa4ae
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              [Qt] Add SelectAll option to the context menu for the editor
              https://bugs.webkit.org/show_bug.cgi?id=50049
      
              Set shortcut for the SelectAll action.
      
              * QtTestBrowser/mainwindow.cpp:
              (MainWindow::buildUI):
      2011-01-03  Yi Shen  <yi.4.shen@nokia.com>
      
              Reviewed by Adam Barth.
      
              [Qt] Add SelectAll option to the context menu for the editor
              https://bugs.webkit.org/show_bug.cgi?id=50049
      
              Enable SelectAll for the Qt context menu.
      
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::populate):
              * platform/ContextMenuItem.h:
              * platform/LocalizationStrategy.h:
              * platform/LocalizedStrings.cpp:
              (WebCore::contextMenuItemTagSelectAll):
              * platform/LocalizedStrings.h:
      2011-01-03  Yi Shen  <yi.4.shen@nokia.com>
      
              Reviewed by Adam Barth.
      
              [Qt] Add SelectAll option to the context menu for the editor
              https://bugs.webkit.org/show_bug.cgi?id=50049
      
              Enable SelectAll for the Qt context menu.
      
              * Api/qwebpage.cpp:
              (webActionForContextMenuAction):
              (QWebPage::action):
              * WebCoreSupport/WebPlatformStrategies.cpp:
              (WebPlatformStrategies::contextMenuItemTagSelectAll):
              * WebCoreSupport/WebPlatformStrategies.h:
      2011-01-03  Yi Shen  <yi.4.shen@nokia.com>
      
              Reviewed by Adam Barth.
      
              [Qt] Add SelectAll option to the context menu for the editor
              https://bugs.webkit.org/show_bug.cgi?id=50049
      
              Add WebPlatformStrategies::contextMenuItemTagSelectAll for Qt.
      
              * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
              (WebKit::WebPlatformStrategies::contextMenuItemTagSelectAll):
              * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84ffa4ae
    • kov@webkit.org's avatar
      Adding files I missed in my last git add. *shame* · 1370c3fa
      kov@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1370c3fa
    • kov@webkit.org's avatar
      WebKit/gtk · d8c7dac0
      kov@webkit.org authored
      2011-01-03  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Martin Robinson.
      
              [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
              https://bugs.webkit.org/show_bug.cgi?id=50698
      
              Final patch, removing webkitprivate.{cpp,h}, and adding a
              webkitglobals module to hold non-object-specific functions and
              definitions that do not make sense on their own.
      
              * GNUmakefile.am:
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::createWindow):
              * WebCoreSupport/ContextMenuClientGtk.cpp:
              * WebCoreSupport/DocumentLoaderGtk.cpp:
              (WebKit::DocumentLoader::attachToFrame):
              * WebCoreSupport/DragClientGtk.cpp:
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::ignoreWordInSpellDocument):
              (WebKit::EditorClient::learnWord):
              (WebKit::EditorClient::checkSpellingOfString):
              (WebKit::EditorClient::getGuessesForWord):
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::createDocumentLoader):
              * WebCoreSupport/InspectorClientGtk.cpp:
              * webkit/webkit.h:
              * webkit/webkitapplicationcache.cpp:
              (webkit_application_cache_set_maximum_size):
              * webkit/webkitdownload.cpp:
              (webkit_download_class_init):
              * webkit/webkitgeolocationpolicydecision.cpp:
              * webkit/webkitglobals.cpp: Added.
              (webkit_get_default_session):
              (webkit_set_cache_model):
              (webkit_get_cache_model):
              (webkit_get_web_plugin_database):
              (currentToplevelCallback):
              (closeIconDatabaseOnExit):
              (webkitInit):
              (WebKit::pasteboardHelperInstance):
              * webkit/webkitglobals.h: Added.
              * webkit/webkitglobalsprivate.h: Copied from WebKit/gtk/webkit/webkitwebsettingsprivate.h.
              * webkit/webkithittestresult.cpp:
              (webkit_hit_test_result_class_init):
              * webkit/webkitnetworkrequest.cpp:
              (webkit_network_request_class_init):
              * webkit/webkitnetworkresponse.cpp:
              (webkit_network_response_class_init):
              * webkit/webkitprivate.cpp: Removed.
              * webkit/webkitprivate.h: Removed.
              * webkit/webkitsecurityorigin.cpp:
              * webkit/webkitviewportattributes.cpp:
              * webkit/webkitwebbackforwardlist.cpp:
              (webkit_web_back_forward_list_class_init):
              * webkit/webkitwebdatabase.cpp:
              * webkit/webkitwebdatasource.cpp:
              (webkit_web_data_source_class_init):
              (webkit_web_data_source_new_with_request):
              (WebKit::kitNew):
              * webkit/webkitwebframe.cpp:
              (webkit_web_frame_class_init):
              * webkit/webkitwebframeprivate.h:
              * webkit/webkitwebhistoryitem.cpp:
              (webkit_web_history_item_class_init):
              * webkit/webkitwebinspector.cpp:
              * webkit/webkitwebnavigationaction.cpp:
              * webkit/webkitwebplugin.cpp:
              (webkit_web_plugin_class_init):
              * webkit/webkitwebplugindatabase.cpp:
              (webkit_web_plugin_database_class_init):
              * webkit/webkitwebpluginprivate.h:
              * webkit/webkitwebpolicydecision.cpp:
              * webkit/webkitwebresource.cpp:
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              (webkitWebViewGetEnchantDicts):
              (WebKit::core):
              * webkit/webkitwebsettingsprivate.h:
              * webkit/webkitwebview.cpp:
              (webkit_web_view_class_init):
              (webkit_web_view_update_settings):
              (webkit_web_view_settings_notify):
              * webkit/webkitwebview.h:
              * webkit/webkitwebwindowfeatures.cpp:
              (webkit_web_window_features_class_init):
              (WebKit::kitNew):
      
      WebCore
      
      2011-01-03  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Martin Robinson.
      
              [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
              https://bugs.webkit.org/show_bug.cgi?id=50698
      
              Fix DOM bindings generation to no longer include the now-gone
              webkitprivate.h header, including the appropriate replacements
              instead.
      
              * bindings/scripts/CodeGeneratorGObject.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8c7dac0
    • commit-queue@webkit.org's avatar
      2011-01-03 Antonio Gomes <agomes@rim.com> · 3ac1c8a9
      commit-queue@webkit.org authored
              Unreviewed crash fix.
      
              Follow up of r74891: potential crash fix (bogus assertion).
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::editorCommandForKeyDownEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ac1c8a9
    • noam.rosenthal@nokia.com's avatar
      2011-01-03 Noam Rosenthal <noam.rosenthal@nokia.com> · aa0eacc7
      noam.rosenthal@nokia.com authored
              Reviewed by Andreas Kling.
      
              [Qt] document.getElementById(...) doesn't return the right object in combination with QGraphicsWidget
              https://bugs.webkit.org/show_bug.cgi?id=51464
      
              Added a way to bind any QObject created as a plugin to JavaScript,
              by adding a custom member (qtObject) to WebCore::Widget.
              Added a test to tst_qwebpage to make sure plugins created
              as QGraphicsWidget are accessible through JavaScript.
      
              * bindings/js/ScriptControllerQt.cpp:
              (WebCore::ScriptController::createScriptInstanceForWidget):
              * platform/Widget.h:
              * platform/qt/WidgetQt.cpp:
              (WebCore::Widget::Widget):
              (WebCore::Widget::setBindingObject):
              (WebCore::Widget::bindingObject):
      2011-01-03  Noam Rosenthal  <noam.rosenthal@nokia.com>
      
              Reviewed by Andreas Kling.
      
              [Qt] document.getElementById(...) doesn't return the right object in combination with QGraphicsWidget
              https://bugs.webkit.org/show_bug.cgi?id=51464
      
              Added a way to bind any QObject created as a plugin to JavaScript,
              by adding a custom membe to WebCore::Widget.
              Added a test to make sure plugins created as QGraphicsWidget are
              accessible through JavaScript.
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              * tests/qwebpage/tst_qwebpage.cpp:
              (PluginPage::createPlugin):
              (tst_QWebPage::graphicsWidgetPlugin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa0eacc7
    • dbates@webkit.org's avatar
      2011-01-03 Daniel Bates <dbates@rim.com> · 282eb96b
      dbates@webkit.org authored
              Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.
      
              The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
              file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
              associated with this change was landed.
      
              * src/WebSearchableFormData.cpp:
              (HTMLNames::IsInDefaultState):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      282eb96b
    • tonikitoo@webkit.org's avatar
      2011-01-02 Antonio Gomes <agomes@rim.com> · a872ac65
      tonikitoo@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Refactor EditorClientQt::handleKeyboardEvent
              https://bugs.webkit.org/show_bug.cgi?id=51306
      
              EditorClientQt::handleKeyboardEvent relies on QWebPagePrivate::editorActionForKeyEvent()
              to handle all editor commands that have a QAction associted with it.
              In practice, that covers most of editor commands (as one can see in editorCommandWebActions,
              in qwebpage.cpp). However, there are some key down events that are associated to no QAction
              or need special handling when features like spatial navigation or
              caret browsing are enabled. Currently, these cases are being handled with confusing
              and nested if/else switch's statements in EditorClientQt::handleKeyboardEvent(),
              and the code is hardly readable.
      
              This patch introduces a mapping hash for those cases, simplifying much
              the code. Basically, nested switches statements mixed with if/else's were
              refactored, and early returns were added right after an event gets consumed
              by the Editor.
      
              Since it is a refactor only patch, there is no funcionality change at
              all, and then no new tests are being added.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::interpretKeyEvent):
              (WebCore::EditorClientQt::handleKeyboardEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a872ac65
  6. 02 Jan, 2011 3 commits
    • mitz@apple.com's avatar
      <rdar://problem/8812159> Update copyright strings · 81bf9d82
      mitz@apple.com authored
      Rubber-stamped by Simon Fraser.
      
      Source/JavaScriptCore: 
      
      * Info.plist:
      
      Source/JavaScriptGlue: 
      
      * Info.plist:
      
      WebCore: 
      
      * Info.plist:
      
      WebKit/mac: 
      
      * Info.plist:
      
      WebKit2: 
      
      * Info.plist:
      * WebProcess/Info.plist:
      
      WebKitLibraries: 
      
      * win/tools/scripts/COPYRIGHT-END-YEAR:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81bf9d82
    • krit@webkit.org's avatar
      2011-01-02 Dirk Schulze <krit@webkit.org> · 6f239b26
      krit@webkit.org authored
              Reviewed by Simon Fraser.
      
              Clarify ImageBuffer and ImageData relationship
              https://bugs.webkit.org/show_bug.cgi?id=51297
      
              Use ByteArray instead of ImageData.
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::doPixelReadbackToCanvas):
      2011-01-02  Dirk Schulze  <krit@webkit.org>
      
              Reviewed by Simon Fraser.
      
              Clarify ImageBuffer and ImageData relationship
              https://bugs.webkit.org/show_bug.cgi?id=51297
      
              Remove references to ImageData and CanvasPixelArray from ImageBuffer and SVG filter/masker code,
              since this was a layering violation, and replaced it by ByteArray.
      
              No change of functionality, so no new test added.
      
              * html/ImageData.cpp:
              (WebCore::ImageData::create):
              (WebCore::ImageData::ImageData):
              * html/ImageData.h: Added new constructor with ByteArray input.
              (WebCore::ImageData::width):
              (WebCore::ImageData::height):
              (WebCore::ImageData::data):
              * html/canvas/CanvasPixelArray.cpp:
              (WebCore::CanvasPixelArray::create):
              (WebCore::CanvasPixelArray::CanvasPixelArray):
              * html/canvas/CanvasPixelArray.h: New conctructor with ByteArray input, used by HTML Canvas.
              (WebCore::CanvasPixelArray::data):
              (WebCore::CanvasPixelArray::length):
              (WebCore::CanvasPixelArray::set):
              (WebCore::CanvasPixelArray::get):
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::getImageData):
              (WebCore::CanvasRenderingContext2D::putImageData):
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/cairo/ImageBufferCairo.cpp:
              (WebCore::getImageData):
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::putImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * platform/graphics/cg/ImageBufferCG.cpp:
              (WebCore::getImageData):
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::putImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * platform/graphics/filters/FEBlend.cpp:
              (WebCore::FEBlend::apply):
              * platform/graphics/filters/FEColorMatrix.cpp:
              (WebCore::FEColorMatrix::apply):
              * platform/graphics/filters/FEComponentTransfer.cpp:
              (WebCore::FEComponentTransfer::apply):
              * platform/graphics/filters/FEComposite.cpp:
              (WebCore::FEComposite::apply):
              * platform/graphics/filters/FEConvolveMatrix.cpp:
              (WebCore::setDestinationPixels):
              (WebCore::FEConvolveMatrix::apply):
              * platform/graphics/filters/FEConvolveMatrix.h:
              * platform/graphics/filters/FEDisplacementMap.cpp:
              (WebCore::FEDisplacementMap::apply):
              * platform/graphics/filters/FEGaussianBlur.cpp:
              (WebCore::FEGaussianBlur::apply):
              * platform/graphics/filters/FELighting.cpp:
              (WebCore::FELighting::apply):
              * platform/graphics/filters/FEMorphology.cpp:
              (WebCore::FEMorphology::apply):
              * platform/graphics/filters/FETurbulence.cpp:
              (WebCore::FETurbulence::apply):
              * platform/graphics/filters/FilterEffect.cpp:
              (WebCore::FilterEffect::asImageBuffer):
              (WebCore::FilterEffect::asUnmultipliedImage):
              (WebCore::FilterEffect::asPremultipliedImage):
              (WebCore::FilterEffect::copyImageBytes):
              (WebCore::FilterEffect::copyUnmultipliedImage):
              (WebCore::FilterEffect::copyPremultipliedImage):
              (WebCore::FilterEffect::createUnmultipliedImageResult):
              (WebCore::FilterEffect::createPremultipliedImageResult):
              * platform/graphics/filters/FilterEffect.h:
              * platform/graphics/qt/ImageBufferQt.cpp:
              (WebCore::getImageData):
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::putImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * platform/graphics/skia/ImageBufferSkia.cpp:
              (WebCore::getImageData):
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::putImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * platform/graphics/wince/ImageBufferWinCE.cpp:
              (WebCore::getImageData):
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::putImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * platform/graphics/wx/ImageBufferWx.cpp:
              (WebCore::ImageBuffer::getUnmultipliedImageData):
              (WebCore::ImageBuffer::getPremultipliedImageData):
              (WebCore::ImageBuffer::putUnmultipliedImageData):
              (WebCore::ImageBuffer::putPremultipliedImageData):
              * rendering/RenderSVGResourceMasker.cpp:
              (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f239b26
    • xan@webkit.org's avatar
      2011-01-02 Xan Lopez <xlopez@igalia.com> · b27e57aa
      xan@webkit.org authored
              Fix GTK+ build.
      
              * GNUmakefile.am: tests do actually include JSC.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b27e57aa