Summary: | Make updateScrollbars cross-platform | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dave Hyatt <hyatt> | ||||||||
Component: | Platform | Assignee: | Dave Hyatt <hyatt> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | ||||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.5 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 21083 | ||||||||||
Attachments: |
|
Description
Dave Hyatt
2008-10-01 23:43:26 PDT
Created attachment 24007 [details]
Patch
Comment on attachment 24007 [details]
Patch
Never mind. I need to remove more code.
Created attachment 24008 [details]
Patch #2
Created attachment 24009 [details]
Patch #3
Comment on attachment 24009 [details]
Patch #3
+ The ScrollView now implement ScrollbarClient, which means that there was a clash of windowClipRect methods from the
s/implement/implements/
+ }
+ }
+ else {
+ scrollsHorizontally = (hScroll == ScrollbarAuto) ? hasHorizontalScrollbar : (hScroll == ScrollbarAlwaysOn);
The else should be on the same line as the }.
+ if (pageStep < 0) pageStep = clientWidth;
This should be on two lines.
+ if (pageStep < 0) pageStep = clientHeight;
As should this
-// FIXME: ScrollViewPrivate will eventually be completely gone. It's already gone on Mac.
-#if !PLATFORM(MAC)
+// FIXME: ScrollViewPrivate will eventually be completely gone.
I think this #if was incorrectly removed.
Otherwise, looks nice. r=me.
|