diff options
author | Adam Powell <adamp@google.com> | 2011-01-26 17:05:28 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-01-26 18:49:31 -0800 |
commit | ebcc274d0c5d21345665179b42a632204fbb3db1 (patch) | |
tree | 1c04a998957acd236f78d00fff7daab8a4a61349 /WebCore/rendering/style | |
parent | ed03e47015ce173c535ea9da8b61548db718e80e (diff) | |
download | external_webkit-ebcc274d0c5d21345665179b42a632204fbb3db1.zip external_webkit-ebcc274d0c5d21345665179b42a632204fbb3db1.tar.gz external_webkit-ebcc274d0c5d21345665179b42a632204fbb3db1.tar.bz2 |
Fix bug 3299946 - Holo-fy focus and selection color scheme.
* Honeycomb-themed selection ring
* Match text selection color scheme to framework assets
Change-Id: I8a4817c7998d7009f1b00d6ad548d54545de0c78
Diffstat (limited to 'WebCore/rendering/style')
-rw-r--r-- | WebCore/rendering/style/RenderStyle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/style/RenderStyle.h b/WebCore/rendering/style/RenderStyle.h index c206acd..e86d595 100644 --- a/WebCore/rendering/style/RenderStyle.h +++ b/WebCore/rendering/style/RenderStyle.h @@ -1323,14 +1323,14 @@ public: #ifdef ANDROID_CSS_RING static Color initialRingFillColor() { return Color::ringFill; } - static Length initialRingInnerWidth() { return Length(24, Fixed); } // 1.5 - static Length initialRingOuterWidth() { return Length(52, Fixed); } // 3.25 - static Length initialRingOutset() { return Length(2, Fixed); } + static Length initialRingInnerWidth() { return Length(16, Fixed); } // 1.0 + static Length initialRingOuterWidth() { return Length(40, Fixed); } // 2.5 + static Length initialRingOutset() { return Length(3, Fixed); } static Color initialRingSelectedInnerColor() { return Color::ringSelectedInner; } static Color initialRingSelectedOuterColor() { return Color::ringSelectedOuter; } static Color initialRingPressedInnerColor() { return Color::ringPressedInner; } static Color initialRingPressedOuterColor() { return Color::ringPressedOuter; } - static Length initialRingRadius() { return Length(5, Fixed); } + static Length initialRingRadius() { return Length(1, Fixed); } #endif #ifdef ANDROID_CSS_TAP_HIGHLIGHT_COLOR static Color initialTapHighlightColor() { return Color::tap; } |