| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ~LayoutThemeDefault() override; | 140 ~LayoutThemeDefault() override; |
| 141 bool shouldUseFallbackTheme(const ComputedStyle&) const override; | 141 bool shouldUseFallbackTheme(const ComputedStyle&) const override; |
| 142 | 142 |
| 143 IntRect determinateProgressValueRectFor(LayoutProgress*, | 143 IntRect determinateProgressValueRectFor(LayoutProgress*, |
| 144 const IntRect&) const; | 144 const IntRect&) const; |
| 145 IntRect indeterminateProgressValueRectFor(LayoutProgress*, | 145 IntRect indeterminateProgressValueRectFor(LayoutProgress*, |
| 146 const IntRect&) const; | 146 const IntRect&) const; |
| 147 | 147 |
| 148 private: | 148 private: |
| 149 ThemePainter& painter() override { return m_painter; } | 149 ThemePainter& painter() override { return m_painter; } |
| 150 void didChangeThemeEngine() override; |
| 150 | 151 |
| 151 int menuListInternalPadding(const ComputedStyle&, int padding) const; | 152 int menuListInternalPadding(const ComputedStyle&, int padding) const; |
| 152 | 153 |
| 153 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. | 154 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. |
| 154 static double m_caretBlinkInterval; | 155 static double m_caretBlinkInterval; |
| 155 | 156 |
| 156 static unsigned m_activeSelectionBackgroundColor; | 157 static unsigned m_activeSelectionBackgroundColor; |
| 157 static unsigned m_activeSelectionForegroundColor; | 158 static unsigned m_activeSelectionForegroundColor; |
| 158 static unsigned m_inactiveSelectionBackgroundColor; | 159 static unsigned m_inactiveSelectionBackgroundColor; |
| 159 static unsigned m_inactiveSelectionForegroundColor; | 160 static unsigned m_inactiveSelectionForegroundColor; |
| 160 | 161 |
| 161 ThemePainterDefault m_painter; | 162 ThemePainterDefault m_painter; |
| 162 int m_menuListArrowWidthInDIP = 0; | 163 int m_menuListArrowWidthInDIP = 0; |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 } // namespace blink | 166 } // namespace blink |
| 166 | 167 |
| 167 #endif // LayoutThemeDefault_h | 168 #endif // LayoutThemeDefault_h |
| OLD | NEW |