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 23 matching lines...) Expand all Loading... |
34 #include "core/html/HTMLDataListElement.h" | 34 #include "core/html/HTMLDataListElement.h" |
35 #include "core/html/HTMLDataListOptionsCollection.h" | 35 #include "core/html/HTMLDataListOptionsCollection.h" |
36 #include "core/html/HTMLFormControlElement.h" | 36 #include "core/html/HTMLFormControlElement.h" |
37 #include "core/html/HTMLInputElement.h" | 37 #include "core/html/HTMLInputElement.h" |
38 #include "core/html/HTMLOptionElement.h" | 38 #include "core/html/HTMLOptionElement.h" |
39 #include "core/html/parser/HTMLParserIdioms.h" | 39 #include "core/html/parser/HTMLParserIdioms.h" |
40 #include "core/html/shadow/MediaControlElements.h" | 40 #include "core/html/shadow/MediaControlElements.h" |
41 #include "core/html/shadow/ShadowElementNames.h" | 41 #include "core/html/shadow/ShadowElementNames.h" |
42 #include "core/html/shadow/SpinButtonElement.h" | 42 #include "core/html/shadow/SpinButtonElement.h" |
43 #include "core/html/shadow/TextControlInnerElements.h" | 43 #include "core/html/shadow/TextControlInnerElements.h" |
| 44 #include "core/layout/LayoutBox.h" |
44 #include "core/layout/LayoutThemeMobile.h" | 45 #include "core/layout/LayoutThemeMobile.h" |
45 #include "core/page/FocusController.h" | 46 #include "core/page/FocusController.h" |
46 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
47 #include "core/style/ComputedStyle.h" | 48 #include "core/style/ComputedStyle.h" |
48 #include "platform/FileMetadata.h" | 49 #include "platform/FileMetadata.h" |
49 #include "platform/RuntimeEnabledFeatures.h" | 50 #include "platform/RuntimeEnabledFeatures.h" |
50 #include "platform/Theme.h" | 51 #include "platform/Theme.h" |
51 #include "platform/fonts/FontSelector.h" | 52 #include "platform/fonts/FontSelector.h" |
52 #include "platform/text/PlatformLocale.h" | 53 #include "platform/text/PlatformLocale.h" |
53 #include "platform/text/StringTruncator.h" | 54 #include "platform/text/StringTruncator.h" |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 | 937 |
937 // padding - not honored by WinIE, needs to be removed. | 938 // padding - not honored by WinIE, needs to be removed. |
938 style.resetPadding(); | 939 style.resetPadding(); |
939 | 940 |
940 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) | 941 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) |
941 // for now, we will not honor it. | 942 // for now, we will not honor it. |
942 style.resetBorder(); | 943 style.resetBorder(); |
943 } | 944 } |
944 | 945 |
945 } // namespace blink | 946 } // namespace blink |
OLD | NEW |