Commit f3da9695 authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Slider NG: Rename blink::LayoutSliderContainer

to LayoutSliderTrack.
Renaming files will follow.

This CL has no behavior changes.

Bug: 1040826
Change-Id: Id921157a65e70e81284ce50cbef843301d8693ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2394980
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804697}
parent 46978aa9
......@@ -13,7 +13,7 @@ SliderTrackElement::SliderTrackElement(Document& document)
LayoutObject* SliderTrackElement::CreateLayoutObject(const ComputedStyle& style,
LegacyLayout legacy) {
return new LayoutSliderContainer(this);
return new LayoutSliderTrack(this);
}
} // namespace blink
......@@ -40,7 +40,7 @@
namespace blink {
LayoutSliderContainer::LayoutSliderContainer(SliderTrackElement* element)
LayoutSliderTrack::LayoutSliderTrack(SliderTrackElement* element)
: LayoutBlockFlow(element) {}
inline static Decimal SliderPosition(HTMLInputElement* element) {
......@@ -50,7 +50,7 @@ inline static Decimal SliderPosition(HTMLInputElement* element) {
return step_range.ProportionFromValue(step_range.ClampValue(old_value));
}
void LayoutSliderContainer::UpdateLayout() {
void LayoutSliderTrack::UpdateLayout() {
auto* input = To<HTMLInputElement>(GetNode()->OwnerShadowHost());
const bool is_vertical = !StyleRef().IsHorizontalWritingMode();
......
......@@ -38,10 +38,9 @@ namespace blink {
class SliderTrackElement;
// This class should be renamed.
class LayoutSliderContainer final : public LayoutBlockFlow {
class LayoutSliderTrack final : public LayoutBlockFlow {
public:
explicit LayoutSliderContainer(SliderTrackElement*);
explicit LayoutSliderTrack(SliderTrackElement*);
private:
void UpdateLayout() override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment