Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index edee554cc3496494a798386443f5a824c4924235..f8a580ba389fd0c89e1db9c92d779b39d1403c73 100644 |
--- a/ui/gfx/render_text.cc |
+++ b/ui/gfx/render_text.cc |
@@ -15,6 +15,16 @@ |
namespace { |
+// Color settings for text, backgrounds and cursor. |
+// These are tentative, and should be derived from theme, system |
+// settings and current settings. |
+// TODO(oshima): Change this to match the standard chrome |
+// before dogfooding textfield views. |
+const SkColor kSelectedTextColor = SK_ColorWHITE; |
+const SkColor kFocusedSelectionColor = SkColorSetRGB(30, 144, 255); |
+const SkColor kUnfocusedSelectionColor = SK_ColorLTGRAY; |
+const SkColor kCursorColor = SK_ColorBLACK; |
+ |
#ifndef NDEBUG |
// Check StyleRanges invariant conditions: sorted and non-overlapping ranges. |
void CheckStyleRanges(const gfx::StyleRanges& style_ranges, size_t length) { |