OLD | NEW |
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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 void RenderTheme::adjustSearchFieldDecorationStyle(RenderStyle*, Element*) const | 930 void RenderTheme::adjustSearchFieldDecorationStyle(RenderStyle*, Element*) const |
931 { | 931 { |
932 } | 932 } |
933 | 933 |
934 void RenderTheme::adjustSearchFieldResultsDecorationStyle(RenderStyle*, Element*
) const | 934 void RenderTheme::adjustSearchFieldResultsDecorationStyle(RenderStyle*, Element*
) const |
935 { | 935 { |
936 } | 936 } |
937 | 937 |
938 void RenderTheme::platformColorsDidChange() | 938 void RenderTheme::platformColorsDidChange() |
939 { | 939 { |
940 Page::scheduleForcedStyleRecalcForAllPages(); | 940 Page::platformColorsChanged(); |
941 } | 941 } |
942 | 942 |
943 static FontDescription& getCachedFontDescription(CSSValueID systemFontID) | 943 static FontDescription& getCachedFontDescription(CSSValueID systemFontID) |
944 { | 944 { |
945 DEFINE_STATIC_LOCAL(FontDescription, caption, ()); | 945 DEFINE_STATIC_LOCAL(FontDescription, caption, ()); |
946 DEFINE_STATIC_LOCAL(FontDescription, icon, ()); | 946 DEFINE_STATIC_LOCAL(FontDescription, icon, ()); |
947 DEFINE_STATIC_LOCAL(FontDescription, menu, ()); | 947 DEFINE_STATIC_LOCAL(FontDescription, menu, ()); |
948 DEFINE_STATIC_LOCAL(FontDescription, messageBox, ()); | 948 DEFINE_STATIC_LOCAL(FontDescription, messageBox, ()); |
949 DEFINE_STATIC_LOCAL(FontDescription, smallCaption, ()); | 949 DEFINE_STATIC_LOCAL(FontDescription, smallCaption, ()); |
950 DEFINE_STATIC_LOCAL(FontDescription, statusBar, ()); | 950 DEFINE_STATIC_LOCAL(FontDescription, statusBar, ()); |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1257 |
1258 // padding - not honored by WinIE, needs to be removed. | 1258 // padding - not honored by WinIE, needs to be removed. |
1259 style->resetPadding(); | 1259 style->resetPadding(); |
1260 | 1260 |
1261 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) | 1261 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) |
1262 // for now, we will not honor it. | 1262 // for now, we will not honor it. |
1263 style->resetBorder(); | 1263 style->resetBorder(); |
1264 } | 1264 } |
1265 | 1265 |
1266 } // namespace blink | 1266 } // namespace blink |
OLD | NEW |