1. 07 Jan, 2011 1 commit
    • 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
  2. 06 Jan, 2011 4 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
    • 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
    • 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 3 commits
    • 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
    • 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 4 commits
    • 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
    • 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
    • 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
  5. 03 Jan, 2011 1 commit
  6. 02 Jan, 2011 1 commit
    • 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
  7. 01 Jan, 2011 1 commit
    • abarth@webkit.org's avatar
      Move JavaScriptCore to Source · 76da8fc1
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51604
      
      Reviewed by Eric Seidel.
      
      Update references to JavaScriptCore to point to the new location.
      
      * Android.mk:
      * CMakeLists.txt:
      * DerivedSources.pro:
      * GNUmakefile.am:
      * Makefile:
      * WebKit.pri:
      * WebKit.pro:
      * wscript:
      
      Tools: 
      
      Update references to JavaScriptCore to point to the new location.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      * DumpRenderTree/qt/DumpRenderTree.pro:
      * DumpRenderTree/qt/ImageDiff.pro:
      * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      * DumpRenderTree/wscript:
      * Scripts/build-jsc:
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/run-javascriptcore-tests:
      * Scripts/update-javascriptcore-test-results:
      * Scripts/webkitdirs.pm:
      * Scripts/webkitpy/common/config/build_unittest.py:
      * Scripts/webkitpy/style/checker.py:
      * Scripts/webkitpy/style/checker_unittest.py:
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      * wx/build/settings.py:
      
      WebCore: 
      
      Update references to JavaScriptCore.
      
      * Android.derived.jscbindings.mk:
      * Android.v8bindings.mk:
      * CMakeLists.txt:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.pro:
        - These changes are subtle and might not be 100% correct.
      * move-js-headers.sh:
      
      WebKit/chromium: 
      
      * WebKit.gyp:
        - Point to JavaScriptCore in its new location.
      
      WebKit/gtk: 
      
      * GNUmakefile.am:
      * docs/GNUmakefile.am:
        - Point to JavaScriptCore in its new location.
      
      WebKit/qt: 
      
      * WebKit_pch.h:
      * docs/qtwebkit.qdocconf:
        - Point to JavaScriptCore in its new location.
      
      WebKit/win: 
      
      * WebKit.vcproj/WebKit.sln:
        - Point to JavaScriptCore in its new location.
      
      WebKit/wx: 
      
      * bindings/python/wscript:
      * wscript:
        - Point to JavaScriptCore in its new location.
      
      WebKit2: 
      
      * WebKit2.pro:
        - Point to JavaScriptCore in its new location.
      
      Websites/bugs.webkit.org: 
      
      * PrettyPatch/PrettyPatch.rb:
        - Remove reference to JavaScriptCore as a source directory.
      
      Websites/webkit.org: 
      
      * coding/assertion-guidelines.html:
        - Update documentation to point to the new location of
          JavaScriptCore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76da8fc1
  8. 30 Dec, 2010 2 commits
    • mihaip@chromium.org's avatar
      2010-12-30 Mihai Parparita <mihaip@chromium.org> · 593f7720
      mihaip@chromium.org authored
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
              https://bugs.webkit.org/show_bug.cgi?id=51728
      
              Add implementation of the Mac WebThemeEngine that uses an NSScroller
              to render top-level scrollbars. This makes them match the Mac port's
              use of an NSScrollView, which means that we'll be able to share more
              pixel baselines.
      
              The new rendering code will not be activated until the
              USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
              ScrollbarThemeChromiumMac.
      
              * DumpRenderTree/DumpRenderTree.gypi:
              * DumpRenderTree/chromium/TestShellMac.mm:
              (platformInit):
              * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
              * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
              (+[FakeActiveWindow alwaysActiveWindow]):
              (+[FakeActiveWindow alwaysInactiveWindow]):
              (-[FakeActiveWindow initWithActiveControls:]):
              (-[FakeActiveWindow _hasActiveControls]):
              (WebThemeEngineDRTMac::paintScrollbarThumb):
              (stateToHIEnableState):
              (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
              (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
      2010-12-30  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
              https://bugs.webkit.org/show_bug.cgi?id=51728
      
              Roll DEPS to pick up WebThemeEngine changes.
      
              * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      593f7720
    • pfeldman@chromium.org's avatar
      2010-12-29 Pavel Feldman <pfeldman@chromium.org> · 075ed242
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: extract Database & DOM Storage agents; remove InspectorBackend.
              https://bugs.webkit.org/show_bug.cgi?id=51707
      
              This change brushes up storage agents + removes redundant InspectorBackend class.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::databaseForId):
              (WebCore::InjectedScriptHost::selectDatabase):
              (WebCore::InjectedScriptHost::selectDOMStorage):
              (WebCore::InjectedScriptHost::inspectorDOMAgent):
              * inspector/Inspector.idl:
              * inspector/InspectorBackend.cpp: Removed.
              * inspector/InspectorBackend.h: Removed.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::~InspectorController):
              (WebCore::InspectorController::connectFrontend):
              (WebCore::InspectorController::releaseFrontendLifetimeAgents):
              (WebCore::InspectorController::didUseDOMStorage):
              (WebCore::InspectorController::setInjectedScriptSource):
              (WebCore::InspectorController::dispatchOnInjectedScript):
              (WebCore::InspectorController::releaseWrapperObjectGroup):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMStorageAgent.cpp: Added.
              (WebCore::InspectorDOMStorageAgent::~InspectorDOMStorageAgent):
              (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
              (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::selectDOMStorage):
              (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
              (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
              * inspector/InspectorDOMStorageAgent.h: Copied from WebCore/inspector/InspectorStorageAgent.h.
              (WebCore::InspectorDOMStorageAgent::create):
              (WebCore::InspectorDOMStorageAgent::frontend):
              * inspector/InspectorDatabaseAgent.cpp: Renamed from WebCore/inspector/InspectorStorageAgent.cpp.
              (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
              (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
              (WebCore::InspectorDatabaseAgent::executeSQL):
              (WebCore::InspectorDatabaseAgent::databaseForId):
              (WebCore::InspectorDatabaseAgent::selectDatabase):
              (WebCore::InspectorDatabaseAgent::clearFrontend):
              (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
              * inspector/InspectorDatabaseAgent.h: Renamed from WebCore/inspector/InspectorStorageAgent.h.
              (WebCore::InspectorDatabaseAgent::create):
              (WebCore::InspectorDatabaseAgent::frontend):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
              (WebInspector.ScriptsPanel.prototype.attachDebuggerWhenShown):
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      075ed242
  9. 29 Dec, 2010 4 commits
    • pfeldman@chromium.org's avatar
      2010-12-29 Pavel Feldman <pfeldman@chromium.org> · 72ec867e
      pfeldman@chromium.org authored
              Not reviewed: revert r74755 and 74757.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72ec867e
    • pfeldman@chromium.org's avatar
      2010-12-29 Pavel Feldman <pfeldman@chromium.org> · 1c50cf22
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: extract Database & DOM Storage
              agents; remove InspectorBackend.
              https://bugs.webkit.org/show_bug.cgi?id=51707
      
              This change brushes up storage agents + removes redundant
              InspectorBackend class.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::databaseForId):
              (WebCore::InjectedScriptHost::selectDatabase):
              (WebCore::InjectedScriptHost::selectDOMStorage):
              (WebCore::InjectedScriptHost::inspectorDOMAgent):
              * inspector/Inspector.idl:
              * inspector/InspectorBackend.cpp: Removed.
              * inspector/InspectorBackend.h: Removed.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::~InspectorController):
              (WebCore::InspectorController::connectFrontend):
              (WebCore::InspectorController::releaseFrontendLifetimeAgents):
              (WebCore::InspectorController::didUseDOMStorage):
              (WebCore::InspectorController::setInjectedScriptSource):
              (WebCore::InspectorController::dispatchOnInjectedScript):
              (WebCore::InspectorController::releaseWrapperObjectGroup):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMStorageAgent.cpp: Added.
              (WebCore::InspectorDOMStorageAgent::~InspectorDOMStorageAgent):
              (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
              (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::selectDOMStorage):
              (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
              (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
              * inspector/InspectorDOMStorageAgent.h: Copied from WebCore/inspector/InspectorStorageAgent.h.
              (WebCore::InspectorDOMStorageAgent::create):
              (WebCore::InspectorDOMStorageAgent::frontend):
              * inspector/InspectorDatabaseAgent.cpp: Renamed from WebCore/inspector/InspectorStorageAgent.cpp.
              (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
              (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
              (WebCore::InspectorDatabaseAgent::executeSQL):
              (WebCore::InspectorDatabaseAgent::databaseForId):
              (WebCore::InspectorDatabaseAgent::selectDatabase):
              (WebCore::InspectorDatabaseAgent::clearFrontend):
              (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
              * inspector/InspectorDatabaseAgent.h: Renamed from WebCore/inspector/InspectorStorageAgent.h.
              (WebCore::InspectorDatabaseAgent::create):
              (WebCore::InspectorDatabaseAgent::frontend):
              * inspector/InspectorFrontendClientLocal.cpp:
              * inspector/InspectorFrontendClientLocal.h:
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c50cf22
    • commit-queue@webkit.org's avatar
      2010-12-29 Sheriff Bot <webkit.review.bot@gmail.com> · 9bb585bb
      commit-queue@webkit.org authored
              Unreviewed, rolling out r74735.
              http://trac.webkit.org/changeset/74735
              https://bugs.webkit.org/show_bug.cgi?id=51715
      
              assert failures on fast/forms/input-maxlength-ime-
              completed.html (Requested by mihaip on #webkit).
      
              * platform/chromium/test_expectations.txt:
      2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r74735.
              http://trac.webkit.org/changeset/74735
              https://bugs.webkit.org/show_bug.cgi?id=51715
      
              assert failures on fast/forms/input-maxlength-ime-
              completed.html (Requested by mihaip on #webkit).
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::setMarkedText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bb585bb
    • commit-queue@webkit.org's avatar
      2010-12-29 Zhe Su <suzhe@chromium.org> · 6ea684c5
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove entry for editing/input/ime-composition-clearpreedit.html test.
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * platform/chromium/test_expectations.txt:
      2010-12-29  Zhe Su  <suzhe@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix editing/input/ime-composition-clearpreedit.html test in chromium
              by removing the line "editor->confirmComposition(text);" from
              WebFrameImpl::setMarkedText() method, because that line will insert the
              text into the focused node, which is apparently wrong.
      
              https://bugs.webkit.org/show_bug.cgi?id=51693
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::setMarkedText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ea684c5
  10. 28 Dec, 2010 1 commit
    • zmo@google.com's avatar
      2010-12-23 Zhenyao Mo <zmo@google.com> · 5ae3f683
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
              (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
              * src/GraphicsContext3DInternal.h:
      2010-12-23  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * html/canvas/WebGLFramebuffer.cpp: Track width/height/internalFormat of color buffer.
              (WebCore::WebGLFramebuffer::WebGLFramebuffer):
              (WebCore::WebGLFramebuffer::setAttachment):
              (WebCore::WebGLFramebuffer::getWidth):
              (WebCore::WebGLFramebuffer::getHeight):
              (WebCore::WebGLFramebuffer::getColorBufferFormat):
              * html/canvas/WebGLFramebuffer.h:
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::copyTexImage2D): Initialize undefined pixels to 0.
              (WebCore::WebGLRenderingContext::copyTexSubImage2D):
              (WebCore::WebGLRenderingContext::framebufferTexture2D):
              (WebCore::WebGLRenderingContext::renderbufferStorage):
              (WebCore::WebGLRenderingContext::getBoundFramebufferWidth):
              (WebCore::WebGLRenderingContext::getBoundFramebufferHeight):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLTexture.cpp: Track width/height/internalFormat of a texture by target/level.
              (WebCore::WebGLTexture::getInternalFormat):
              (WebCore::WebGLTexture::getWidth):
              (WebCore::WebGLTexture::getHeight):
              (WebCore::WebGLTexture::mapTargetToIndex):
              (WebCore::WebGLTexture::getLevelInfo):
              * html/canvas/WebGLTexture.h:
              (WebCore::WebGLTexture::isTexture):
              * platform/graphics/GraphicsContext3D.h: Add getInternalFramebufferSize() function.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::getInternalFramebufferSize):
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              (WebCore::GraphicsContext3D::getInternalFramebufferSize):
      2010-12-23  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              Initialize to 0 for undefined values in CopyTexImage2D
              https://bugs.webkit.org/show_bug.cgi?id=51421
      
              * fast/canvas/webgl/uninitialized-test-expected.txt: Add test cases for copyTexImage2D.
              * fast/canvas/webgl/uninitialized-test.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ae3f683
  11. 23 Dec, 2010 7 commits
    • kbr@google.com's avatar
      2010-12-23 Sheriff Bot <webkit.review.bot@gmail.com> · 840b45da
      kbr@google.com authored
              Unreviewed, rolling out r74561.
              http://trac.webkit.org/changeset/74561
              https://bugs.webkit.org/show_bug.cgi?id=51565
      
              "Broke Chromium UI tests on Vista" (Requested by kbr_google on
              #webkit).
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
      2010-12-23  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r74561.
              http://trac.webkit.org/changeset/74561
              https://bugs.webkit.org/show_bug.cgi?id=51565
      
              "Broke Chromium UI tests on Vista" (Requested by kbr_google on
              #webkit).
      
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerChromium::updateContentsIfDirty):
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              (WebCore::GraphicsContext3D::getImageData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      840b45da
    • mihaip@chromium.org's avatar
      2010-12-23 Mihai Parparita <mihaip@chromium.org> · 932c7635
      mihaip@chromium.org authored
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
              https://bugs.webkit.org/show_bug.cgi?id=51507
      
              Adds WebThemeEngine for the Mac (it already has parallel definitions for
              Windows and Linux) so that scrollbar thumb rendering can be overridden
              for the DRT (to be consistent with the NSScroller-based rendering
              used by the Mac port).
      
              No new tests since the functionality is not exposed yet. Eventually will
              result in the Chromium/Mac port being able to use the same pixel
              baselines for layout tests as the Mac port.
      
              * platform/chromium/ChromiumBridge.h:
              * platform/chromium/ScrollbarThemeChromiumMac.mm:
              (WebCore::scrollbarStateToThemeState):
              (WebCore::ScrollbarThemeChromiumMac::paint):
      2010-12-23  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Kent Tamura.
      
              [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
              https://bugs.webkit.org/show_bug.cgi?id=51507
      
              Adds WebThemeEngine for the Mac (it already has parallel definitions for
              Windows and Linux) so that scrollbar thumb rendering can be overridden
              for the DRT (to be consistent with the NSScroller-based rendering
              used by the Mac port).
      
              * public/mac/WebThemeEngine.h: Added.
              (WebKit::WebThemeEngine::paintScrollbarThumb):
              * src/AssertMatchingEnums.cpp:
              * src/ChromiumBridge.cpp:
              (WebCore::ChromiumBridge::paintScrollbarThumb):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      932c7635
    • weinig@apple.com's avatar
      Fix build. · e974154a
      weinig@apple.com authored
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::didSaveToPageCache):
      (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e974154a
    • weinig@apple.com's avatar
      WebKit2 needs to mirror the frame tree in the UIProcess · e3043f45
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=51546
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * history/CachedFrame.cpp:
      (WebCore::CachedFrameBase::restore):
      (WebCore::CachedFrame::CachedFrame):
      * history/CachedFrame.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::didSaveToPageCache):
      (WebCore::EmptyFrameLoaderClient::didRestoreFromPageCache):
      * loader/FrameLoaderClient.h:
      
      WebKit/chromium: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache):
      (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache):
      * src/FrameLoaderClientImpl.h:
      
      WebKit/efl: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::didSaveToPageCache):
      (WebCore::FrameLoaderClientEfl::didRestoreFromPageCache):
      * WebCoreSupport/FrameLoaderClientEfl.h:
      
      WebKit/gtk: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::didSaveToPageCache):
      (WebKit::FrameLoaderClient::didRestoreFromPageCache):
      * WebCoreSupport/FrameLoaderClientGtk.h:
      
      WebKit/haiku: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/FrameLoaderClientHaiku.cpp:
      (WebCore::FrameLoaderClientHaiku::didSaveToPageCache):
      (WebCore::FrameLoaderClientHaiku::didRestoreFromPageCache):
      * WebCoreSupport/FrameLoaderClientHaiku.h:
      
      WebKit/mac: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::didSaveToPageCache):
      (WebFrameLoaderClient::didRestoreFromPageCache):
      
      WebKit/qt: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::didSaveToPageCache):
      (WebCore::FrameLoaderClientQt::didRestoreFromPageCache):
      * WebCoreSupport/FrameLoaderClientQt.h:
      
      WebKit/win: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::didSaveToPageCache):
      (WebFrameLoaderClient::didRestoreFromPageCache):
      * WebCoreSupport/WebFrameLoaderClient.h:
      
      WebKit/wince: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      (WebKit::FrameLoaderClientWinCE::didSaveToPageCache):
      (WebKit::FrameLoaderClientWinCE::didRestoreFromPageCache):
      * WebCoreSupport/FrameLoaderClientWinCE.h:
      
      WebKit/wx: 
      
      - Add client functions to notify that a frame has been added or
        removed from the page cache.
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      (WebCore::FrameLoaderClientWx::didSaveToPageCache):
      (WebCore::FrameLoaderClientWx::didRestoreFromPageCache):
      * WebKitSupport/FrameLoaderClientWx.h:
      
      WebKit2: 
      
      * UIProcess/API/C/WKFrame.cpp:
      (WKFrameCopyChildFrames):
      * UIProcess/API/C/WKFrame.h:
      Add API to get the child frames of a frame.
      
      * UIProcess/WebFrameProxy.cpp:
      (WebKit::WebFrameProxy::WebFrameProxy):
      (WebKit::WebFrameProxy::disconnect):
      (WebKit::WebFrameProxy::appendChild):
      (WebKit::WebFrameProxy::removeChild):
      (WebKit::WebFrameProxy::isDescendantOf):
      (WebKit::WebFrameProxy::dumpFrameTree):
      (WebKit::WebFrameProxy::didRemoveFromHierarchy):
      (WebKit::WebFrameProxy::childFrames):
      * UIProcess/WebFrameProxy.h:
      (WebKit::WebFrameProxy::parentFrame): Add getter.
      (WebKit::WebFrameProxy::nextSibling): Add getter.
      (WebKit::WebFrameProxy::previousSibling): Add getter.
      (WebKit::WebFrameProxy::firstChild): Add getter.
      (WebKit::WebFrameProxy::lastChild): Add getter.
      Make frames keep track of their subframes.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::didCreateSubframe):
      Use the now passed parentID to insert the frame into the hierarchy
      
      (WebKit::WebPageProxy::didSaveFrameToPageCache):
      When a frame is added to the page cache, remove it from the hierarchy.
      
      (WebKit::WebPageProxy::didRestoreFrameFromPageCache):
      When a frame is restored from the page cache, add it back to the hierarchy.
      
      (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
      Detached frames should also be removed from the hierarchy.
      
      * UIProcess/WebPageProxy.h:
      Add new declarations for didSaveFrameToPageCache and didRestoreFrameFromPageCache.
      
      * UIProcess/WebPageProxy.messages.in:
      Add messages for DidSaveFrameToPageCache and DidRestoreFrameFromPageCache.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::savePlatformDataToCachedFrame): 
      (WebKit::WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
      Remove notImplemented, there is no work we need to do here.
      
      (WebKit::WebFrameLoaderClient::didSaveToPageCache): 
      (WebKit::WebFrameLoaderClient::didRestoreFromPageCache):
      Send message to UIProcess to indicate this happened.
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::createSubframe):
      Send parent frameID in addition to our own in the message to UIProcess.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3043f45
    • enne@google.com's avatar
      2010-12-20 Adrienne Walker <enne@google.com> · da8e8a95
      enne@google.com authored
              Reviewed by Kenneth Russell.
      
              [chromium] Tile root layer of the compositor.
              https://bugs.webkit.org/show_bug.cgi?id=49947
      
              Refactor root layer update and drawing from LayerRendererChromium into
              LayerTilerChromium.  The root layer is now drawn as multiple tiles
              rather than as one single large texture.  Scrollbars are now drawn
              separately rather than as part of the root layer.
      
              Test: LayoutTests/compositing/
      
              * WebCore.gypi:
              * page/FrameView.cpp:
              (WebCore::FrameView::repaintContentRectangle):
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::setClipsRepaints):
              * platform/ScrollView.h:
              (WebCore::ScrollView::clipsRepaints):
              * platform/graphics/chromium/LayerChromium.h:
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              (WebCore::LayerRendererChromium::~LayerRendererChromium):
              (WebCore::LayerRendererChromium::useShader):
              (WebCore::LayerRendererChromium::verticalScrollbarRect):
              (WebCore::LayerRendererChromium::horizontalScrollbarRect):
              (WebCore::LayerRendererChromium::invalidateRootLayerRect):
              (WebCore::LayerRendererChromium::updateAndDrawRootLayer):
              (WebCore::LayerRendererChromium::drawLayers):
              (WebCore::LayerRendererChromium::setRootLayer):
              (WebCore::LayerRendererChromium::initializeSharedObjects):
              (WebCore::LayerRendererChromium::cleanupSharedObjects):
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/LayerTilerChromium.cpp: Added.
              (WebCore::LayerTilerChromium::create):
              (WebCore::LayerTilerChromium::LayerTilerChromium):
              (WebCore::LayerTilerChromium::~LayerTilerChromium):
              (WebCore::LayerTilerChromium::layerRendererContext):
              (WebCore::LayerTilerChromium::setTileSize):
              (WebCore::LayerTilerChromium::reset):
              (WebCore::LayerTilerChromium::createTile):
              (WebCore::LayerTilerChromium::invalidateTiles):
              (WebCore::LayerTilerChromium::contentRectToTileIndices):
              (WebCore::LayerTilerChromium::contentRectToLayerRect):
              (WebCore::LayerTilerChromium::layerRectToContentRect):
              (WebCore::LayerTilerChromium::tileIndex):
              (WebCore::LayerTilerChromium::tileContentRect):
              (WebCore::LayerTilerChromium::tileLayerRect):
              (WebCore::LayerTilerChromium::invalidateRect):
              (WebCore::LayerTilerChromium::invalidateEntireLayer):
              (WebCore::LayerTilerChromium::update):
              (WebCore::LayerTilerChromium::setLayerPosition):
              (WebCore::LayerTilerChromium::draw):
              (WebCore::LayerTilerChromium::resizeLayer):
              (WebCore::LayerTilerChromium::growLayerToContain):
              (WebCore::LayerTilerChromium::Tile::~Tile):
              (WebCore::LayerTilerChromium::Tile::releaseTextureId):
              * platform/graphics/chromium/LayerTilerChromium.h: Added.
              (WebCore::LayerTilerChromium::Tile::Tile):
              (WebCore::LayerTilerChromium::Tile::textureId):
              (WebCore::LayerTilerChromium::Tile::dirty):
              (WebCore::LayerTilerChromium::Tile::clearDirty):
              (WebCore::LayerTilerChromium::layerRenderer):
      2010-12-20  Adrienne Walker  <enne@google.com>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Tile root layer of the compositor.
              https://bugs.webkit.org/show_bug.cgi?id=49947
      
              Refactor root layer logic out of WebViewImpl and into
              LayerTilerChromium.  The painting is now done through an interface
              rather than directly in WebViewImpl.
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::scrollRootLayerRect):
              (WebKit::WebViewImpl::invalidateRootLayerRect):
              (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
              (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface):
              (WebKit::WebViewImplTilePaintInterface::paint):
              (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface):
              (WebKit::WebViewImplScrollbarPaintInterface::paint):
              (WebKit::WebViewImpl::doComposite):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da8e8a95
    • rniwa@webkit.org's avatar
      2010-12-22 Ryosuke Niwa <rniwa@webkit.org> · bfb682fd
      rniwa@webkit.org authored
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::executeCommand):
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleKeyboardEvent):
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * WebView/WebFrame.mm:
              (-[WebFrame _rangeByAlteringCurrentSelection:SelectionController::direction:granularity:]):
              Takes SelectionDirection instead of SelectionController::EDirection.
              * WebView/WebFrameInternal.h:
              * WebView/WebTextCompletionController.mm:
              (-[WebTextCompletionController doCompletion]): Calls _rangeByAlteringCurrentSelection:SelectionController.
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * WebCoreSupport/EditorClientHaiku.cpp:
              (WebCore::EditorClientHaiku::handleKeyboardEvent):
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * WebCoreSupport/EditorClientWinCE.cpp:
              (WebKit::EditorClientWinCE::handleEditingKeyboardEvent):
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Renamed SelectionController::EDirection to SelectionDirection.
      
              * WebCoreSupport/EditorClientEfl.cpp:
              (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
      2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Editor.h doesn't need to include SelectionController.h
              https://bugs.webkit.org/show_bug.cgi?id=51441
      
              Removed #include <Selection.h> from Editor.h.
              Also extracted WritingDirection.h from EditingStyle.h and renamed SelectionController::EDirection
              to SelectionDirection and moved its declaration from SelectionController.h to VisibleSelection.h
      
              * WebCore.exp.in: Signature changes.
              * WebCore.xcodeproj/project.pbxproj: Added WritingDirection.h
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::visiblePositionRangeForLine): Change due to SelectionDirection.
              * editing/EditingStyle.h: Removed WritingDirection and included WritingDirection.h
              * editing/Editor.cpp:
              (WebCore::Editor::deleteWithDirection): Change due to SelectionDirection.
              (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Ditto.
              (WebCore::Editor::markMisspellingsAfterTypingToWord): Ditto.
              * editing/Editor.h: Removed SelectionController.h; added DocumentMarker.h, Timer.h, VisibleSelection.h
              and WritingDirection.h; forward declared CSSMutableStyleDeclaration.
              * editing/EditorCommand.cpp:
              (WebCore::executeDeleteBackward): Change due to SelectionDirection.
              (WebCore::executeDeleteBackwardByDecomposingPreviousCharacter): Ditto.
              (WebCore::executeDeleteForward): Ditto.
              (WebCore::executeDeleteToBeginningOfLine): Ditto.
              (WebCore::executeDeleteToBeginningOfParagraph): Ditto.
              (WebCore::executeDeleteToEndOfLine): Ditto.
              (WebCore::executeDeleteToEndOfParagraph): Ditto.
              (WebCore::executeDeleteWordBackward): Ditto.
              (WebCore::executeDeleteWordForward): Ditto.
              (WebCore::executeForwardDelete): Ditto.
              (WebCore::executeMoveBackward): Ditto.
              (WebCore::executeMoveBackwardAndModifySelection): Ditto.
              (WebCore::executeMoveDown): Ditto.
              (WebCore::executeMoveDownAndModifySelection): Ditto.
              (WebCore::executeMoveForward): Ditto.
              (WebCore::executeMoveForwardAndModifySelection): Ditto.
              (WebCore::executeMoveLeft): Ditto.
              (WebCore::executeMoveLeftAndModifySelection): Ditto.
              (WebCore::executeMoveRight): Ditto.
              (WebCore::executeMoveRightAndModifySelection): Ditto.
              (WebCore::executeMoveToBeginningOfDocument): Ditto.
              (WebCore::executeMoveToBeginningOfDocumentAndModifySelection): Ditto.
              (WebCore::executeMoveToBeginningOfLine): Ditto.
              (WebCore::executeMoveToBeginningOfLineAndModifySelection): Ditto.
              (WebCore::executeMoveToBeginningOfParagraph): Ditto.
              (WebCore::executeMoveToBeginningOfParagraphAndModifySelection): Ditto.
              (WebCore::executeMoveToBeginningOfSentence): Ditto.
              (WebCore::executeMoveToBeginningOfSentenceAndModifySelection): Ditto.
              (WebCore::executeMoveToEndOfDocument): Ditto.
              (WebCore::executeMoveToEndOfDocumentAndModifySelection): Ditto.
              (WebCore::executeMoveToEndOfSentence): Ditto.
              (WebCore::executeMoveToEndOfSentenceAndModifySelection): Ditto.
              (WebCore::executeMoveToEndOfLine): Ditto.
              (WebCore::executeMoveToEndOfLineAndModifySelection): Ditto.
              (WebCore::executeMoveToEndOfParagraph): Ditto.
              (WebCore::executeMoveToEndOfParagraphAndModifySelection): Ditto.
              (WebCore::executeMoveParagraphBackwardAndModifySelection): Ditto.
              (WebCore::executeMoveParagraphForwardAndModifySelection): Ditto.
              (WebCore::executeMoveUp): Ditto.
              (WebCore::executeMoveUpAndModifySelection): Ditto.
              (WebCore::executeMoveWordBackward): Ditto.
              (WebCore::executeMoveWordBackwardAndModifySelection): Ditto.
              (WebCore::executeMoveWordForward): Ditto.
              (WebCore::executeMoveWordForwardAndModifySelection): Ditto.
              (WebCore::executeMoveWordLeft): Ditto.
              (WebCore::executeMoveWordLeftAndModifySelection): Ditto.
              (WebCore::executeMoveWordRight): Ditto.
              (WebCore::executeMoveWordRightAndModifySelection): Ditto.
              (WebCore::executeMoveToLeftEndOfLine): Ditto.
              (WebCore::executeMoveToLeftEndOfLineAndModifySelection): Ditto.
              (WebCore::executeMoveToRightEndOfLine): Ditto.
              (WebCore::executeMoveToRightEndOfLineAndModifySelection): Ditto.
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::willBeModified): Takes SelectionDirection instead of EDirection.
              (WebCore::SelectionController::modify): Ditto.
              * editing/SelectionController.h: Change due to SelectionDirection.
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::deleteKeyPressed): Ditto.
              (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto.
              * editing/VisibleSelection.h: Added SelectionDirection, renamed and moved from EDirection
              in SelectionController.h
              * editing/WritingDirection.h: Added.
              * page/DOMSelection.cpp:
              (WebCore::DOMSelection::modify): Change due to SelectionDirection.
              (WebCore::DOMSelection::deleteFromDocument): Ditto.
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleKeyboardSelectionMovement): Ditto.
              * page/Frame.h: Includes SelectionController.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfb682fd
    • commit-queue@webkit.org's avatar
      2010-12-23 W. James MacLean <wjmaclean@chromium.org> · e0ef7cd5
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
              https://bugs.webkit.org/show_bug.cgi?id=51186
      
              No new tests. Behaviour not changed, but need the asserts to detect when assumptions violated.
      
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerChromium::updateContentsIfDirty):
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              (WebCore::GraphicsContext3D::getImageData):
      2010-12-23  W. James MacLean  <wjmaclean@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
              https://bugs.webkit.org/show_bug.cgi?id=51186
      
              Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0ef7cd5
  12. 22 Dec, 2010 2 commits
  13. 21 Dec, 2010 1 commit
    • zmo@google.com's avatar
      2010-12-21 Zhenyao Mo <zmo@google.com> · bc8eb1a4
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              WebGLRenderingContext needs to zero textures and renderbuffers
              https://bugs.webkit.org/show_bug.cgi?id=49355
      
              * src/WebGraphicsContext3DDefaultImpl.cpp:
              (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
      2010-12-21  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              WebGLRenderingContext needs to zero textures and renderbuffers
              https://bugs.webkit.org/show_bug.cgi?id=49355
      
              Test: fast/canvas/webgl/uninitialized-test.html
      
              * html/canvas/WebGLFramebuffer.cpp:
              (WebCore::WebGLFramebuffer::onAccess): Use a parameter to decide if renderbuffer initialization is needed.
              (WebCore::WebGLFramebuffer::initializeRenderbuffers): Don't return false if color buffer doesn't exist.
              * html/canvas/WebGLFramebuffer.h: Modify onAccess with an added parameter.
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::clear): Call onAccess with an added parameter.
              (WebCore::WebGLRenderingContext::copyTexImage2D): Ditto.
              (WebCore::WebGLRenderingContext::copyTexSubImage2D): Ditto.
              (WebCore::WebGLRenderingContext::drawArrays): Ditto.
              (WebCore::WebGLRenderingContext::drawElements): Ditto.
              (WebCore::WebGLRenderingContext::readPixels): Ditto.
              (WebCore::WebGLRenderingContext::texImage2DBase): Create buffer data of 0s if input is null to initialize textures.
              * platform/graphics/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3D::texImage2DResourceSafe): Helper function that initialize all pixels to 0.
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
              (WebCore::Canvas2DLayerChromium::updateContentsIfDirty): Use texImage2DResourceSafe.
              * platform/graphics/chromium/DrawingBufferChromium.cpp:
              (WebCore::generateColorTexture): Ditto.
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::prepareToDrawLayers): Ditto.
              * platform/graphics/chromium/TextureManager.cpp:
              (WebCore::TextureManager::requestTexture): Ditto.
              * platform/graphics/chromium/VideoLayerChromium.cpp:
              (WebCore::VideoLayerChromium::allocateTexture): Ditto.
              * platform/graphics/gpu/DrawingBuffer.cpp:
              (WebCore::DrawingBuffer::reset): Use texImage2DResourceSafe; also, only initialize depth/stencil buffer.
              * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
              (WebCore::SharedGraphicsContext3D::texImage2D): Use texImage2DResourceSafe.
              * platform/graphics/gpu/Texture.cpp:
              (WebCore::Texture::create): Ditto.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
      2010-12-21  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              WebGLRenderingContext needs to zero textures and renderbuffers
              https://bugs.webkit.org/show_bug.cgi?id=49355
      
              * fast/canvas/webgl/uninitialized-test-expected.txt: Added.
              * fast/canvas/webgl/uninitialized-test.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc8eb1a4
  14. 20 Dec, 2010 1 commit
    • andreip@google.com's avatar
      2010-12-20 Andrei Popescu <andreip@google.com> · 0837fabb
      andreip@google.com authored
              Reviewed by Jeremy Orlow.
      
              IDBCursor::delete is not implemented.
              https://bugs.webkit.org/show_bug.cgi?id=51110
      
              * storage/indexeddb/cursor-delete-expected.txt: Added.
              * storage/indexeddb/cursor-delete.html: Added.
              * storage/indexeddb/cursor-index-delete-expected.txt: Added.
              * storage/indexeddb/cursor-index-delete.html: Added.
      2010-12-20  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Jeremy Orlow.
      
              IDBCursor::delete is not implemented.
              https://bugs.webkit.org/show_bug.cgi?id=51110
      
              Implement IDBCursor::delete.
              See http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBCursor-delete
      
              Tests: storage/indexeddb/cursor-delete.html
                     storage/indexeddb/cursor-index-delete.html
      
              * storage/IDBCursor.cpp:
              (WebCore::IDBCursor::deleteFunction):
              * storage/IDBCursor.h:
              * storage/IDBCursor.idl:
              * storage/IDBCursorBackendImpl.cpp:
              (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
              (WebCore::IDBCursorBackendImpl::deleteFunction):
              (WebCore::IDBCursorBackendImpl::loadCurrentRow):
              * storage/IDBCursorBackendImpl.h:
              (WebCore::IDBCursorBackendImpl::create):
              * storage/IDBCursorBackendInterface.h:
              * storage/IDBIndexBackendImpl.cpp:
              (WebCore::IDBIndexBackendImpl::openCursorInternal):
              * storage/IDBKey.cpp:
              (WebCore::IDBKey::fromQuery):
              * storage/IDBObjectStoreBackendImpl.cpp:
              (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
              (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
      2010-12-20  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Jeremy Orlow.
      
              IDBCursor::delete is not implemented.
              https://bugs.webkit.org/show_bug.cgi?id=51110
      
              * public/WebIDBCursor.h:
              (WebKit::WebIDBCursor::remove):
              (WebKit::WebIDBCursor::deleteFunction):
              * src/IDBCursorBackendProxy.cpp:
              (WebCore::IDBCursorBackendProxy::deleteFunction):
              * src/IDBCursorBackendProxy.h:
              * src/WebIDBCursorImpl.cpp:
              (WebKit::WebIDBCursorImpl::deleteFunction):
              * src/WebIDBCursorImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0837fabb
  15. 18 Dec, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-12-18 Tony Gentilcore <tonyg@chromium.org> · 64d18d9b
      tonyg@chromium.org authored
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              * fast/dom/Window/window-properties-performance-expected.txt:
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkTimingWhileDeferred):
              (checkWebTimingOnDOMContentLoaded):
              (checkWebTimingWhileAsync):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-document-open-expected.txt:
              * fast/dom/webtiming-expected.txt:
              * fast/dom/webtiming-navigate-within-document-expected.txt:
      2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              See: http://test.w3.org/webperf/specs/NavigationTiming/#nt-dom-content-event-start
      
              * dom/Document.cpp:
              (WebCore::Document::finishedParsing):
              * dom/DocumentTiming.h:
              (WebCore::DocumentTiming::DocumentTiming):
              * page/PerformanceTiming.cpp:
              (WebCore::PerformanceTiming::domContentLoadedEventStart):
              (WebCore::PerformanceTiming::domContentLoadedEventEnd):
              * page/PerformanceTiming.h:
              * page/PerformanceTiming.idl:
      2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Laszlo Gombos.
      
              [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
              https://bugs.webkit.org/show_bug.cgi?id=50943
      
              Exposes all dom* times to the chromium port. I'm particularly interested in
              domContentLoadedEventEnd as it compares to the FinishDoc metric.
      
              * public/WebPerformance.h:
              * src/WebPerformance.cpp:
              (WebKit::WebPerformance::domLoading):
              (WebKit::WebPerformance::domInteractive):
              (WebKit::WebPerformance::domContentLoadedEventStart):
              (WebKit::WebPerformance::domContentLoadedEventEnd):
              (WebKit::WebPerformance::domComplete):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64d18d9b
  16. 17 Dec, 2010 5 commits
  17. 16 Dec, 2010 1 commit