WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48907
Make it possible to delegate scrolling to the UI
https://bugs.webkit.org/show_bug.cgi?id=48907
Summary
Make it possible to delegate scrolling to the UI
Kenneth Rohde Christiansen
Reported
Wednesday, November 3, 2010 1:40:44 PM UTC
This is needed for client using a tiled scrolling implementation and thus delegating scrolling to the ui. In WebKit2 this is even more important as this cannot be implemented using the platformWidget().
Attachments
Patch
(7.69 KB, patch)
2010-11-03 05:51 PDT
,
Kenneth Rohde Christiansen
kling
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Rohde Christiansen
Comment 1
Wednesday, November 3, 2010 1:51:24 PM UTC
Created
attachment 72815
[details]
Patch This is basically a clean up version of the patch that I showed Hyatt on irc yesterday: <kenneth> dhyatt, proof of concept, feel free to comment:
http://qt.pastebin.com/GHtt6xqM
<dhyatt> kenneth: yeah that looks pretty good
Andreas Kling
Comment 2
Wednesday, November 3, 2010 2:25:27 PM UTC
Comment on
attachment 72815
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=72815&action=review
r=me
> WebCore/page/FrameView.h:79 > + virtual bool delegateScrolling();
I think we should call it shouldDelegateScrolling() here as well.
Kenneth Rohde Christiansen
Comment 3
Wednesday, November 3, 2010 3:27:06 PM UTC
(In reply to
comment #2
)
> (From update of
attachment 72815
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=72815&action=review
> > r=me > > > WebCore/page/FrameView.h:79 > > + virtual bool delegateScrolling(); > > I think we should call it shouldDelegateScrolling() here as well.
Everythign in FrameView and ScrollView is that way, like paintsEntireContents, avoidScrollbarCreation, etc.
Andreas Kling
Comment 4
Wednesday, November 3, 2010 3:29:51 PM UTC
(In reply to
comment #3
)
> (In reply to
comment #2
) > > (From update of
attachment 72815
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=72815&action=review
> > > > r=me > > > > > WebCore/page/FrameView.h:79 > > > + virtual bool delegateScrolling(); > > > > I think we should call it shouldDelegateScrolling() here as well. > > Everythign in FrameView and ScrollView is that way, like paintsEntireContents, avoidScrollbarCreation, etc.
delegatesScrolling() then? *bikesheds* I just don't like the imperative sound of "delegate scrolling."
Andreas Kling
Comment 5
Wednesday, November 3, 2010 4:01:05 PM UTC
Committed
r71239
: <
http://trac.webkit.org/changeset/71239
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug