Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTheme.h

Issue 1468913002: Find In Page hides the text when text color matches text search hightlight color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of the theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Color inactiveSelectionBackgroundColor() const; 109 Color inactiveSelectionBackgroundColor() const;
110 Color activeSelectionForegroundColor() const; 110 Color activeSelectionForegroundColor() const;
111 Color inactiveSelectionForegroundColor() const; 111 Color inactiveSelectionForegroundColor() const;
112 112
113 // List box selection colors 113 // List box selection colors
114 Color activeListBoxSelectionBackgroundColor() const; 114 Color activeListBoxSelectionBackgroundColor() const;
115 Color activeListBoxSelectionForegroundColor() const; 115 Color activeListBoxSelectionForegroundColor() const;
116 Color inactiveListBoxSelectionBackgroundColor() const; 116 Color inactiveListBoxSelectionBackgroundColor() const;
117 Color inactiveListBoxSelectionForegroundColor() const; 117 Color inactiveListBoxSelectionForegroundColor() const;
118 118
119 // Highlighting colors for TextMatches. 119 // Highlight and text colors for TextMatches.
120 virtual Color platformActiveTextSearchHighlightColor() const; 120 Color platformTextSearchHighlightColor(bool activeMatch) const;
121 virtual Color platformInactiveTextSearchHighlightColor() const; 121 Color platformTextSearchColor(bool activeMatch) const;
122 122
123 Color focusRingColor() const; 123 Color focusRingColor() const;
124 virtual Color platformFocusRingColor() const { return Color(0, 0, 0); } 124 virtual Color platformFocusRingColor() const { return Color(0, 0, 0); }
125 void setCustomFocusRingColor(const Color&); 125 void setCustomFocusRingColor(const Color&);
126 static Color tapHighlightColor(); 126 static Color tapHighlightColor();
127 virtual Color platformTapHighlightColor() const { return LayoutTheme::defaul tTapHighlightColor; } 127 virtual Color platformTapHighlightColor() const { return LayoutTheme::defaul tTapHighlightColor; }
128 virtual Color platformDefaultCompositionBackgroundColor() const { return def aultCompositionBackgroundColor; } 128 virtual Color platformDefaultCompositionBackgroundColor() const { return def aultCompositionBackgroundColor; }
129 virtual void platformColorsDidChange(); 129 virtual void platformColorsDidChange();
130 130
131 virtual double caretBlinkInterval() const { return 0.5; } 131 virtual double caretBlinkInterval() const { return 0.5; }
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 250 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
251 251
252 #if USE(NEW_THEME) 252 #if USE(NEW_THEME)
253 Theme* m_platformTheme; // The platform-specific theme. 253 Theme* m_platformTheme; // The platform-specific theme.
254 #endif 254 #endif
255 }; 255 };
256 256
257 } // namespace blink 257 } // namespace blink
258 258
259 #endif // LayoutTheme_h 259 #endif // LayoutTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698