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 case MediaVolumeSliderThumbPart: | 134 case MediaVolumeSliderThumbPart: |
135 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); | 135 return MediaControlsPainter::paintMediaVolumeSliderThumb(o, paintInfo, r
); |
136 case MediaFullScreenVolumeSliderPart: | 136 case MediaFullScreenVolumeSliderPart: |
137 case MediaFullScreenVolumeSliderThumbPart: | 137 case MediaFullScreenVolumeSliderThumbPart: |
138 case MediaTimeRemainingPart: | 138 case MediaTimeRemainingPart: |
139 case MediaCurrentTimePart: | 139 case MediaCurrentTimePart: |
140 case MediaControlsBackgroundPart: | 140 case MediaControlsBackgroundPart: |
141 return true; | 141 return true; |
142 case MediaCastOffButtonPart: | 142 case MediaCastOffButtonPart: |
143 case MediaOverlayCastOffButtonPart: | 143 case MediaOverlayCastOffButtonPart: |
144 return paintMediaCastButton(o, paintInfo, r); | 144 return MediaControlsPainter::paintMediaCastButton(o, paintInfo, r); |
145 case MenulistButtonPart: | 145 case MenulistButtonPart: |
146 case TextFieldPart: | 146 case TextFieldPart: |
147 case TextAreaPart: | 147 case TextAreaPart: |
148 return true; | 148 return true; |
149 case SearchFieldPart: | 149 case SearchFieldPart: |
150 return paintSearchField(o, paintInfo, r); | 150 return paintSearchField(o, paintInfo, r); |
151 case SearchFieldCancelButtonPart: | 151 case SearchFieldCancelButtonPart: |
152 return paintSearchFieldCancelButton(o, paintInfo, r); | 152 return paintSearchFieldCancelButton(o, paintInfo, r); |
153 case SearchFieldDecorationPart: | 153 case SearchFieldDecorationPart: |
154 return paintSearchFieldDecoration(o, paintInfo, r); | 154 return paintSearchFieldDecoration(o, paintInfo, r); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 i.context->translate(unzoomedRect.x(), unzoomedRect.y()); | 369 i.context->translate(unzoomedRect.x(), unzoomedRect.y()); |
370 i.context->scale(zoomLevel, zoomLevel); | 370 i.context->scale(zoomLevel, zoomLevel); |
371 i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); | 371 i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); |
372 } | 372 } |
373 | 373 |
374 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); | 374 Platform::current()->fallbackThemeEngine()->paint(canvas, WebFallbackThemeEn
gine::PartRadio, getWebFallbackThemeState(o), WebRect(unzoomedRect), &extraParam
s); |
375 return false; | 375 return false; |
376 } | 376 } |
377 | 377 |
378 } // namespace blink | 378 } // namespace blink |
OLD | NEW |