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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 642 |
643 void LayoutTheme::adjustSearchFieldCancelButtonStyle(ComputedStyle&) const | 643 void LayoutTheme::adjustSearchFieldCancelButtonStyle(ComputedStyle&) const |
644 { | 644 { |
645 } | 645 } |
646 | 646 |
647 void LayoutTheme::platformColorsDidChange() | 647 void LayoutTheme::platformColorsDidChange() |
648 { | 648 { |
649 Page::platformColorsChanged(); | 649 Page::platformColorsChanged(); |
650 } | 650 } |
651 | 651 |
| 652 void LayoutTheme::setCaretBlinkInterval(double interval) |
| 653 { |
| 654 m_caretBlinkInterval = interval; |
| 655 } |
| 656 |
| 657 double LayoutTheme::caretBlinkInterval() const |
| 658 { |
| 659 return m_caretBlinkInterval; |
| 660 } |
| 661 |
652 static FontDescription& getCachedFontDescription(CSSValueID systemFontID) | 662 static FontDescription& getCachedFontDescription(CSSValueID systemFontID) |
653 { | 663 { |
654 DEFINE_STATIC_LOCAL(FontDescription, caption, ()); | 664 DEFINE_STATIC_LOCAL(FontDescription, caption, ()); |
655 DEFINE_STATIC_LOCAL(FontDescription, icon, ()); | 665 DEFINE_STATIC_LOCAL(FontDescription, icon, ()); |
656 DEFINE_STATIC_LOCAL(FontDescription, menu, ()); | 666 DEFINE_STATIC_LOCAL(FontDescription, menu, ()); |
657 DEFINE_STATIC_LOCAL(FontDescription, messageBox, ()); | 667 DEFINE_STATIC_LOCAL(FontDescription, messageBox, ()); |
658 DEFINE_STATIC_LOCAL(FontDescription, smallCaption, ()); | 668 DEFINE_STATIC_LOCAL(FontDescription, smallCaption, ()); |
659 DEFINE_STATIC_LOCAL(FontDescription, statusBar, ()); | 669 DEFINE_STATIC_LOCAL(FontDescription, statusBar, ()); |
660 DEFINE_STATIC_LOCAL(FontDescription, webkitMiniControl, ()); | 670 DEFINE_STATIC_LOCAL(FontDescription, webkitMiniControl, ()); |
661 DEFINE_STATIC_LOCAL(FontDescription, webkitSmallControl, ()); | 671 DEFINE_STATIC_LOCAL(FontDescription, webkitSmallControl, ()); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 | 914 |
905 // padding - not honored by WinIE, needs to be removed. | 915 // padding - not honored by WinIE, needs to be removed. |
906 style.resetPadding(); | 916 style.resetPadding(); |
907 | 917 |
908 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) | 918 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) |
909 // for now, we will not honor it. | 919 // for now, we will not honor it. |
910 style.resetBorder(); | 920 style.resetBorder(); |
911 } | 921 } |
912 | 922 |
913 } // namespace blink | 923 } // namespace blink |
OLD | NEW |