| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 return true; | 134 return true; |
| 135 case MediaCastOffButtonPart: | 135 case MediaCastOffButtonPart: |
| 136 case MediaOverlayCastOffButtonPart: | 136 case MediaOverlayCastOffButtonPart: |
| 137 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); | 137 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); |
| 138 case MediaTrackSelectionCheckmarkPart: | 138 case MediaTrackSelectionCheckmarkPart: |
| 139 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); | 139 return MediaControlsPainter::paintMediaTrackSelectionCheckmark(o, paintI
nfo, r); |
| 140 case MediaClosedCaptionsIconPart: | 140 case MediaClosedCaptionsIconPart: |
| 141 return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo,
r); | 141 return MediaControlsPainter::paintMediaClosedCaptionsIcon(o, paintInfo,
r); |
| 142 case MediaSubtitlesIconPart: | 142 case MediaSubtitlesIconPart: |
| 143 return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r); | 143 return MediaControlsPainter::paintMediaSubtitlesIcon(o, paintInfo, r); |
| 144 case MediaOverflowMenuButtonPart: |
| 145 return MediaControlsPainter::paintMediaOverflowMenu(o, paintInfo, r); |
| 144 case MenulistButtonPart: | 146 case MenulistButtonPart: |
| 145 case TextFieldPart: | 147 case TextFieldPart: |
| 146 case TextAreaPart: | 148 case TextAreaPart: |
| 147 return true; | 149 return true; |
| 148 case SearchFieldPart: | 150 case SearchFieldPart: |
| 149 return paintSearchField(o, paintInfo, r); | 151 return paintSearchField(o, paintInfo, r); |
| 150 case SearchFieldCancelButtonPart: | 152 case SearchFieldCancelButtonPart: |
| 151 return paintSearchFieldCancelButton(o, paintInfo, r); | 153 return paintSearchFieldCancelButton(o, paintInfo, r); |
| 152 default: | 154 default: |
| 153 break; | 155 break; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 357 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
| 356 i.context.scale(zoomLevel, zoomLevel); | 358 i.context.scale(zoomLevel, zoomLevel); |
| 357 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 359 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
| 358 } | 360 } |
| 359 | 361 |
| 360 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); |
| 361 return false; | 363 return false; |
| 362 } | 364 } |
| 363 | 365 |
| 364 } // namespace blink | 366 } // namespace blink |
| OLD | NEW |