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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 String value() const; | 45 String value() const; |
46 void setValue(const String&); | 46 void setValue(const String&); |
47 String defaultValue() const; | 47 String defaultValue() const; |
48 void setDefaultValue(const String&); | 48 void setDefaultValue(const String&); |
49 void setFor(const AtomicString&); | 49 void setFor(const AtomicString&); |
50 DOMSettableTokenList* htmlFor() const; | 50 DOMSettableTokenList* htmlFor() const; |
51 | 51 |
52 virtual bool canContainRangeEndPoint() const OVERRIDE { return false; } | 52 virtual bool canContainRangeEndPoint() const OVERRIDE { return false; } |
53 | 53 |
| 54 virtual void trace(Visitor*) OVERRIDE; |
| 55 |
54 private: | 56 private: |
55 HTMLOutputElement(Document&, HTMLFormElement*); | 57 HTMLOutputElement(Document&, HTMLFormElement*); |
56 | 58 |
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 59 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
58 virtual const AtomicString& formControlType() const OVERRIDE; | 60 virtual const AtomicString& formControlType() const OVERRIDE; |
59 virtual bool isEnumeratable() const OVERRIDE { return true; } | 61 virtual bool isEnumeratable() const OVERRIDE { return true; } |
60 virtual bool supportLabels() const OVERRIDE { return true; } | 62 virtual bool supportLabels() const OVERRIDE { return true; } |
61 virtual bool supportsFocus() const OVERRIDE; | 63 virtual bool supportsFocus() const OVERRIDE; |
62 virtual void childrenChanged(bool createdByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 64 virtual void childrenChanged(bool createdByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
63 virtual void resetImpl() OVERRIDE; | 65 virtual void resetImpl() OVERRIDE; |
64 | 66 |
65 bool m_isDefaultValueMode; | 67 bool m_isDefaultValueMode; |
66 String m_defaultValue; | 68 String m_defaultValue; |
67 RefPtr<DOMSettableTokenList> m_tokens; | 69 RefPtrWillBeMember<DOMSettableTokenList> m_tokens; |
68 }; | 70 }; |
69 | 71 |
70 } // namespace | 72 } // namespace |
71 | 73 |
72 #endif | 74 #endif |
OLD | NEW |