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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: | 144 case MediaOverflowMenuButtonPart: |
145 return MediaControlsPainter::paintMediaOverflowMenu(o, paintInfo, r); | 145 return MediaControlsPainter::paintMediaOverflowMenu(o, paintInfo, r); |
| 146 case MediaDownloadIconPart: |
| 147 return MediaControlsPainter::paintMediaDownloadIcon(o, paintInfo, r); |
146 case MenulistButtonPart: | 148 case MenulistButtonPart: |
147 case TextFieldPart: | 149 case TextFieldPart: |
148 case TextAreaPart: | 150 case TextAreaPart: |
149 return true; | 151 return true; |
150 case SearchFieldPart: | 152 case SearchFieldPart: |
151 return paintSearchField(o, paintInfo, r); | 153 return paintSearchField(o, paintInfo, r); |
152 case SearchFieldCancelButtonPart: | 154 case SearchFieldCancelButtonPart: |
153 return paintSearchFieldCancelButton(o, paintInfo, r); | 155 return paintSearchFieldCancelButton(o, paintInfo, r); |
154 default: | 156 default: |
155 break; | 157 break; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); | 359 i.context.translate(unzoomedRect.x(), unzoomedRect.y()); |
358 i.context.scale(zoomLevel, zoomLevel); | 360 i.context.scale(zoomLevel, zoomLevel); |
359 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); | 361 i.context.translate(-unzoomedRect.x(), -unzoomedRect.y()); |
360 } | 362 } |
361 | 363 |
362 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 364 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
363 return false; | 365 return false; |
364 } | 366 } |
365 | 367 |
366 } // namespace blink | 368 } // namespace blink |
OLD | NEW |