| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 230 |
| 231 // Call the appropriate style adjustment method based off the appearance | 231 // Call the appropriate style adjustment method based off the appearance |
| 232 // value. | 232 // value. |
| 233 switch (style.appearance()) { | 233 switch (style.appearance()) { |
| 234 case MenulistPart: | 234 case MenulistPart: |
| 235 return adjustMenuListStyle(style, e); | 235 return adjustMenuListStyle(style, e); |
| 236 case MenulistButtonPart: | 236 case MenulistButtonPart: |
| 237 return adjustMenuListButtonStyle(style, e); | 237 return adjustMenuListButtonStyle(style, e); |
| 238 case SliderHorizontalPart: | 238 case SliderHorizontalPart: |
| 239 case SliderVerticalPart: | 239 case SliderVerticalPart: |
| 240 case MediaFullscreenVolumeSliderPart: | |
| 241 case MediaSliderPart: | 240 case MediaSliderPart: |
| 242 case MediaVolumeSliderPart: | 241 case MediaVolumeSliderPart: |
| 243 return adjustSliderContainerStyle(style, e); | 242 return adjustSliderContainerStyle(style, e); |
| 244 case SliderThumbHorizontalPart: | 243 case SliderThumbHorizontalPart: |
| 245 case SliderThumbVerticalPart: | 244 case SliderThumbVerticalPart: |
| 246 return adjustSliderThumbStyle(style); | 245 return adjustSliderThumbStyle(style); |
| 247 case SearchFieldPart: | 246 case SearchFieldPart: |
| 248 return adjustSearchFieldStyle(style); | 247 return adjustSearchFieldStyle(style); |
| 249 case SearchFieldCancelButtonPart: | 248 case SearchFieldCancelButtonPart: |
| 250 return adjustSearchFieldCancelButtonStyle(style); | 249 return adjustSearchFieldCancelButtonStyle(style); |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 // padding - not honored by WinIE, needs to be removed. | 911 // padding - not honored by WinIE, needs to be removed. |
| 913 style.resetPadding(); | 912 style.resetPadding(); |
| 914 | 913 |
| 915 // border - honored by WinIE, but looks terrible (just paints in the control | 914 // border - honored by WinIE, but looks terrible (just paints in the control |
| 916 // box and turns off the Windows XP theme) | 915 // box and turns off the Windows XP theme) |
| 917 // for now, we will not honor it. | 916 // for now, we will not honor it. |
| 918 style.resetBorder(); | 917 style.resetBorder(); |
| 919 } | 918 } |
| 920 | 919 |
| 921 } // namespace blink | 920 } // namespace blink |
| OLD | NEW |