1. 23 Sep, 2011 7 commits
  2. 22 Sep, 2011 3 commits
    • commit-queue@webkit.org's avatar
      Unreviewed. Rolled DEPS. · aaef6c44
      commit-queue@webkit.org authored
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-22
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaef6c44
    • jamesr@google.com's avatar
      Unreviewed, rolling out r95699. · 88509332
      jamesr@google.com authored
      http://trac.webkit.org/changeset/95699
      https://bugs.webkit.org/show_bug.cgi?id=67417
      
      Makes many chromium compositor tests crash
      
      Source/WebCore:
      
      * platform/CrossThreadCopier.h:
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::~LayerRendererChromium):
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
      (WebCore::CCHeadsUpDisplay::enabled):
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::CCLayerImpl):
      (WebCore::CCLayerImpl::~CCLayerImpl):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::commitTo):
      (WebCore::CCLayerTreeHost::setNeedsRedraw):
      * platform/graphics/chromium/cc/CCLayerTreeHost.h:
      (WebCore::CCSettings::CCSettings):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
      (WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl):
      * platform/graphics/chromium/cc/CCProxy.h:
      * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
      (WebCore::CCSingleThreadProxy::finishAllRendering):
      (WebCore::CCSingleThreadProxy::setNeedsCommit):
      (WebCore::CCSingleThreadProxy::commitIfNeeded):
      * platform/graphics/chromium/cc/CCThreadProxy.cpp:
      (WebCore::CCThreadProxy::CCThreadProxy):
      (WebCore::CCThreadProxy::~CCThreadProxy):
      (WebCore::CCThreadProxy::compositeAndReadback):
      (WebCore::CCThreadProxy::finishAllRendering):
      (WebCore::CCThreadProxy::isStarted):
      (WebCore::CCThreadProxy::initializeLayerRenderer):
      (WebCore::CCThreadProxy::setNeedsCommit):
      (WebCore::CCThreadProxy::setNeedsCommitAndRedraw):
      (WebCore::CCThreadProxy::setNeedsRedraw):
      (WebCore::CCThreadProxy::start):
      (WebCore::CCThreadProxy::stop):
      (WebCore::CCThreadProxy::beginFrameAndCommitOnCCThread):
      (WebCore::CCThreadProxy::beginFrameAndCommit):
      (WebCore::CCThreadProxy::commitOnCCThread):
      (WebCore::CCThreadProxy::drawLayersOnCCThread):
      (WebCore::CCThreadProxy::setNeedsCommitOnCCThread):
      (WebCore::CCThreadProxy::setNeedsCommitAndRedrawOnCCThread):
      (WebCore::CCThreadProxy::setNeedsRedrawOnCCThread):
      * platform/graphics/chromium/cc/CCThreadProxy.h:
      
      Source/WebKit/chromium:
      
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTest::doBeginTest):
      (WTF::TEST_F):
      * tests/TreeSynchronizerTest.cpp:
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88509332
    • jamesr@google.com's avatar
      [chromium] Make CCThreadProxy draw · 25ced572
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67417
      
      Source/WebCore:
      
      Update the CCThreadProxy to correctly implement the CCProxy
      interface, do all the right committing and updating steps, and
      draw a picture on the screen.
      
      Patch by Nat Duca <nduca@chromium.org> on 2011-09-22
      Reviewed by James Robinson.
      
      * platform/graphics/IntRect.h:
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::~LayerRendererChromium):
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
      (WebCore::CCHeadsUpDisplay::enabled):
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::CCLayerImpl):
      (WebCore::CCLayerImpl::~CCLayerImpl):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::commitTo):
      (WebCore::CCLayerTreeHost::commitComplete):
      (WebCore::CCLayerTreeHost::setNeedsRedraw):
      * platform/graphics/chromium/cc/CCLayerTreeHost.h:
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
      (WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl):
      * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
      (WebCore::CCSingleThreadProxy::finishAllRendering):
      (WebCore::CCSingleThreadProxy::setNeedsCommit):
      (WebCore::CCSingleThreadProxy::commitIfNeeded):
      * platform/graphics/chromium/cc/CCThreadProxy.cpp:
      (WebCore::CCThreadProxy::CCThreadProxy):
      (WebCore::CCThreadProxy::~CCThreadProxy):
      (WebCore::CCThreadProxy::compositeAndReadback):
      (WebCore::CCThreadProxy::drawLayersAndReadbackOnCCThread):
      (WebCore::CCThreadProxy::finishAllRendering):
      (WebCore::CCThreadProxy::isStarted):
      (WebCore::CCThreadProxy::setNeedsCommit):
      (WebCore::CCThreadProxy::setNeedsCommitAndRedraw):
      (WebCore::CCThreadProxy::setNeedsRedraw):
      (WebCore::CCThreadProxy::start):
      (WebCore::CCThreadProxy::stop):
      (WebCore::CCThreadProxy::finishAllRenderingOnCCThread):
      (WebCore::CCThreadProxy::createBeginFrameAndCommitTaskOnCCThread):
      (WebCore::CCThreadProxy::beginFrameAndCommit):
      (WebCore::CCThreadProxy::commitOnCCThread):
      (WebCore::CCThreadProxy::scheduleDrawTaskOnCCThread):
      (WebCore::CCThreadProxy::drawLayersAndPresentOnCCThread):
      (WebCore::CCThreadProxy::drawLayersOnCCThread):
      (WebCore::CCThreadProxy::updateSchedulerStateOnCCThread):
      * platform/graphics/chromium/cc/CCThreadProxy.h:
      
      Source/WebKit/chromium:
      
      Disable CCLayerTreeHostTest temporarily. Will re-enable
      with https://bugs.webkit.org/show_bug.cgi?id=67418
      
      Patch by Nat Duca <nduca@chromium.org> on 2011-09-22
      Reviewed by James Robinson.
      
      * tests/CCLayerTreeHostTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25ced572
  3. 21 Sep, 2011 5 commits
  4. 20 Sep, 2011 3 commits
  5. 19 Sep, 2011 16 commits
    • ggaren@apple.com's avatar
      Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs. · 53640380
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68422
      
      Missed this one case before.
      
      * features.gypi:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53640380
    • commit-queue@webkit.org's avatar
      Ask for audio hardware buffer size instead of using hardwired constants. · 04cac329
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67952
      
      Patch by Raymond Toy <rtoy@google.com> on 2011-09-19
      Reviewed by Kenneth Russell.
      
      * public/WebKitPlatformSupport.h:
      (WebKit::WebKitPlatformSupport::audioHardwareBufferSize): Declare
      new member function audioHardwareBufferSize.
      * src/AudioDestinationChromium.cpp:
      (WebCore::AudioDestinationChromium::AudioDestinationChromium):
      Call audioHardwareBufferSize() to get buffer size; update
      m_callbackBuffersize and m_renderCountPerCallback appropriately.
      Remove global variables callbackBufferSize and
      renderCountPerCallback.  Add constant for maximum
      allowed buffer size and verify we don't exceed it.
      (WebCore::AudioDestinationChromium::render): Use new member
      variables instead of globals.
      * src/AudioDestinationChromium.h:
      Define new member variables m_callbackBufferSize and
      m_renderCountPerCallback
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04cac329
    • abarth@webkit.org's avatar
      Always enable ENABLE(EVENTSOURCE) · ff5a5ea0
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68414
      
      Reviewed by Eric Seidel.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/OptionsWinCE.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      EventSource seems to be here to stay.  This patch makes WebKit more
      hackable by removing this ENABLE macro, as discussed on webkit-dev.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * bindings/cpp/WebDOMEventTarget.cpp:
      (toWebKit):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::eventSource):
      * bindings/js/JSEventSourceCustom.cpp:
      * bindings/js/JSEventTarget.cpp:
      (WebCore::toJS):
      (WebCore::toEventTarget):
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::eventSource):
      * bindings/v8/V8DOMWrapper.cpp:
      (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
      * features.pri:
      * page/DOMWindow.idl:
      * page/EventSource.cpp:
      * page/EventSource.h:
      * page/EventSource.idl:
      * workers/WorkerContext.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/build-webkit:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff5a5ea0
    • commit-queue@webkit.org's avatar
      Suppress flakey test on windows in Chromium gesture recognizer · 9120b8ae
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68408
      
      Patch by Robert Kroeger <rjkroege@chromium.org> on 2011-09-19
      Reviewed by Adam Barth.
      
      * tests/InnerGestureRecognizerTest.cpp:
      (TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9120b8ae
    • commit-queue@webkit.org's avatar
      Expose AXObjectCache methods so that WebAccessibilityCache · 9fb154f4
      commit-queue@webkit.org authored
      can be deleted.
      https://bugs.webkit.org/show_bug.cgi?id=68225
      
      Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-19
      Reviewed by Dimitri Glazkov.
      
      This patch exposes the functionality needed from AXObjectCache
      with new methods in WebAccessibilityObject and WebDocument.
      Next, Chromium will be updated to use only these methods and
      not WebAccessibilityCache. Then, WebAccessibilityCache can be
      deleted from WebKit.
      
      * public/WebAccessibilityObject.h:
      * public/WebDocument.h:
      * src/WebAccessibilityObject.cpp:
      (WebKit::WebAccessibilityObject::enableAccessibility):
      (WebKit::WebAccessibilityObject::accessibilityEnabled):
      (WebKit::WebAccessibilityObject::axID):
      * src/WebDocument.cpp:
      (WebKit::WebDocument::accessibilityObject):
      (WebKit::WebDocument::accessibilityObjectFromID):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fb154f4
    • bbudge@chromium.org's avatar
      Perform HTTP method and header validation in AssociatedURLLoader for · a9719474
      bbudge@chromium.org authored
      requests coming from untrusted code (eg. Native Client in Chrome). Use
      the same code as XMLHttpRequest to reduce code duplication and have
      behavior identical to XHR in Javascript. Add an 'untrustedHTTP' option
      to WebURLLoaderOptions, which AssociatedURLLoader can use to determine
      if it should check the request method and headers.
      https://bugs.webkit.org/show_bug.cgi?id=67655
      
      Reviewed by Darin Fisher.
      
      * public/WebURLLoaderOptions.h:
      (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
      * src/AssociatedURLLoader.cpp:
      (WebKit::AssociatedURLLoader::ClientAdapter::setDelayedError):
      (WebKit::AssociatedURLLoader::loadAsynchronously):
      * tests/AssociatedURLLoaderTest.cpp:
      (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
      (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
      (WebKit::AssociatedURLLoaderTest::CheckFails):
      (WebKit::TEST_F):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9719474
    • abarth@webkit.org's avatar
      Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER) · 2fca7fac
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68292
      
      Reviewed by Eric Seidel.
      
      Source/WebCore: 
      
      OpenType Sanitizer is a library for sanitizing type and not a feature.
      Therefore this macro should say that we USE the library.
      
      * platform/graphics/WOFFFileFormat.cpp:
      * platform/graphics/WOFFFileFormat.h:
      * platform/graphics/mac/FontCustomPlatformData.cpp:
      (WebCore::createFontCustomPlatformData):
      * platform/graphics/opentype/OpenTypeSanitizer.cpp:
      * platform/graphics/opentype/OpenTypeSanitizer.h:
      * platform/graphics/skia/FontCustomPlatformData.cpp:
      (WebCore::createFontCustomPlatformData):
      (WebCore::FontCustomPlatformData::supportsFormat):
      
      Source/WebKit/chromium: 
      
      * features.gypi:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fca7fac
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r95385 and r95457. · edaa6a6c
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/95385
      http://trac.webkit.org/changeset/95457
      https://bugs.webkit.org/show_bug.cgi?id=68395
      
      Broke chromium browser_tests (Requested by dslomov on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-19
      
      Source/WebCore:
      
      * bindings/v8/V8DOMWindowShell.cpp:
      (WebCore::V8DOMWindowShell::disposeContextHandles):
      (WebCore::V8DOMWindowShell::initContextIfNeeded):
      * bindings/v8/V8IsolatedContext.cpp:
      (WebCore::V8IsolatedContext::V8IsolatedContext):
      (WebCore::V8IsolatedContext::destroy):
      * bindings/v8/V8IsolatedContext.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::didCreateScriptContextForFrame):
      (WebCore::EmptyFrameLoaderClient::didDestroyScriptContextForFrame):
      (WebCore::EmptyFrameLoaderClient::didCreateIsolatedScriptContext):
      * loader/FrameLoaderClient.h:
      
      Source/WebKit/chromium:
      
      * public/WebFrameClient.h:
      (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
      (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
      (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
      * src/FrameLoaderClientImpl.h:
      * tests/WebFrameTest.cpp:
      (WebKit::TEST_F):
      * tests/data/context_notifications_test.html: Removed.
      * tests/data/context_notifications_test_frame.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edaa6a6c
    • aa@chromium.org's avatar
      r95385 broke Chromium. Fix it. · afbba112
      aa@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68378
      
      Unreviewed, build fix.
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
      (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afbba112
    • jochen@chromium.org's avatar
      Unreviewed, build fix · 3a2789bc
      jochen@chromium.org authored
      It's not enough to disable clang plugins.
      
      * gyp_webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a2789bc
    • jochen@chromium.org's avatar
      [chromium] Disable clang when building chromium in WebKit · dbaef58b
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68343
      
      Reviewed by Adam Barth.
      
      * DEPS:
      * gyp_webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbaef58b
    • commit-queue@webkit.org's avatar
      [chromium] Gesture recognizer fires taptype only every other touch · 384489d5
      commit-queue@webkit.org authored
      down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
      
      Patch by Robert Kroeger <rjkroege@chromium.org> on 2011-09-19
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      The addition of doubletap detection to the gesture recognizer missed some of the
      outgoing edges in the recognizer state machine. This change simplifies the logic
      and handles all outgoing edges.
      
      * platform/chromium/GestureRecognizerChromium.cpp:
      (WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
      (WebCore::GestureRecognizerChromium::isInSecondClickTimeWindow):
      (WebCore::GestureRecognizerChromium::updateValues):
      (WebCore::GestureRecognizerChromium::touchDown):
      (WebCore::GestureRecognizerChromium::click):
      * platform/chromium/GestureRecognizerChromium.h:
      
      Source/WebKit/chromium:
      
      The addition of doubletap detection to the gesture recognizer missed some of the
      outgoing edges in the recognizer state machine. Thsi change simplifies the logic
      and handles all outgoing edges.
      
      * tests/InnerGestureRecognizerTest.cpp:
      Additional tests added to ensure that all edges in the state
      machine are accounted for.
      (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
      (SimulateAndTestFirstClick):
      (TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      384489d5
    • commit-queue@webkit.org's avatar
      TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes · 9c6e4a37
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=63541
      
      Patch by Peter Rybin <peter.rybin@gmail.com> on 2011-09-19
      Reviewed by Adam Barth.
      
      Source/JavaScriptCore:
      
      * parser/SourceProvider.h:
      (JSC::SourceProvider::startPosition):
      * wtf/text/TextPosition.h:
      (WTF::OrdinalNumber::fromZeroBasedInt):
      (WTF::OrdinalNumber::fromOneBasedInt):
      (WTF::OrdinalNumber::OrdinalNumber):
      (WTF::OrdinalNumber::zeroBasedInt):
      (WTF::OrdinalNumber::oneBasedInt):
      (WTF::OrdinalNumber::operator==):
      (WTF::OrdinalNumber::operator!=):
      (WTF::OrdinalNumber::first):
      (WTF::OrdinalNumber::beforeFirst):
      (WTF::TextPosition::TextPosition):
      (WTF::TextPosition::minimumPosition):
      (WTF::TextPosition::belowRangePosition):
      
      Source/WebCore:
      
      No new tests because this patch is not changing behavior.
      
      * bindings/js/JavaScriptCallFrame.cpp:
      (WebCore::JavaScriptCallFrame::JavaScriptCallFrame):
      * bindings/js/JavaScriptCallFrame.h:
      (WebCore::JavaScriptCallFrame::create):
      (WebCore::JavaScriptCallFrame::position):
      (WebCore::JavaScriptCallFrame::update):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::eventHandlerLineNumber):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::hasBreakpoint):
      (WebCore::ScriptDebugServer::dispatchDidParseSource):
      (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
      (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
      * bindings/js/ScriptDebugServer.h:
      * bindings/js/ScriptSourceCode.h:
      (WebCore::ScriptSourceCode::ScriptSourceCode):
      * bindings/js/StringSourceProvider.h:
      (WebCore::StringSourceProvider::create):
      (WebCore::StringSourceProvider::startPosition):
      (WebCore::StringSourceProvider::StringSourceProvider):
      * bindings/v8/ScheduledAction.cpp:
      (WebCore::ScheduledAction::ScheduledAction):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::eventHandlerPosition):
      * bindings/v8/ScriptController.h:
      * bindings/v8/ScriptEventListener.cpp:
      (WebCore::createAttributeEventListener):
      * bindings/v8/ScriptSourceCode.h:
      (WebCore::ScriptSourceCode::ScriptSourceCode):
      (WebCore::ScriptSourceCode::startPosition):
      * bindings/v8/V8LazyEventListener.cpp:
      (WebCore::V8LazyEventListener::V8LazyEventListener):
      * bindings/v8/V8LazyEventListener.h:
      (WebCore::V8LazyEventListener::create):
      * bindings/v8/V8Proxy.cpp:
      (WebCore::V8Proxy::compileScript):
      (WebCore::V8Proxy::evaluate):
      (WebCore::V8Proxy::runScript):
      * bindings/v8/V8Proxy.h:
      * bindings/v8/WorkerContextExecutionProxy.cpp:
      (WebCore::WorkerContextExecutionProxy::evaluate):
      (WebCore::WorkerContextExecutionProxy::runScript):
      * bindings/v8/WorkerContextExecutionProxy.h:
      * bindings/v8/WorkerScriptController.cpp:
      (WebCore::WorkerScriptController::evaluate):
      * dom/PendingScript.cpp:
      (WebCore::PendingScript::releaseElementAndClear):
      * dom/PendingScript.h:
      (WebCore::PendingScript::PendingScript):
      (WebCore::PendingScript::startingPosition):
      (WebCore::PendingScript::setStartingPosition):
      * dom/ScriptElement.cpp:
      (WebCore::ScriptElement::prepareScript):
      * dom/ScriptElement.h:
      * dom/ScriptableDocumentParser.h:
      * dom/ViewportArguments.cpp:
      (WebCore::parserLineNumber):
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder):
      (WebCore::HTMLDocumentParser::pumpTokenizer):
      (WebCore::HTMLDocumentParser::lineNumber):
      (WebCore::HTMLDocumentParser::textPosition):
      * html/parser/HTMLDocumentParser.h:
      * html/parser/HTMLInputStream.h:
      * html/parser/HTMLScriptRunner.cpp:
      (WebCore::HTMLScriptRunner::execute):
      (WebCore::HTMLScriptRunner::runScript):
      * html/parser/HTMLScriptRunner.h:
      * html/parser/HTMLTreeBuilder.cpp:
      (WebCore::uninitializedPositionValue1):
      (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
      (WebCore::HTMLTreeBuilder::takeScriptToProcess):
      (WebCore::HTMLTreeBuilder::processEndTag):
      (WebCore::HTMLTreeBuilder::processScriptStartTag):
      * html/parser/HTMLTreeBuilder.h:
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::buildInitiatorObject):
      * platform/text/SegmentedString.cpp:
      (WebCore::SegmentedString::currentLine):
      (WebCore::SegmentedString::currentColumn):
      (WebCore::SegmentedString::setCurrentPosition):
      * platform/text/SegmentedString.h:
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::parserLineNumber):
      * xml/XMLErrors.cpp:
      (WebCore::XMLErrors::XMLErrors):
      (WebCore::XMLErrors::handleError):
      (WebCore::XMLErrors::appendErrorMessage):
      * xml/XMLErrors.h:
      * xml/parser/MarkupTokenizerBase.h:
      (WebCore::MarkupTokenizerBase::lineNumber):
      * xml/parser/NewXMLDocumentParser.cpp:
      (WebCore::NewXMLDocumentParser::processScript):
      (WebCore::NewXMLDocumentParser::textPosition):
      (WebCore::NewXMLDocumentParser::lineNumber):
      * xml/parser/NewXMLDocumentParser.h:
      * xml/parser/XMLDocumentParser.cpp:
      (WebCore::XMLDocumentParser::pushCurrentNode):
      (WebCore::XMLDocumentParser::handleError):
      * xml/parser/XMLDocumentParser.h:
      * xml/parser/XMLDocumentParserLibxml2.cpp:
      (WebCore::PendingCallbacks::appendErrorCallback):
      (WebCore::XMLDocumentParser::XMLDocumentParser):
      (WebCore::XMLDocumentParser::doWrite):
      (WebCore::XMLDocumentParser::startElementNs):
      (WebCore::XMLDocumentParser::error):
      (WebCore::XMLDocumentParser::lineNumber):
      (WebCore::XMLDocumentParser::columnNumber):
      (WebCore::XMLDocumentParser::textPosition):
      * xml/parser/XMLDocumentParserQt.cpp:
      (WebCore::XMLDocumentParser::XMLDocumentParser):
      (WebCore::XMLDocumentParser::doWrite):
      (WebCore::XMLDocumentParser::doEnd):
      (WebCore::XMLDocumentParser::lineNumber):
      (WebCore::XMLDocumentParser::columnNumber):
      (WebCore::XMLDocumentParser::textPosition):
      (WebCore::XMLDocumentParser::parse):
      (WebCore::XMLDocumentParser::parseStartElement):
      
      Source/WebKit/chromium:
      
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::executeScript):
      (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
      (WebKit::WebFrameImpl::executeScriptAndReturnValue):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c6e4a37
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r95416. · 7d5d72f5
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/95416
      https://bugs.webkit.org/show_bug.cgi?id=68367
      
      Broke chromium-mac (Requested by beverloo on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-19
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d5d72f5
    • commit-queue@webkit.org's avatar
      Unreviewed. Rolled DEPS. · 99f71339
      commit-queue@webkit.org authored
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-19
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99f71339
    • loislo@chromium.org's avatar
      Web Inspector: extend timeline coverage. · 8c8b1d68
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68260
      
      Another place with js function call from native.
      
      Reviewed by Pavel Feldman.
      
      * src/WebDevToolsFrontendImpl.cpp:
      (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c8b1d68
  6. 17 Sep, 2011 4 commits
    • mihaip@chromium.org's avatar
      FrameLoaderClient BackForwardList-related methods are unsued · 39d6a5de
      mihaip@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68293
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * history/BackForwardListImpl.cpp:
      (WebCore::BackForwardListImpl::addItem):
      (WebCore::BackForwardListImpl::goBack):
      (WebCore::BackForwardListImpl::goForward):
      (WebCore::BackForwardListImpl::goToItem):
      (WebCore::BackForwardListImpl::setCapacity):
      * loader/EmptyClients.h:
      * loader/FrameLoaderClient.h:
      
      Source/WebKit/chromium:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * src/FrameLoaderClientImpl.cpp:
      * src/FrameLoaderClientImpl.h:
      
      Source/WebKit/efl:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      * WebCoreSupport/FrameLoaderClientEfl.h:
      
      Source/WebKit/gtk:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      * WebCoreSupport/FrameLoaderClientGtk.h:
      
      Source/WebKit/haiku:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/FrameLoaderClientHaiku.cpp:
      * WebCoreSupport/FrameLoaderClientHaiku.h:
      
      Source/WebKit/mac:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebKit.order:
      
      Source/WebKit/qt:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      * WebCoreSupport/FrameLoaderClientQt.h:
      
      Source/WebKit/win:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      * WebCoreSupport/WebFrameLoaderClient.h:
      
      Source/WebKit/wince:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      * WebCoreSupport/FrameLoaderClientWinCE.h:
      
      Source/WebKit/wx:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      * WebKitSupport/FrameLoaderClientWx.h:
      
      Source/WebKit2:
      
      Remove FrameLoaderClient methods that were added by r51629, since only
      the old (since-deleted) Android port needed them.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39d6a5de
    • aa@chromium.org's avatar
      Rework script context creation/release notifications · fdd0a491
      aa@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67828
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      * bindings/v8/V8DOMWindowShell.cpp:
      (WebCore::V8DOMWindowShell::disposeContextHandles):
      (WebCore::V8DOMWindowShell::initContextIfNeeded):
      * bindings/v8/V8IsolatedContext.cpp:
      (WebCore::V8IsolatedContext::V8IsolatedContext):
      (WebCore::V8IsolatedContext::destroy):
      * bindings/v8/V8IsolatedContext.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::didCreateScriptContext):
      (WebCore::EmptyFrameLoaderClient::willReleaseScriptContext):
      * loader/FrameLoaderClient.h:
      
      Source/WebKit/chromium:
      
      * public/WebFrameClient.h:
      (WebKit::WebFrameClient::didCreateScriptContext):
      (WebKit::WebFrameClient::didDestroyScriptContext):
      (WebKit::WebFrameClient::willReleaseScriptContext):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
      (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
      * src/FrameLoaderClientImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdd0a491
    • commit-queue@webkit.org's avatar
      [chromium]The focus of an input field inside an Iframe doesn't get cleared... · 293971ba
      commit-queue@webkit.org authored
      [chromium]The focus of an input field inside an Iframe doesn't get cleared even though clearFocusedNode is called.
      https://bugs.webkit.org/show_bug.cgi?id=68162
      
      Add a unit-test to check whether the focus of node is get cleared when clearFocusNode called.
      This test check for focus of input node inside a frame after clear focus get called.
      Patch by chandra shekar vallala <chandra.vallala@motorola.com> on 2011-09-17
      Reviewed by Adam Barth.
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::clearFocusedNode):
      * tests/WebFrameTest.cpp:
      (WebKit::TEST_F): Added a unit test to make sure that focus of the node is get cleared.
      * tests/data/autofocus_input_field_iframe.html: Added.
      * tests/data/iframe_clear_focused_node_test.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      293971ba
    • abarth@webkit.org's avatar
      Rename ENABLE(LEVELDB) to USE(LEVELDB) · c0f83c08
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68290
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      LEVELDB is a library that can be used to implemented INDEXED_DATABASE,
      which means it should be a USE not an ENABLE.
      
      * CMakeLists.txt:
      * WebCore.gyp/WebCore.gyp:
      * platform/leveldb/LevelDBComparator.h:
      * platform/leveldb/LevelDBDatabase.cpp:
      * platform/leveldb/LevelDBDatabase.h:
      * platform/leveldb/LevelDBIterator.h:
      * platform/leveldb/LevelDBSlice.h:
      * platform/leveldb/LevelDBTransaction.cpp:
      * platform/leveldb/LevelDBTransaction.h:
      * platform/leveldb/LevelDBWriteBatch.cpp:
      * platform/leveldb/LevelDBWriteBatch.h:
      * storage/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::open):
      (WebCore::IDBFactoryBackendImpl::migrateFromSQLiteToLevelDB):
      * storage/IDBLevelDBBackingStore.cpp:
      * storage/IDBLevelDBBackingStore.h:
      * storage/IDBLevelDBCoding.cpp:
      * storage/IDBLevelDBCoding.h:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * tests/IDBLevelDBCodingTest.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0f83c08
  7. 16 Sep, 2011 2 commits
    • jochen@chromium.org's avatar
      Source/WebCore: Rename FrameLoaderClient::allowImages to... · 3eb74cd7
      jochen@chromium.org authored
      Source/WebCore: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      This will allow embedders to block images based on where the image is loaded from, instead of just blocking all images in a given frame.
      
      Reviewed by Adam Barth.
      
      * html/ImageDocument.cpp:
      (WebCore::ImageDocumentParser::appendBytes):
      * loader/FrameLoaderClient.h:
      (WebCore::FrameLoaderClient::allowImage):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::requestImage):
      
      Source/WebKit/chromium: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * public/WebPermissionClient.h:
      (WebKit::WebPermissionClient::allowImage):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::allowImage):
      * src/FrameLoaderClientImpl.h:
      
      Tools: Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/WebPermissions.cpp:
      (WebPermissions::allowImage):
      * DumpRenderTree/chromium/WebPermissions.h:
      
      LayoutTests: Add tests for FrameLoaderClient::allowImage.
      https://bugs.webkit.org/show_bug.cgi?id=68071
      
      Reviewed by Adam Barth.
      
      * http/tests/permissionclient/resources/bostin.gif:
      * http/tests/permissionclient/resources/redir.php:
      * platform/chromium/permissionclient/image-permissions-expected.txt:
      * platform/chromium/permissionclient/image-permissions.html:
      * platform/http/tests/permissionclient/image-permissions-expected.txt:
      * platform/http/tests/permissionclient/image-permissions.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3eb74cd7
    • dslomov@google.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=67733 · 7e90c332
      dslomov@google.com authored
      [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
      
      Reviewed by Darin Fisher.
      
      * public/WebKit.h:
      * src/WebKit.cpp:
      (WebKit::initialize):
      (WebKit::initializeWithoutV8):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e90c332