OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 class ImageInputType : public BaseButtonInputType { | 42 class ImageInputType : public BaseButtonInputType { |
43 public: | 43 public: |
44 static PassOwnPtr<InputType> create(HTMLInputElement*); | 44 static PassOwnPtr<InputType> create(HTMLInputElement*); |
45 | 45 |
46 private: | 46 private: |
47 ImageInputType(HTMLInputElement*); | 47 ImageInputType(HTMLInputElement*); |
48 virtual const AtomicString& formControlType() const OVERRIDE; | 48 virtual const AtomicString& formControlType() const OVERRIDE; |
49 virtual bool isFormDataAppendable() const OVERRIDE; | 49 virtual bool isFormDataAppendable() const OVERRIDE; |
50 virtual bool appendFormData(FormDataList&, bool) const OVERRIDE; | 50 virtual bool appendFormData(FormDataList&, bool) const OVERRIDE; |
51 virtual bool supportsValidation() const OVERRIDE; | 51 virtual bool supportsValidation() const OVERRIDE; |
52 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const OVERR
IDE; | 52 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
53 virtual void handleDOMActivateEvent(Event*) OVERRIDE; | 53 virtual void handleDOMActivateEvent(Event*) OVERRIDE; |
54 virtual void altAttributeChanged() OVERRIDE; | 54 virtual void altAttributeChanged() OVERRIDE; |
55 virtual void srcAttributeChanged() OVERRIDE; | 55 virtual void srcAttributeChanged() OVERRIDE; |
56 virtual void attach() OVERRIDE; | 56 virtual void attach() OVERRIDE; |
57 virtual bool shouldRespectAlignAttribute() OVERRIDE; | 57 virtual bool shouldRespectAlignAttribute() OVERRIDE; |
58 virtual bool canBeSuccessfulSubmitButton() OVERRIDE; | 58 virtual bool canBeSuccessfulSubmitButton() OVERRIDE; |
59 virtual bool isImageButton() const OVERRIDE; | 59 virtual bool isImageButton() const OVERRIDE; |
60 virtual bool isEnumeratable() OVERRIDE; | 60 virtual bool isEnumeratable() OVERRIDE; |
61 virtual bool shouldRespectHeightAndWidthAttributes() OVERRIDE; | 61 virtual bool shouldRespectHeightAndWidthAttributes() OVERRIDE; |
62 virtual unsigned height() const OVERRIDE; | 62 virtual unsigned height() const OVERRIDE; |
63 virtual unsigned width() const OVERRIDE; | 63 virtual unsigned width() const OVERRIDE; |
64 | 64 |
65 IntPoint m_clickLocation; // Valid only during HTMLFormElement::prepareForSu
bmission(). | 65 IntPoint m_clickLocation; // Valid only during HTMLFormElement::prepareForSu
bmission(). |
66 }; | 66 }; |
67 | 67 |
68 } // namespace WebCore | 68 } // namespace WebCore |
69 | 69 |
70 #endif // ImageInputType_h | 70 #endif // ImageInputType_h |
OLD | NEW |