Changeset 108296 in webkit
- Timestamp:
- Feb 20, 2012, 8:17:26 PM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r108293 r108296 1 2012-02-20 Andy Chen <andchen@rim.com> 2 3 2012-02-17 Andy Chen <andchen@rim.com> 4 5 [BlackBerry] Need to override active/inactive text search highlight color for RenderThemeBlackBerry 6 https://bugs.webkit.org/show_bug.cgi?id=78920 7 8 Override two functions for text search highlight colors so that we can 9 provide platform specified colors. 10 11 Reviewed by Antonio Gomes. 12 13 No function change so no new tests. 14 15 * platform/blackberry/RenderThemeBlackBerry.cpp: 16 (WebCore::RenderThemeBlackBerry::platformActiveTextSearchHighlightColor): 17 (WebCore::RenderThemeBlackBerry::platformInactiveTextSearchHighlightColor): 18 * platform/blackberry/RenderThemeBlackBerry.h: 19 1 20 2012-02-20 John Knottenbelt <jknotten@chromium.org> 2 21 -
trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
r108290 r108296 966 966 } 967 967 968 Color RenderThemeBlackBerry::platformActiveTextSearchHighlightColor() const 969 { 970 return Color(255, 150, 50); // Orange. 971 } 972 973 Color RenderThemeBlackBerry::platformInactiveTextSearchHighlightColor() const 974 { 975 return Color(255, 255, 0); // Yellow. 976 } 977 968 978 } // namespace WebCore -
trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.h
r108290 r108296 89 89 virtual Color platformActiveSelectionBackgroundColor() const; 90 90 91 // Highlighting colors for TextMatches. 92 virtual Color platformActiveTextSearchHighlightColor() const; 93 virtual Color platformInactiveTextSearchHighlightColor() const; 94 91 95 private: 92 96 static const String& defaultGUIFont();
Note:
See TracChangeset
for help on using the changeset viewer.