Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.h

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void setFor(const AtomicString&); 54 void setFor(const AtomicString&);
55 DOMTokenList* htmlFor() const; 55 DOMTokenList* htmlFor() const;
56 56
57 bool canContainRangeEndPoint() const override { return false; } 57 bool canContainRangeEndPoint() const override { return false; }
58 58
59 DECLARE_VIRTUAL_TRACE(); 59 DECLARE_VIRTUAL_TRACE();
60 60
61 private: 61 private:
62 explicit HTMLOutputElement(Document&); 62 explicit HTMLOutputElement(Document&);
63 63
64 void parseAttribute(const QualifiedName&, 64 void parseAttribute(const AttributeModificationParams&) override;
65 const AtomicString&,
66 const AtomicString&) override;
67 const AtomicString& formControlType() const override; 65 const AtomicString& formControlType() const override;
68 bool isDisabledFormControl() const override; 66 bool isDisabledFormControl() const override;
69 bool matchesEnabledPseudoClass() const override; 67 bool matchesEnabledPseudoClass() const override;
70 bool isEnumeratable() const override { return true; } 68 bool isEnumeratable() const override { return true; }
71 bool supportLabels() const override { return true; } 69 bool supportLabels() const override { return true; }
72 bool supportsFocus() const override; 70 bool supportsFocus() const override;
73 void childrenChanged(const ChildrenChange&) override; 71 void childrenChanged(const ChildrenChange&) override;
74 void resetImpl() override; 72 void resetImpl() override;
75 int tabIndex() const override; 73 int tabIndex() const override;
76 74
77 void valueWasSet() final; 75 void valueWasSet() final;
78 76
79 bool m_isDefaultValueMode; 77 bool m_isDefaultValueMode;
80 String m_defaultValue; 78 String m_defaultValue;
81 Member<DOMTokenList> m_tokens; 79 Member<DOMTokenList> m_tokens;
82 }; 80 };
83 81
84 } // namespace blink 82 } // namespace blink
85 83
86 #endif // HTMLOutputElement_h 84 #endif // HTMLOutputElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLOutputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698