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

Side by Side Diff: Source/core/layout/LayoutTheme.cpp

Issue 1082533002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 case MediaVolumeSliderThumbPart: 306 case MediaVolumeSliderThumbPart:
307 return paintMediaVolumeSliderThumb(o, paintInfo, r); 307 return paintMediaVolumeSliderThumb(o, paintInfo, r);
308 case MediaFullScreenVolumeSliderPart: 308 case MediaFullScreenVolumeSliderPart:
309 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r); 309 return paintMediaFullScreenVolumeSliderTrack(o, paintInfo, r);
310 case MediaFullScreenVolumeSliderThumbPart: 310 case MediaFullScreenVolumeSliderThumbPart:
311 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r); 311 return paintMediaFullScreenVolumeSliderThumb(o, paintInfo, r);
312 case MediaTimeRemainingPart: 312 case MediaTimeRemainingPart:
313 return paintMediaTimeRemaining(o, paintInfo, r); 313 return paintMediaTimeRemaining(o, paintInfo, r);
314 case MediaCurrentTimePart: 314 case MediaCurrentTimePart:
315 return paintMediaCurrentTime(o, paintInfo, r); 315 return paintMediaCurrentTime(o, paintInfo, r);
316 case MediaTrackSelectionCheckmarkPart:
317 return paintMediaTrackSelectionCheckmark(o, paintInfo, r);
316 case MediaControlsBackgroundPart: 318 case MediaControlsBackgroundPart:
317 return paintMediaControlsBackground(o, paintInfo, r); 319 return paintMediaControlsBackground(o, paintInfo, r);
318 case MediaCastOffButtonPart: 320 case MediaCastOffButtonPart:
319 return paintMediaCastButton(o, paintInfo, r); 321 return paintMediaCastButton(o, paintInfo, r);
320 case MediaOverlayCastOffButtonPart: 322 case MediaOverlayCastOffButtonPart:
321 return paintMediaCastButton(o, paintInfo, r); 323 return paintMediaCastButton(o, paintInfo, r);
322 case MenulistButtonPart: 324 case MenulistButtonPart:
323 case TextFieldPart: 325 case TextFieldPart:
324 case TextAreaPart: 326 case TextAreaPart:
325 return true; 327 return true;
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 1246
1245 // padding - not honored by WinIE, needs to be removed. 1247 // padding - not honored by WinIE, needs to be removed.
1246 style.resetPadding(); 1248 style.resetPadding();
1247 1249
1248 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme) 1250 // border - honored by WinIE, but looks terrible (just paints in the control box and turns off the Windows XP theme)
1249 // for now, we will not honor it. 1251 // for now, we will not honor it.
1250 style.resetBorder(); 1252 style.resetBorder();
1251 } 1253 }
1252 1254
1253 } // namespace blink 1255 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698