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

Unified Diff: Source/core/rendering/RenderSliderContainer.h

Issue 403523003: Move Shadow DOM renderers into rendering/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | Source/core/rendering/RenderSliderContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | Source/core/rendering/RenderSliderContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698