| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 case MediaSliderPart: | 118 case MediaSliderPart: |
| 119 return MediaControlsPainter::paintMediaSlider(o, paintInfo, r); | 119 return MediaControlsPainter::paintMediaSlider(o, paintInfo, r); |
| 120 case MediaSliderThumbPart: | 120 case MediaSliderThumbPart: |
| 121 return MediaControlsPainter::paintMediaSliderThumb(o, paintInfo, r); | 121 return MediaControlsPainter::paintMediaSliderThumb(o, paintInfo, r); |
| 122 case MediaVolumeSliderContainerPart: | 122 case MediaVolumeSliderContainerPart: |
| 123 return true; | 123 return true; |
| 124 case MediaVolumeSliderPart: | 124 case MediaVolumeSliderPart: |
| 125 return MediaControlsPainter::paintMediaVolumeSlider(o, paintInfo, r); | 125 return MediaControlsPainter::paintMediaVolumeSlider(o, paintInfo, r); |
| 126 case MediaVolumeSliderThumbPart: | 126 case MediaVolumeSliderThumbPart: |
| 127 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); | 127 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); |
| 128 case MediaFullScreenVolumeSliderPart: | 128 case MediaFullscreenVolumeSliderPart: |
| 129 case MediaFullScreenVolumeSliderThumbPart: | 129 case MediaFullscreenVolumeSliderThumbPart: |
| 130 case MediaTimeRemainingPart: | 130 case MediaTimeRemainingPart: |
| 131 case MediaCurrentTimePart: | 131 case MediaCurrentTimePart: |
| 132 case MediaControlsBackgroundPart: | 132 case MediaControlsBackgroundPart: |
| 133 return true; | 133 return true; |
| 134 case MediaCastOffButtonPart: | 134 case MediaCastOffButtonPart: |
| 135 case MediaOverlayCastOffButtonPart: | 135 case MediaOverlayCastOffButtonPart: |
| 136 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); | 136 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); |
| 137 case MediaTrackSelectionCheckmarkPart: | 137 case MediaTrackSelectionCheckmarkPart: |
| 138 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); | 138 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); |
| 139 case MediaClosedCaptionsIconPart: | 139 case MediaClosedCaptionsIconPart: |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 354 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
| 355 i.context.scale(zoomLevel, zoomLevel); | 355 i.context.scale(zoomLevel, zoomLevel); |
| 356 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 356 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
| 357 } | 357 } |
| 358 | 358 |
| 359 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 359 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
| 360 return false; | 360 return false; |
| 361 } | 361 } |
| 362 | 362 |
| 363 } // namespace blink | 363 } // namespace blink |
| OLD | NEW |