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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutSliderThumb.cpp

Issue 2316983002: Change capitalization FullScreen->Fullscreen where possible in Blink (Closed)
Patch Set: update test expectations Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void LayoutSliderThumb::updateAppearance(const ComputedStyle& parentStyle) 44 void LayoutSliderThumb::updateAppearance(const ComputedStyle& parentStyle)
45 { 45 {
46 if (parentStyle.appearance() == SliderVerticalPart) 46 if (parentStyle.appearance() == SliderVerticalPart)
47 mutableStyleRef().setAppearance(SliderThumbVerticalPart); 47 mutableStyleRef().setAppearance(SliderThumbVerticalPart);
48 else if (parentStyle.appearance() == SliderHorizontalPart) 48 else if (parentStyle.appearance() == SliderHorizontalPart)
49 mutableStyleRef().setAppearance(SliderThumbHorizontalPart); 49 mutableStyleRef().setAppearance(SliderThumbHorizontalPart);
50 else if (parentStyle.appearance() == MediaSliderPart) 50 else if (parentStyle.appearance() == MediaSliderPart)
51 mutableStyleRef().setAppearance(MediaSliderThumbPart); 51 mutableStyleRef().setAppearance(MediaSliderThumbPart);
52 else if (parentStyle.appearance() == MediaVolumeSliderPart) 52 else if (parentStyle.appearance() == MediaVolumeSliderPart)
53 mutableStyleRef().setAppearance(MediaVolumeSliderThumbPart); 53 mutableStyleRef().setAppearance(MediaVolumeSliderThumbPart);
54 else if (parentStyle.appearance() == MediaFullScreenVolumeSliderPart) 54 else if (parentStyle.appearance() == MediaFullscreenVolumeSliderPart)
55 mutableStyleRef().setAppearance(MediaFullScreenVolumeSliderThumbPart); 55 mutableStyleRef().setAppearance(MediaFullscreenVolumeSliderThumbPart);
56 if (styleRef().hasAppearance()) 56 if (styleRef().hasAppearance())
57 LayoutTheme::theme().adjustSliderThumbSize(mutableStyleRef()); 57 LayoutTheme::theme().adjustSliderThumbSize(mutableStyleRef());
58 } 58 }
59 59
60 } // namespace blink 60 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698