WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63678
More ScrollableArea scaffolding
https://bugs.webkit.org/show_bug.cgi?id=63678
Summary
More ScrollableArea scaffolding
Anders Carlsson
Reported
2011-06-29 18:19:12 PDT
More ScrollableArea scaffolding
Attachments
Patch
(9.34 KB, patch)
2011-06-29 18:21 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(10.69 KB, patch)
2011-06-30 10:52 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(12.60 KB, patch)
2011-06-30 11:04 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(13.47 KB, patch)
2011-06-30 12:02 PDT
,
Anders Carlsson
mitz: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2011-06-29 18:21:23 PDT
Created
attachment 99198
[details]
Patch
WebKit Review Bot
Comment 2
2011-06-29 18:27:26 PDT
Comment on
attachment 99198
[details]
Patch
Attachment 99198
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8962275
Sam Weinig
Comment 3
2011-06-29 18:29:30 PDT
Comment on
attachment 99198
[details]
Patch Fresh. (/me is totally not reviewing this while on vacation.) I think some other ports may have other classes that derive from ScrollView, so you will probably have to patch them too (or just add a default implementation to ScrollView.)
Anders Carlsson
Comment 4
2011-06-30 10:52:20 PDT
Created
attachment 99333
[details]
Patch
WebKit Review Bot
Comment 5
2011-06-30 11:01:37 PDT
Comment on
attachment 99333
[details]
Patch
Attachment 99333
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8962544
Anders Carlsson
Comment 6
2011-06-30 11:04:58 PDT
Created
attachment 99336
[details]
Patch
Anders Carlsson
Comment 7
2011-06-30 12:02:45 PDT
Created
attachment 99352
[details]
Patch
mitz
Comment 8
2011-06-30 12:13:20 PDT
Comment on
attachment 99352
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99352&action=review
> Source/WebCore/platform/ScrollableArea.cpp:208 > +bool ScrollableArea::isPinnedInDirectionOfScrollDelta(const IntSize& scrollDelta) const
You can drop “OfScrollDelta” from the name.
> Source/WebCore/platform/chromium/FramelessScrollView.cpp:62 > + // FIXME
Can you elaborate?
> Source/WebCore/rendering/RenderLayer.cpp:797 > + RenderObject* nextRenderer = renderer()->parent(); > + > + while (nextRenderer) { > + if (nextRenderer->isBox() && toRenderBox(nextRenderer)->canBeScrolledAndHasScrollableArea()) > + return nextRenderer->enclosingLayer(); > + > + nextRenderer = nextRenderer->parent(); > + } > + > + return 0;
Looks like a for() loop.
> Source/WebCore/rendering/RenderLayer.cpp:2002 > + // FIXME: We should return the frame view here (or possibly a parent frame view,
s/parent/ancestor/?
> Source/WebKit/chromium/src/WebScrollbarImpl.cpp:295 > + // FIXME
More detail?
Anders Carlsson
Comment 9
2011-06-30 12:40:59 PDT
Committed
r90152
: <
http://trac.webkit.org/changeset/90152
>
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