| Index: Source/core/rendering/RenderSliderContainer.h
|
| diff --git a/Source/core/html/forms/ButtonInputType.h b/Source/core/rendering/RenderSliderContainer.h
|
| similarity index 71%
|
| copy from Source/core/html/forms/ButtonInputType.h
|
| copy to Source/core/rendering/RenderSliderContainer.h
|
| index 5b187710d3a349d72d3b105c0692f481f922790a..8a8ade3b6241b2c0c075ed43dd5c2238261d5297 100644
|
| --- a/Source/core/html/forms/ButtonInputType.h
|
| +++ b/Source/core/rendering/RenderSliderContainer.h
|
| @@ -1,4 +1,5 @@
|
| /*
|
| + * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
|
| * Copyright (C) 2010 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| @@ -28,24 +29,26 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef ButtonInputType_h
|
| -#define ButtonInputType_h
|
| +#ifndef RenderSliderContainer_h
|
| +#define RenderSliderContainer_h
|
|
|
| -#include "core/html/forms/BaseButtonInputType.h"
|
| +#include "core/rendering/RenderFlexibleBox.h"
|
|
|
| namespace WebCore {
|
|
|
| -class ButtonInputType FINAL : public BaseButtonInputType {
|
| +class SliderContainerElement;
|
| +
|
| +// FIXME: Find a way to cascade appearance and adjust heights, and get rid of this class.
|
| +// http://webkit.org/b/62535
|
| +class RenderSliderContainer : public RenderFlexibleBox {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
|
| + RenderSliderContainer(SliderContainerElement*);
|
| + virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const OVERRIDE;
|
|
|
| private:
|
| - ButtonInputType(HTMLInputElement& element) : BaseButtonInputType(element) { }
|
| - virtual const AtomicString& formControlType() const OVERRIDE;
|
| - virtual bool supportsValidation() const OVERRIDE;
|
| - virtual bool isTextButton() const OVERRIDE;
|
| + virtual void layout() OVERRIDE;
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // ButtonInputType_h
|
| +#endif // RenderSliderContainer_h
|
|
|