| Summary: | Need SPI to set the overlay scroll bar style | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||||
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | andersca, commit-queue | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Beth Dakin
2015-05-12 14:08:14 PDT
Created attachment 252984 [details]
Patch
Attachment 252984 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/API/mac/WKView.mm:4472: Missing space before ( in switch( [whitespace/parens] [5]
Total errors found: 1 in 20 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 252984 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252984&action=review > Source/WebCore/platform/ScrollTypes.h:167 > enum ScrollbarOverlayStyle { > ScrollbarOverlayStyleDefault, > ScrollbarOverlayStyleDark, > - ScrollbarOverlayStyleLight > + ScrollbarOverlayStyleLight, > + ScrollbarOverlayStyleNone I'm surprised this isn't OverlayScrollbarStyle? It's the style of the overlay scrollbar, not the overlay style of the scrollbar. > Source/WebKit2/UIProcess/API/Cocoa/_WKOverlayScrollbarStyle.h:37 > + _WKOverlayScrollbarStyleNone Automatic? Created attachment 252997 [details]
Patch
Comment on attachment 252997 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252997&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:5006 > + parameters.scrollbarOverlayStyle = WTF::Optional<uint32_t>(); = Nullopt. Thank you! http://trac.webkit.org/changeset/184297 Follow-up build fix: http://trac.webkit.org/changeset/184299 |