Bug 102939

Summary: [chromium] Change default tap highlight color for Chromium Windows & Linux.
Product: WebKit Reporter: W. James MacLean <wjmaclean>
Component: New BugsAssignee: W. James MacLean <wjmaclean>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, ojan, rbyers, rjkroege, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

W. James MacLean
Reported 2012-11-21 07:13:54 PST
[chromium] Change default tap highlight color for Chromium Windows & Linux.
Attachments
Patch (2.11 KB, patch)
2012-11-21 07:16 PST, W. James MacLean
no flags
Patch for landing (2.07 KB, patch)
2012-11-21 10:27 PST, W. James MacLean
no flags
W. James MacLean
Comment 1 2012-11-21 07:16:44 PST
Adam Barth
Comment 2 2012-11-21 10:01:58 PST
Comment on attachment 175438 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175438&action=review > Source/WebCore/rendering/RenderThemeChromiumSkia.h:50 > + virtual Color platformTapHighlightColor() const OVERRIDE The indent in this file is really odd. Does it matter that defaultTapHighlightColor has type RGBA32 and the return type of this function is Color? > Source/WebCore/rendering/RenderThemeChromiumSkia.h:52 > + return RenderThemeChromiumSkia::defaultTapHighlightColor; I'm surprised that "RenderThemeChromiumSkia::" is necessary.
W. James MacLean
Comment 3 2012-11-21 10:25:23 PST
Comment on attachment 175438 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175438&action=review >> Source/WebCore/rendering/RenderThemeChromiumSkia.h:50 >> + virtual Color platformTapHighlightColor() const OVERRIDE > > The indent in this file is really odd. > > Does it matter that defaultTapHighlightColor has type RGBA32 and the return type of this function is Color? Yes, I noticed the indenting was strange, and I thought about changing it, but the rest of the CL is so small I thought it would obscure the main intent of the CL. :-) There is an implicit conversion (platform/Color.h) from RGBA32 -> Color, but I'll make it explicit before I land. >> Source/WebCore/rendering/RenderThemeChromiumSkia.h:52 >> + return RenderThemeChromiumSkia::defaultTapHighlightColor; > > I'm surprised that "RenderThemeChromiumSkia::" is necessary. Actually it's not ... I was just following the style in RenderThemeChromiumAndroid, but it doesn't need to be here. I'll remove it before landing.
W. James MacLean
Comment 4 2012-11-21 10:27:15 PST
Created attachment 175478 [details] Patch for landing
Adam Barth
Comment 5 2012-11-21 10:40:13 PST
Yeah, we should fix the indent in a separate patch
WebKit Review Bot
Comment 6 2012-11-21 10:53:00 PST
Comment on attachment 175478 [details] Patch for landing Clearing flags on attachment: 175478 Committed r135418: <http://trac.webkit.org/changeset/135418>
WebKit Review Bot
Comment 7 2012-11-21 10:53:03 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.