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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); | 130 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); |
131 case MediaFullScreenVolumeSliderPart: | 131 case MediaFullScreenVolumeSliderPart: |
132 case MediaFullScreenVolumeSliderThumbPart: | 132 case MediaFullScreenVolumeSliderThumbPart: |
133 case MediaTimeRemainingPart: | 133 case MediaTimeRemainingPart: |
134 case MediaCurrentTimePart: | 134 case MediaCurrentTimePart: |
135 case MediaControlsBackgroundPart: | 135 case MediaControlsBackgroundPart: |
136 return true; | 136 return true; |
137 case MediaCastOffButtonPart: | 137 case MediaCastOffButtonPart: |
138 case MediaOverlayCastOffButtonPart: | 138 case MediaOverlayCastOffButtonPart: |
139 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); | 139 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); |
| 140 case MediaTrackSelectionCheckmarkPart: |
| 141 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); |
| 142 case MediaClosedCaptionsIconPart: |
| 143 return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo,
r); |
| 144 case MediaSubtitlesIconPart: |
| 145 return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r); |
140 case MenulistButtonPart: | 146 case MenulistButtonPart: |
141 case TextFieldPart: | 147 case TextFieldPart: |
142 case TextAreaPart: | 148 case TextAreaPart: |
143 return true; | 149 return true; |
144 case SearchFieldPart: | 150 case SearchFieldPart: |
145 return paintSearchField(o, paintInfo, r); | 151 return paintSearchField(o, paintInfo, r); |
146 case SearchFieldCancelButtonPart: | 152 case SearchFieldCancelButtonPart: |
147 return paintSearchFieldCancelButton(o, paintInfo, r); | 153 return paintSearchFieldCancelButton(o, paintInfo, r); |
148 case SearchFieldDecorationPart: | 154 case SearchFieldDecorationPart: |
149 return paintSearchFieldDecoration(o, paintInfo, r); | 155 return paintSearchFieldDecoration(o, paintInfo, r); |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 357 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
352 i.context.scale(zoomLevel, zoomLevel); | 358 i.context.scale(zoomLevel, zoomLevel); |
353 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 359 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
354 } | 360 } |
355 | 361 |
356 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 362 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
357 return false; | 363 return false; |
358 } | 364 } |
359 | 365 |
360 } // namespace blink | 366 } // namespace blink |
OLD | NEW |