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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 case MediaFullScreenVolumeSliderPart: | 311 case MediaFullScreenVolumeSliderPart: |
312 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r); | 312 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r); |
313 case MediaFullScreenVolumeSliderThumbPart: | 313 case MediaFullScreenVolumeSliderThumbPart: |
314 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r); | 314 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r); |
315 case MediaTimeRemainingPart: | 315 case MediaTimeRemainingPart: |
316 return paintMediaTimeRemaining(o, paintInfo, r); | 316 return paintMediaTimeRemaining(o, paintInfo, r); |
317 case MediaCurrentTimePart: | 317 case MediaCurrentTimePart: |
318 return paintMediaCurrentTime(o, paintInfo, r); | 318 return paintMediaCurrentTime(o, paintInfo, r); |
319 case MediaControlsBackgroundPart: | 319 case MediaControlsBackgroundPart: |
320 return paintMediaControlsBackground(o, paintInfo, r); | 320 return paintMediaControlsBackground(o, paintInfo, r); |
| 321 case MediaCastOffButtonPart: |
| 322 case MediaCastOnButtonPart: |
| 323 return paintMediaCastButton(o, paintInfo, r); |
| 324 case MediaOverlayCastOffButtonPart: |
| 325 case MediaOverlayCastOnButtonPart: |
| 326 return paintMediaOverlayCastButton(o, paintInfo, r); |
321 case MenulistButtonPart: | 327 case MenulistButtonPart: |
322 case TextFieldPart: | 328 case TextFieldPart: |
323 case TextAreaPart: | 329 case TextAreaPart: |
324 return true; | 330 return true; |
325 case SearchFieldPart: | 331 case SearchFieldPart: |
326 return paintSearchField(o, paintInfo, r); | 332 return paintSearchField(o, paintInfo, r); |
327 case SearchFieldCancelButtonPart: | 333 case SearchFieldCancelButtonPart: |
328 return paintSearchFieldCancelButton(o, paintInfo, r); | 334 return paintSearchFieldCancelButton(o, paintInfo, r); |
329 case SearchFieldDecorationPart: | 335 case SearchFieldDecorationPart: |
330 return paintSearchFieldDecoration(o, paintInfo, r); | 336 return paintSearchFieldDecoration(o, paintInfo, r); |
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1215 | 1221 |
1216 // padding - not honored by WinIE, needs to be removed. | 1222 // padding - not honored by WinIE, needs to be removed. |
1217 style->resetPadding(); | 1223 style->resetPadding(); |
1218 | 1224 |
1219 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) | 1225 // border - honored by WinIE, but looks terrible (just paints in the control
box and turns off the Windows XP theme) |
1220 // for now, we will not honor it. | 1226 // for now, we will not honor it. |
1221 style->resetBorder(); | 1227 style->resetBorder(); |
1222 } | 1228 } |
1223 | 1229 |
1224 } // namespace blink | 1230 } // namespace blink |
OLD | NEW |