1. 07 Jun, 2012 37 commits
  2. 06 Jun, 2012 3 commits
    • rjkroege@chromium.org's avatar
      Source/WebCore: [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Windows · ad978198
      rjkroege@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for
      m_hasPreciseScrollingDelta on all Chromium platforms and adjusting ScrollAnimator
      and ScrollAnimatorNone accordingly to let m_hasPreciseScrollingDelta == true
      force exact (non-animated) scrolling.
      
      Reviewed by James Robinson.
      
      Updated WebKit unit tests to validate change.
      
      * platform/PlatformWheelEvent.h:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent): Adjusted #ifdefs to
      make m_hasPreciseScrollingDelta available on all Chromium platforms.
      (PlatformWheelEvent):
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::handleWheelEvent): Default scroll type is set based on
      m_hasPreciseScrollingDelta value.
      * platform/ScrollAnimatorNone.cpp:
      (WebCore::ScrollAnimatorNone::scroll): Scroll precisely when necessary.
      * platform/ScrollTypes.h: Added additional pixel scrolling subtype.
      * platform/ScrollableArea.cpp:
      (WebCore::ScrollableArea::scroll): Updated for additional pixel scroll subtype.
      
      Source/WebKit/chromium: [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Windows
      https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for precise
      scrolling deltas on all Chromium platforms.
      
      Reviewed by James Robinson.
      
      * src/WebInputEventConversion.cpp:
      (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): Create PlatformWheelEvents
      with m_hasPreciseScrollingDelta flag as required.
      * tests/ScrollAnimatorNoneTest.cpp: Added new unit test condiiton for precise scrolling.
      (TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad978198
    • commit-queue@webkit.org's avatar
      [chromium] Stop dropping texture limits when the layer tree host becomes... · 1db77522
      commit-queue@webkit.org authored
      [chromium] Stop dropping texture limits when the layer tree host becomes invisible, and initialize with 0 allocation.
      https://bugs.webkit.org/show_bug.cgi?id=87747
      
      Patch by Michal Mocny <mmocny@google.com> on 2012-06-06
      Reviewed by Adrienne Walker.
      
      Source/WebCore:
      
      GpuMemoryManager manages texture memory allocation limits. It will send a 0 allocation when a renderer becomes
      invisible, and an appropriate allocation after a renderer is initialized.  These numbers will change
      depending on the state of memory across devices and other renderers, so we would like to remove all explicit
      management by the renderers themselves.
      
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::initializeLayerRenderer):
      (WebCore::CCLayerTreeHost::setVisible):
      
      Source/WebKit/chromium:
      
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::MockLayerTreeHost::create):
      * tests/Canvas2DLayerChromiumTest.cpp:
      (Canvas2DLayerChromiumTest::fullLifecycleTest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1db77522
    • kinuko@chromium.org's avatar
      Unreviewed, rolling out r119680. · 91393dfc
      kinuko@chromium.org authored
      http://trac.webkit.org/changeset/119680
      https://bugs.webkit.org/show_bug.cgi?id=88498
      
      It broke mac build (Requested by kinuko on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-06
      
      * fileapi/File.cpp:
      (WebCore::File::File):
      (WebCore::File::lastModifiedDate):
      (WebCore::File::lastModifiedDateForBinding):
      (WebCore):
      (WebCore::File::captureSnapshot):
      * fileapi/File.h:
      (File):
      * fileapi/File.idl:
      * platform/FileMetadata.h:
      (WebCore::FileMetadata::FileMetadata):
      * platform/FileSystem.h:
      * platform/chromium/support/WebHTTPBody.cpp:
      (WebKit::WebHTTPBody::elementAt):
      * platform/network/BlobData.cpp:
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91393dfc