Bug 109374

Summary: [chromium] Fix Android scrollbar size
Product: WebKit Reporter: Alexandre Elias <aelias>
Component: New BugsAssignee: Alexandre Elias <aelias>
Status: RESOLVED FIXED    
Severity: Normal CC: aelias, dglazkov, jamesr, peter+ews, trchen, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Description Alexandre Elias 2013-02-10 01:04:47 PST
[chromium] Fix Android scrollbar size
Comment 1 Alexandre Elias 2013-02-10 01:09:46 PST
Created attachment 187469 [details]
Patch
Comment 2 Peter Beverloo (cr-android ews) 2013-02-10 01:21:47 PST
Comment on attachment 187469 [details]
Patch

Attachment 187469 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/16468789
Comment 3 James Robinson 2013-02-10 13:48:59 PST
Comment on attachment 187469 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=187469&action=review

> Source/WebCore/platform/chromium/ScrollbarThemeChromiumAndroid.cpp:114
> +    context->fillRect(centerRect, Color(128, 128, 128, 128), ColorSpaceDeviceRGB);

as EWS points out, this doesn't compile.  What did you mean here instead of centerRect?  thumbRect ?
Comment 4 James Robinson 2013-02-10 13:50:35 PST
Comment on attachment 187469 [details]
Patch

Could you just extend the thumb rect out very slightly to get some edge AA?

R=me if you make it compile
Comment 5 Alexandre Elias 2013-02-10 17:58:07 PST
Created attachment 187502 [details]
Patch

Fix compile error (centerRect->thumbRect)
Comment 6 Alexandre Elias 2013-02-10 18:00:24 PST
Created attachment 187503 [details]
Patch for landing
Comment 7 Alexandre Elias 2013-02-10 18:12:08 PST
Just saw your edge AA comment.  Tien-Ren is reimplementing this to use SolidColorQuad (since scrollbar texture management is proving a pain) so let's revisit there.
Comment 8 WebKit Review Bot 2013-02-10 18:55:52 PST
Comment on attachment 187503 [details]
Patch for landing

Clearing flags on attachment: 187503

Committed r142423: <http://trac.webkit.org/changeset/142423>
Comment 9 WebKit Review Bot 2013-02-10 18:55:55 PST
All reviewed patches have been landed.  Closing bug.