[Webkit-unassigned] [Bug 109560] Implement coordinated scrollbar for subframes and overflow:scroll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 22 18:49:30 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=109560
--- Comment #55 from Sam Weinig <sam at webkit.org> 2013-02-22 18:51:51 PST ---
(From update of attachment 189875)
View in context: https://bugs.webkit.org/attachment.cgi?id=189875&action=review
> Source/WebCore/page/scrolling/chromium/ScrollingCoordinatorChromium.h:82
> + static WebKit::WebLayer* scrollingWebLayerForScrollableArea(ScrollableArea*);
> +
> void setNonFastScrollableRegion(const Region&);
> void setTouchEventTargetRects(const Vector<IntRect>&);
> void setWheelEventHandlerCount(unsigned);
> - PassOwnPtr<WebKit::WebScrollbarLayer> createScrollbarLayer(Scrollbar*, WebKit::WebLayer* scrollLayer, GraphicsLayer* scrollbarGraphicsLayer, FrameView*);
>
> - ScrollingCoordinatorPrivate* m_private;
> + WebKit::WebScrollbarLayer* addWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation, PassOwnPtr<WebKit::WebScrollbarLayer>);
> + WebKit::WebScrollbarLayer* getWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation);
> + void removeWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation);
I guess this issue existed already, but it seems quite wrong to use WebKit types in WebCore.
> Source/WebCore/rendering/RenderLayer.cpp:244
> + if (renderer()->frame() && renderer()->frame()->page())
> + if (ScrollingCoordinator* scrollingCoordinator = renderer()->frame()->page()->scrollingCoordinator())
> + scrollingCoordinator->willDestroyScrollableArea(this);
This requires braces around the outer if-statement.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list