Changeset 98756 in webkit
- Timestamp:
- Oct 28, 2011, 1:27:44 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/Plugins/PDF/BuiltInPDFView.cpp (modified) (1 diff)
-
WebProcess/Plugins/PDF/BuiltInPDFView.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r98730 r98756 1 2011-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 1 15 2011-10-28 Jochen Eisinger <jochen@chromium.org> 2 16 -
trunk/Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.cpp
r98664 r98756 162 162 PassRefPtr<Scrollbar> BuiltInPDFView::createScrollbar(ScrollbarOrientation orientation) 163 163 { 164 // FIXME: Support custom scrollbar styles.165 164 RefPtr<Scrollbar> widget = Scrollbar::createNativeScrollbar(this, orientation, RegularScrollbar); 166 165 if (orientation == HorizontalScrollbar) -
trunk/Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.h
r98664 r98756 92 92 virtual void manualStreamDidFinishLoading(); 93 93 virtual void manualStreamDidFail(bool wasCancelled); 94 95 virtual void zoomAnimatorTransformChanged(float, float, float, ZoomAnimationState) { }96 97 94 virtual bool handleMouseEvent(const WebMouseEvent&); 98 95 virtual bool handleWheelEvent(const WebWheelEvent&); … … 141 138 virtual bool shouldSuspendScrollAnimations() const { return false; } // If we return true, ScrollAnimatorMac will keep cycling a timer forever, waiting for a good time to animate. 142 139 virtual void scrollbarStyleChanged(); 140 virtual void zoomAnimatorTransformChanged(float, float, float, ZoomAnimationState) { } 143 141 144 142 // 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.