summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-01-26 19:00:23 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-26 19:00:23 -0800
commit00e7bdac2cb1be80a07ab5f78d2fa4b7210e8026 (patch)
treebab620eed6d637d3d520c1f124607ee00550933a /WebKit/android/nav
parentaf1d8497b809bbb7ec0ccd9dec17a091f4d86617 (diff)
parentebcc274d0c5d21345665179b42a632204fbb3db1 (diff)
downloadexternal_webkit-00e7bdac2cb1be80a07ab5f78d2fa4b7210e8026.zip
external_webkit-00e7bdac2cb1be80a07ab5f78d2fa4b7210e8026.tar.gz
external_webkit-00e7bdac2cb1be80a07ab5f78d2fa4b7210e8026.tar.bz2
Merge "Fix bug 3299946 - Holo-fy focus and selection color scheme." into honeycomb
Diffstat (limited to 'WebKit/android/nav')
-rw-r--r--WebKit/android/nav/SelectText.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKit/android/nav/SelectText.cpp b/WebKit/android/nav/SelectText.cpp
index ff69ddd..a07fa8c 100644
--- a/WebKit/android/nav/SelectText.cpp
+++ b/WebKit/android/nav/SelectText.cpp
@@ -1351,8 +1351,8 @@ static WTF::String text(const SkPicture& picture, const SkIRect& area,
#define DROP_HEIGHT 4
#define STROKE_COLOR 0x90000000
-#define FILL_GRADIENT_TOP 0xD0F8DFA0
-#define FILL_GRADIENT_BOTTOM 0xD0FFEFEF
+#define FILL_GRADIENT_TOP 0xD0AFD835
+#define FILL_GRADIENT_BOTTOM 0xD0CAD284
#define DROP_GRADIENT_TOP 0x50000000
#define DROP_GRADIENT_BOTTOM 0x00000000
@@ -1539,7 +1539,7 @@ void SelectText::drawSelectionRegion(SkCanvas* canvas, IntRect* inval)
SkPaint paint;
paint.setAntiAlias(true);
- paint.setColor(SkColorSetARGB(0x80, 0xFF, 0xA8, 0x00));
+ paint.setColor(SkColorSetARGB(0x80, 0x83, 0xCC, 0x39));
canvas->drawPath(path, paint);
// experiment to draw touchable controls that resize the selection
canvas->save();