| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| 6 * Copyright (C) 2007 Holger Hans Peter Freyther | 6 * Copyright (C) 2007 Holger Hans Peter Freyther |
| 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 8 * Copyright (C) 2008, 2009 Google, Inc. | 8 * Copyright (C) 2008, 2009 Google, Inc. |
| 9 * All rights reserved. | 9 * All rights reserved. |
| 10 * Copyright (C) 2009 Kenneth Rohde Christiansen | 10 * Copyright (C) 2009 Kenneth Rohde Christiansen |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 double caretBlinkInterval() const final; | 88 double caretBlinkInterval() const final; |
| 89 | 89 |
| 90 // System fonts. | 90 // System fonts. |
| 91 virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, fl
oat& fontSize, AtomicString& fontFamily) const; | 91 virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, fl
oat& fontSize, AtomicString& fontFamily) const; |
| 92 | 92 |
| 93 int minimumMenuListSize(const ComputedStyle&) const override; | 93 int minimumMenuListSize(const ComputedStyle&) const override; |
| 94 | 94 |
| 95 void adjustSearchFieldStyle(ComputedStyle&) const override; | 95 void adjustSearchFieldStyle(ComputedStyle&) const override; |
| 96 void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const override; | 96 void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const override; |
| 97 void adjustSearchFieldDecorationStyle(ComputedStyle&) const override; | |
| 98 void adjustSearchFieldResultsDecorationStyle(ComputedStyle&) const override; | |
| 99 | 97 |
| 100 // MenuList refers to an unstyled menulist (meaning a menulist without | 98 // MenuList refers to an unstyled menulist (meaning a menulist without |
| 101 // background-color or border set) and MenuListButton refers to a styled | 99 // background-color or border set) and MenuListButton refers to a styled |
| 102 // menulist (a menulist with background-color or border set). They have | 100 // menulist (a menulist with background-color or border set). They have |
| 103 // this distinction to support showing aqua style themes whenever they | 101 // this distinction to support showing aqua style themes whenever they |
| 104 // possibly can, which is something we don't want to replicate. | 102 // possibly can, which is something we don't want to replicate. |
| 105 // | 103 // |
| 106 // In short, we either go down the MenuList code path or the MenuListButton | 104 // In short, we either go down the MenuList code path or the MenuListButton |
| 107 // codepath. We never go down both. And in both cases, they layout the | 105 // codepath. We never go down both. And in both cases, they layout the |
| 108 // entire menulist. | 106 // entire menulist. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 static unsigned m_activeSelectionForegroundColor; | 145 static unsigned m_activeSelectionForegroundColor; |
| 148 static unsigned m_inactiveSelectionBackgroundColor; | 146 static unsigned m_inactiveSelectionBackgroundColor; |
| 149 static unsigned m_inactiveSelectionForegroundColor; | 147 static unsigned m_inactiveSelectionForegroundColor; |
| 150 | 148 |
| 151 ThemePainterDefault m_painter; | 149 ThemePainterDefault m_painter; |
| 152 }; | 150 }; |
| 153 | 151 |
| 154 } // namespace blink | 152 } // namespace blink |
| 155 | 153 |
| 156 #endif // LayoutThemeDefault_h | 154 #endif // LayoutThemeDefault_h |
| OLD | NEW |