| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef HTMLOutputElement_h | 31 #ifndef HTMLOutputElement_h |
| 32 #define HTMLOutputElement_h | 32 #define HTMLOutputElement_h |
| 33 | 33 |
| 34 #include "DOMSettableTokenList.h" | 34 #include "DOMSettableTokenList.h" |
| 35 #include "HTMLFormControlElement.h" | 35 #include "HTMLFormControlElement.h" |
| 36 #include <wtf/OwnPtr.h> | 36 #include <wtf/OwnPtr.h> |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class HTMLOutputElement : public HTMLFormControlElement { | 40 class HTMLOutputElement FINAL : public HTMLFormControlElement { |
| 41 public: | 41 public: |
| 42 static PassRefPtr<HTMLOutputElement> create(const QualifiedName&, Document*,
HTMLFormElement*); | 42 static PassRefPtr<HTMLOutputElement> create(const QualifiedName&, Document*,
HTMLFormElement*); |
| 43 | 43 |
| 44 virtual bool willValidate() const { return false; } | 44 virtual bool willValidate() const { return false; } |
| 45 | 45 |
| 46 String value() const; | 46 String value() const; |
| 47 void setValue(const String&); | 47 void setValue(const String&); |
| 48 String defaultValue() const; | 48 String defaultValue() const; |
| 49 void setDefaultValue(const String&); | 49 void setDefaultValue(const String&); |
| 50 void setFor(const String&); | 50 void setFor(const String&); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 bool m_isDefaultValueMode; | 68 bool m_isDefaultValueMode; |
| 69 bool m_isSetTextContentInProgress; | 69 bool m_isSetTextContentInProgress; |
| 70 String m_defaultValue; | 70 String m_defaultValue; |
| 71 RefPtr<DOMSettableTokenList> m_tokens; | 71 RefPtr<DOMSettableTokenList> m_tokens; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace | 74 } // namespace |
| 75 | 75 |
| 76 #endif | 76 #endif |
| OLD | NEW |