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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool canContainRangeEndPoint() const override { return false; } | 55 bool canContainRangeEndPoint() const override { return false; } |
56 | 56 |
57 DECLARE_VIRTUAL_TRACE(); | 57 DECLARE_VIRTUAL_TRACE(); |
58 | 58 |
59 private: | 59 private: |
60 HTMLOutputElement(Document&, HTMLFormElement*); | 60 HTMLOutputElement(Document&, HTMLFormElement*); |
61 | 61 |
62 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; | 62 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; |
63 const AtomicString& formControlType() const override; | 63 const AtomicString& formControlType() const override; |
64 bool isDisabledFormControl() const override; | 64 bool isDisabledFormControl() const override; |
| 65 bool matchesEnabledPseudoClass() const override; |
65 bool isEnumeratable() const override { return true; } | 66 bool isEnumeratable() const override { return true; } |
66 bool supportLabels() const override { return true; } | 67 bool supportLabels() const override { return true; } |
67 bool supportsFocus() const override; | 68 bool supportsFocus() const override; |
68 void childrenChanged(const ChildrenChange&) override; | 69 void childrenChanged(const ChildrenChange&) override; |
69 void resetImpl() override; | 70 void resetImpl() override; |
70 | 71 |
71 void valueWasSet() final; | 72 void valueWasSet() final; |
72 | 73 |
73 bool m_isDefaultValueMode; | 74 bool m_isDefaultValueMode; |
74 String m_defaultValue; | 75 String m_defaultValue; |
75 Member<DOMTokenList> m_tokens; | 76 Member<DOMTokenList> m_tokens; |
76 }; | 77 }; |
77 | 78 |
78 } // namespace blink | 79 } // namespace blink |
79 | 80 |
80 #endif // HTMLOutputElement_h | 81 #endif // HTMLOutputElement_h |
OLD | NEW |