| 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 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 #include "RenderTheme.h" | 23 #include "RenderTheme.h" |
| 24 | 24 |
| 25 #include "CSSValueKeywords.h" | 25 #include "CSSValueKeywords.h" |
| 26 #include "Document.h" | 26 #include "Document.h" |
| 27 #include "FileList.h" | 27 #include "FileList.h" |
| 28 #include "FileSystem.h" | |
| 29 #include "FloatConversion.h" | |
| 30 #include "FocusController.h" | 28 #include "FocusController.h" |
| 31 #include "Frame.h" | 29 #include "Frame.h" |
| 32 #include "FrameSelection.h" | 30 #include "FrameSelection.h" |
| 33 #include "HTMLInputElement.h" | 31 #include "HTMLInputElement.h" |
| 34 #include "HTMLMeterElement.h" | 32 #include "HTMLMeterElement.h" |
| 35 #include "HTMLNames.h" | 33 #include "HTMLNames.h" |
| 36 #include "LocalizedStrings.h" | |
| 37 #include "MediaControlElements.h" | 34 #include "MediaControlElements.h" |
| 38 #include "Page.h" | 35 #include "Page.h" |
| 39 #include "PaintInfo.h" | 36 #include "PaintInfo.h" |
| 40 #include "RenderMeter.h" | 37 #include "RenderMeter.h" |
| 41 #include "RenderStyle.h" | 38 #include "RenderStyle.h" |
| 42 #include "RenderView.h" | 39 #include "RenderView.h" |
| 43 #include "Settings.h" | 40 #include "Settings.h" |
| 44 #include "SpinButtonElement.h" | 41 #include "SpinButtonElement.h" |
| 45 #include "TextControlInnerElements.h" | 42 #include "TextControlInnerElements.h" |
| 43 #include "core/platform/FileSystem.h" |
| 44 #include "core/platform/FloatConversion.h" |
| 45 #include "core/platform/LocalizedStrings.h" |
| 46 #include "core/platform/graphics/FontSelector.h" | 46 #include "core/platform/graphics/FontSelector.h" |
| 47 #include "core/platform/graphics/GraphicsContext.h" | 47 #include "core/platform/graphics/GraphicsContext.h" |
| 48 #include "core/platform/graphics/StringTruncator.h" | 48 #include "core/platform/graphics/StringTruncator.h" |
| 49 | 49 |
| 50 #if ENABLE(INPUT_SPEECH) | 50 #if ENABLE(INPUT_SPEECH) |
| 51 #include "RenderInputSpeech.h" | 51 #include "RenderInputSpeech.h" |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 #if ENABLE(DATALIST_ELEMENT) | 54 #if ENABLE(DATALIST_ELEMENT) |
| 55 #include "ElementShadow.h" | 55 #include "ElementShadow.h" |
| (...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 | 1215 |
| 1216 return StringTruncator::centerTruncate(string, width, font, StringTruncator:
:EnableRoundingHacks); | 1216 return StringTruncator::centerTruncate(string, width, font, StringTruncator:
:EnableRoundingHacks); |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 bool RenderTheme::shouldOpenPickerWithF4Key() const | 1219 bool RenderTheme::shouldOpenPickerWithF4Key() const |
| 1220 { | 1220 { |
| 1221 return false; | 1221 return false; |
| 1222 } | 1222 } |
| 1223 | 1223 |
| 1224 } // namespace WebCore | 1224 } // namespace WebCore |
| OLD | NEW |