Title: [118632] trunk/Source/WebCore
Revision
118632
Author
[email protected]
Date
2012-05-27 17:23:25 -0700 (Sun, 27 May 2012)

Log Message

[BlackBerry] Update color for tap highlight and selection
https://bugs.webkit.org/show_bug.cgi?id=87606

Patch by Arvid Nilsson <[email protected]> on 2012-05-27
Reviewed by Antonio Gomes.

PR #154813

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (118631 => 118632)


--- trunk/Source/WebCore/ChangeLog	2012-05-27 21:31:54 UTC (rev 118631)
+++ trunk/Source/WebCore/ChangeLog	2012-05-28 00:23:25 UTC (rev 118632)
@@ -1,3 +1,16 @@
+2012-05-27  Arvid Nilsson  <[email protected]>
+
+        [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  <[email protected]>
 
         When pages are loaded from AppCache with DeferredLoading, willSendRequest() is never called

Modified: trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp (118631 => 118632)


--- trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp	2012-05-27 21:31:54 UTC (rev 118631)
+++ trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp	2012-05-28 00:23:25 UTC (rev 118632)
@@ -905,14 +905,13 @@
 #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
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to