| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 return true; | 149 return true; |
| 150 case MediaCastOffButtonPart: | 150 case MediaCastOffButtonPart: |
| 151 case MediaOverlayCastOffButtonPart: | 151 case MediaOverlayCastOffButtonPart: |
| 152 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); | 152 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); |
| 153 case MediaTrackSelectionCheckmarkPart: | 153 case MediaTrackSelectionCheckmarkPart: |
| 154 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); | 154 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); |
| 155 case MediaClosedCaptionsIconPart: | 155 case MediaClosedCaptionsIconPart: |
| 156 return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo,
r); | 156 return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo,
r); |
| 157 case MediaSubtitlesIconPart: | 157 case MediaSubtitlesIconPart: |
| 158 return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r); | 158 return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r); |
| 159 case MediaOverflowMenuButtonPart: |
| 160 return MediaControlsPainter::paintMediaOverflowMenu(o, paintInfo, r); |
| 159 case MenulistButtonPart: | 161 case MenulistButtonPart: |
| 160 case TextFieldPart: | 162 case TextFieldPart: |
| 161 case TextAreaPart: | 163 case TextAreaPart: |
| 162 return true; | 164 return true; |
| 163 case SearchFieldPart: | 165 case SearchFieldPart: |
| 164 return paintSearchField(o, paintInfo, r); | 166 return paintSearchField(o, paintInfo, r); |
| 165 case SearchFieldCancelButtonPart: | 167 case SearchFieldCancelButtonPart: |
| 166 return paintSearchFieldCancelButton(o, paintInfo, r); | 168 return paintSearchFieldCancelButton(o, paintInfo, r); |
| 167 default: | 169 default: |
| 168 break; | 170 break; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 372 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
| 371 i.context.scale(zoomLevel, zoomLevel); | 373 i.context.scale(zoomLevel, zoomLevel); |
| 372 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 374 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
| 373 } | 375 } |
| 374 | 376 |
| 375 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 377 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
| 376 return false; | 378 return false; |
| 377 } | 379 } |
| 378 | 380 |
| 379 } // namespace blink | 381 } // namespace blink |
| OLD | NEW |