[BlackBerry] Update color for tap highlight and selection
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2012 00:23:25 +0000 (00:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2012 00:23:25 +0000 (00:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=87606

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-27
Reviewed by Antonio Gomes.

PR #154813

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::platformTapHighlightColor):
(WebCore::RenderThemeBlackBerry::platformActiveSelectionBackgroundColor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@118632 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp

index 7b8c21ee282a707c8f9fa3ed4a2949673bd42c05..212e05391b08e5b8c9a5ea2f1d920cc790292e33 100644 (file)
@@ -1,3 +1,16 @@
+2012-05-27  Arvid Nilsson  <anilsson@rim.com>
+
+        [BlackBerry] Update color for tap highlight and selection
+        https://bugs.webkit.org/show_bug.cgi?id=87606
+
+        Reviewed by Antonio Gomes.
+
+        PR #154813
+
+        * platform/blackberry/RenderThemeBlackBerry.cpp:
+        (WebCore::RenderThemeBlackBerry::platformTapHighlightColor):
+        (WebCore::RenderThemeBlackBerry::platformActiveSelectionBackgroundColor):
+
 2012-05-27  Benjamin Poulain  <bpoulain@apple.com>
 
         When pages are loaded from AppCache with DeferredLoading, willSendRequest() is never called
index 70c4389b9c51a27ea2da39c5d928b7e978a2041d..dcc73e5c2df2c027db626e1cf36ec6b6dda13878 100644 (file)
@@ -905,14 +905,13 @@ Color RenderThemeBlackBerry::platformFocusRingColor() const
 #if ENABLE(TOUCH_EVENTS)
 Color RenderThemeBlackBerry::platformTapHighlightColor() const
 {
-    // Same color as 'focusRingPen' + 80 of alpha channel.
-    return Color(163, 200, 254, 80);
+    return Color(0, 168, 223, 50);
 }
 #endif
 
 Color RenderThemeBlackBerry::platformActiveSelectionBackgroundColor() const
 {
-    return Color(selection);
+    return Color(0, 168, 223, 50);
 }
 
 double RenderThemeBlackBerry::animationRepeatIntervalForProgressBar(RenderProgress* renderProgress) const