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

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: Reenable previously crashing tests - now fixed Created 6 years, 3 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
« no previous file with comments | « Source/core/rendering/RenderTheme.h ('k') | Source/core/rendering/RenderThemeChromiumSkia.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 case MediaFullScreenVolumeSliderPart: 304 case MediaFullScreenVolumeSliderPart:
305 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r); 305 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r);
306 case MediaFullScreenVolumeSliderThumbPart: 306 case MediaFullScreenVolumeSliderThumbPart:
307 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r); 307 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r);
308 case MediaTimeRemainingPart: 308 case MediaTimeRemainingPart:
309 return paintMediaTimeRemaining(o, paintInfo, r); 309 return paintMediaTimeRemaining(o, paintInfo, r);
310 case MediaCurrentTimePart: 310 case MediaCurrentTimePart:
311 return paintMediaCurrentTime(o, paintInfo, r); 311 return paintMediaCurrentTime(o, paintInfo, r);
312 case MediaControlsBackgroundPart: 312 case MediaControlsBackgroundPart:
313 return paintMediaControlsBackground(o, paintInfo, r); 313 return paintMediaControlsBackground(o, paintInfo, r);
314 case MediaCastOffButtonPart:
315 return paintMediaCastButton(o, paintInfo, r);
316 case MediaOverlayCastOffButtonPart:
317 return paintMediaCastButton(o, paintInfo, r);
314 case MenulistButtonPart: 318 case MenulistButtonPart:
315 case TextFieldPart: 319 case TextFieldPart:
316 case TextAreaPart: 320 case TextAreaPart:
317 return true; 321 return true;
318 case SearchFieldPart: 322 case SearchFieldPart:
319 return paintSearchField(o, paintInfo, r); 323 return paintSearchField(o, paintInfo, r);
320 case SearchFieldCancelButtonPart: 324 case SearchFieldCancelButtonPart:
321 return paintSearchFieldCancelButton(o, paintInfo, r); 325 return paintSearchFieldCancelButton(o, paintInfo, r);
322 case SearchFieldDecorationPart: 326 case SearchFieldDecorationPart:
323 return paintSearchFieldDecoration(o, paintInfo, r); 327 return paintSearchFieldDecoration(o, paintInfo, r);
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 1201
1198 // padding - not honored by WinIE, needs to be removed. 1202 // padding - not honored by WinIE, needs to be removed.
1199 style->resetPadding(); 1203 style->resetPadding();
1200 1204
1201 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme) 1205 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme)
1202 // for now, we will not honor it. 1206 // for now, we will not honor it.
1203 style->resetBorder(); 1207 style->resetBorder();
1204 } 1208 }
1205 1209
1206 } // namespace blink 1210 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.h ('k') | Source/core/rendering/RenderThemeChromiumSkia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698