Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: Source/core/rendering/RenderTheme.cpp

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make sure cast button intercepts touches Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 case MediaFullScreenVolumeSliderPart: 303 case MediaFullScreenVolumeSliderPart:
304 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r); 304 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r);
305 case MediaFullScreenVolumeSliderThumbPart: 305 case MediaFullScreenVolumeSliderThumbPart:
306 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r); 306 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r);
307 case MediaTimeRemainingPart: 307 case MediaTimeRemainingPart:
308 return paintMediaTimeRemaining(o, paintInfo, r); 308 return paintMediaTimeRemaining(o, paintInfo, r);
309 case MediaCurrentTimePart: 309 case MediaCurrentTimePart:
310 return paintMediaCurrentTime(o, paintInfo, r); 310 return paintMediaCurrentTime(o, paintInfo, r);
311 case MediaControlsBackgroundPart: 311 case MediaControlsBackgroundPart:
312 return paintMediaControlsBackground(o, paintInfo, r); 312 return paintMediaControlsBackground(o, paintInfo, r);
313 case MediaCastOffButtonPart:
314 case MediaCastOnButtonPart:
315 return paintMediaCastButton(o, paintInfo, r);
316 case MediaOverlayCastOffButtonPart:
317 case MediaOverlayCastOnButtonPart:
318 return paintMediaOverlayCastButton(o, paintInfo, r);
313 case MenulistButtonPart: 319 case MenulistButtonPart:
314 case TextFieldPart: 320 case TextFieldPart:
315 case TextAreaPart: 321 case TextAreaPart:
316 return true; 322 return true;
317 case SearchFieldPart: 323 case SearchFieldPart:
318 return paintSearchField(o, paintInfo, r); 324 return paintSearchField(o, paintInfo, r);
319 case SearchFieldCancelButtonPart: 325 case SearchFieldCancelButtonPart:
320 return paintSearchFieldCancelButton(o, paintInfo, r); 326 return paintSearchFieldCancelButton(o, paintInfo, r);
321 case SearchFieldDecorationPart: 327 case SearchFieldDecorationPart:
322 return paintSearchFieldDecoration(o, paintInfo, r); 328 return paintSearchFieldDecoration(o, paintInfo, r);
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 1212
1207 // padding - not honored by WinIE, needs to be removed. 1213 // padding - not honored by WinIE, needs to be removed.
1208 style->resetPadding(); 1214 style->resetPadding();
1209 1215
1210 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme) 1216 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme)
1211 // for now, we will not honor it. 1217 // for now, we will not honor it.
1212 style->resetBorder(); 1218 style->resetBorder();
1213 } 1219 }
1214 1220
1215 } // namespace blink 1221 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698