[Webkit-unassigned] [Bug 36449] Expose the width and height scroll bars add to a view to chromium.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 8 10:44:42 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36449





--- Comment #7 from Sam Kerner <skerner at chromium.org>  2010-04-08 10:44:41 PST ---
Sorry to not look at this for a while.  Milestone-5 issues distracted me.

(In reply to comment #4)
> Could you deduce this information from WebFrame::contentsSize() if you also had
> a WebFrame::visibleSize()?  Maybe we should just add a WebFrame::visibleSize()
> method.

That could work if WebFrame::contentsSize() gave the size of the contents drawn
on screen.  However, it seems to give the size of the contents, including
content you would need to scroll to see.

I could add WebFrame::visibleSize() and
WebFrame::visibleSizeIncludingScrollbars(), and subtract them.  Or I could
create WebFrame::visibleSize(bool includeScrollbarSize).  Would one of those
options be preferred to adding WebFrame:scrollbarsSize()?

Sam

-- 
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