Index: Source/core/html/forms/ImageInputType.h |
diff --git a/Source/core/html/forms/ImageInputType.h b/Source/core/html/forms/ImageInputType.h |
index db0172d27662004673cb036cea1bb0d5b06fd542..b3f7786bc3e7cad75edf10df883524e0b3ec81be 100644 |
--- a/Source/core/html/forms/ImageInputType.h |
+++ b/Source/core/html/forms/ImageInputType.h |
@@ -41,6 +41,7 @@ namespace blink { |
class ImageInputType FINAL : public BaseButtonInputType { |
public: |
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&); |
+ virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyle>); |
private: |
ImageInputType(HTMLInputElement&); |
@@ -53,6 +54,7 @@ private: |
virtual void handleDOMActivateEvent(Event*) OVERRIDE; |
virtual void altAttributeChanged() OVERRIDE; |
virtual void srcAttributeChanged() OVERRIDE; |
+ virtual void valueAttributeChanged() OVERRIDE; |
virtual void startResourceLoading() OVERRIDE; |
virtual bool shouldRespectAlignAttribute() OVERRIDE; |
virtual bool canBeSuccessfulSubmitButton() OVERRIDE; |
@@ -62,8 +64,15 @@ private: |
virtual unsigned width() const OVERRIDE; |
virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE; |
virtual const QualifiedName& subResourceAttributeName() const OVERRIDE; |
+ virtual void ensureFallbackContent() OVERRIDE; |
+ virtual void ensurePrimaryContent() OVERRIDE; |
+ virtual void createShadowSubtree() OVERRIDE; |
+ |
+ void reattachFallbackContent(); |
+ void setUseFallbackContent(); |
IntPoint m_clickLocation; // Valid only during HTMLFormElement::prepareForSubmission(). |
+ bool m_useFallbackContent; |
}; |
} // namespace blink |