| 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 Color RenderTheme::platformInactiveListBoxSelectionBackgroundColor() const | 625 Color RenderTheme::platformInactiveListBoxSelectionBackgroundColor() const |
| 626 { | 626 { |
| 627 return platformInactiveSelectionBackgroundColor(); | 627 return platformInactiveSelectionBackgroundColor(); |
| 628 } | 628 } |
| 629 | 629 |
| 630 Color RenderTheme::platformInactiveListBoxSelectionForegroundColor() const | 630 Color RenderTheme::platformInactiveListBoxSelectionForegroundColor() const |
| 631 { | 631 { |
| 632 return platformInactiveSelectionForegroundColor(); | 632 return platformInactiveSelectionForegroundColor(); |
| 633 } | 633 } |
| 634 | 634 |
| 635 #if ENABLE(CALENDAR_PICKER) | |
| 636 CString RenderTheme::extraCalendarPickerStyleSheet() | |
| 637 { | |
| 638 return CString(); | |
| 639 } | |
| 640 #endif | |
| 641 | |
| 642 int RenderTheme::baselinePosition(const RenderObject* o) const | 635 int RenderTheme::baselinePosition(const RenderObject* o) const |
| 643 { | 636 { |
| 644 if (!o->isBox()) | 637 if (!o->isBox()) |
| 645 return 0; | 638 return 0; |
| 646 | 639 |
| 647 const RenderBox* box = toRenderBox(o); | 640 const RenderBox* box = toRenderBox(o); |
| 648 | 641 |
| 649 #if USE(NEW_THEME) | 642 #if USE(NEW_THEME) |
| 650 return box->height() + box->marginTop() + m_theme->baselinePositionAdjustmen
t(o->style()->appearance()) * o->style()->effectiveZoom(); | 643 return box->height() + box->marginTop() + m_theme->baselinePositionAdjustmen
t(o->style()->appearance()) * o->style()->effectiveZoom(); |
| 651 #else | 644 #else |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1270 | 1263 |
| 1271 return StringTruncator::centerTruncate(string, width, font, StringTruncator:
:EnableRoundingHacks); | 1264 return StringTruncator::centerTruncate(string, width, font, StringTruncator:
:EnableRoundingHacks); |
| 1272 } | 1265 } |
| 1273 | 1266 |
| 1274 bool RenderTheme::shouldOpenPickerWithF4Key() const | 1267 bool RenderTheme::shouldOpenPickerWithF4Key() const |
| 1275 { | 1268 { |
| 1276 return false; | 1269 return false; |
| 1277 } | 1270 } |
| 1278 | 1271 |
| 1279 } // namespace WebCore | 1272 } // namespace WebCore |
| OLD | NEW |