⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 98756 in webkit


Ignore:
Timestamp:
Oct 28, 2011, 1:27:44 PM (15 years ago)
Author:
ap@apple.com
Message:

Clean up BuiltInPDFView a little
https://bugs.webkit.org/show_bug.cgi?id=71133

Reviewed by Daniel Bates.

  • WebProcess/Plugins/PDF/BuiltInPDFView.cpp: (WebKit::BuiltInPDFView::createScrollbar):

Removed an incorrect FIXME. Custom scrollbars specified in a document don't apply
to subframes, and thus shouldn't apply to PDFs.

  • WebProcess/Plugins/PDF/BuiltInPDFView.h: (WebKit::BuiltInPDFView::zoomAnimatorTransformChanged):

Moved to a correct location. This is not a Plugin method, but a ScrollView one.

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r98730 r98756  
     12011-10-28  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Clean up BuiltInPDFView a little
     4        https://bugs.webkit.org/show_bug.cgi?id=71133
     5
     6        Reviewed by Daniel Bates.
     7
     8        * WebProcess/Plugins/PDF/BuiltInPDFView.cpp: (WebKit::BuiltInPDFView::createScrollbar):
     9        Removed an incorrect FIXME. Custom scrollbars specified in a document don't apply
     10        to subframes, and thus shouldn't apply to PDFs.
     11
     12        * WebProcess/Plugins/PDF/BuiltInPDFView.h: (WebKit::BuiltInPDFView::zoomAnimatorTransformChanged):
     13        Moved to a correct location. This is not a Plugin method, but a ScrollView one.
     14
    1152011-10-28  Jochen Eisinger  <jochen@chromium.org>
    216
  • trunk/Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.cpp

    r98664 r98756  
    162162PassRefPtr<Scrollbar> BuiltInPDFView::createScrollbar(ScrollbarOrientation orientation)
    163163{
    164     // FIXME: Support custom scrollbar styles.
    165164    RefPtr<Scrollbar> widget = Scrollbar::createNativeScrollbar(this, orientation, RegularScrollbar);
    166165    if (orientation == HorizontalScrollbar)
  • trunk/Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.h

    r98664 r98756  
    9292    virtual void manualStreamDidFinishLoading();
    9393    virtual void manualStreamDidFail(bool wasCancelled);
    94 
    95     virtual void zoomAnimatorTransformChanged(float, float, float, ZoomAnimationState) { }
    96 
    9794    virtual bool handleMouseEvent(const WebMouseEvent&);
    9895    virtual bool handleWheelEvent(const WebWheelEvent&);
     
    141138    virtual bool shouldSuspendScrollAnimations() const { return false; } // If we return true, ScrollAnimatorMac will keep cycling a timer forever, waiting for a good time to animate.
    142139    virtual void scrollbarStyleChanged();
     140    virtual void zoomAnimatorTransformChanged(float, float, float, ZoomAnimationState) { }
    143141
    144142    // FIXME: Implement the other conversion functions; this one is enough to get scrollbar hit testing working.
Note: See TracChangeset for help on using the changeset viewer.