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

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

Issue 1928443002: Remove element related checks for PseudoDisabled css class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 int listIndex() const; 87 int listIndex() const;
88 88
89 private: 89 private:
90 explicit HTMLOptionElement(Document&); 90 explicit HTMLOptionElement(Document&);
91 ~HTMLOptionElement(); 91 ~HTMLOptionElement();
92 92
93 bool supportsFocus() const override; 93 bool supportsFocus() const override;
94 bool matchesDefaultPseudoClass() const override; 94 bool matchesDefaultPseudoClass() const override;
95 bool matchesEnabledPseudoClass() const override; 95 bool matchesEnabledPseudoClass() const override;
96 bool matchesDisabledPseudoClass() const override;
96 void attach(const AttachContext& = AttachContext()) override; 97 void attach(const AttachContext& = AttachContext()) override;
97 void detach(const AttachContext& = AttachContext()) override; 98 void detach(const AttachContext& = AttachContext()) override;
98 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; 99 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override;
99 InsertionNotificationRequest insertedInto(ContainerNode*) override; 100 InsertionNotificationRequest insertedInto(ContainerNode*) override;
100 void removedFrom(ContainerNode*) override; 101 void removedFrom(ContainerNode*) override;
101 void accessKeyAction(bool) override; 102 void accessKeyAction(bool) override;
102 void childrenChanged(const ChildrenChange&) override; 103 void childrenChanged(const ChildrenChange&) override;
103 104
104 // <option> never has a layoutObject so we manually manage a cached style. 105 // <option> never has a layoutObject so we manually manage a cached style.
105 void updateNonComputedStyle(); 106 void updateNonComputedStyle();
(...skipping 10 matching lines...) Expand all
116 bool m_isSelected; 117 bool m_isSelected;
117 // Represents 'dirtiness'. 118 // Represents 'dirtiness'.
118 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines s 119 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines s
119 bool m_isDirty = false; 120 bool m_isDirty = false;
120 RefPtr<ComputedStyle> m_style; 121 RefPtr<ComputedStyle> m_style;
121 }; 122 };
122 123
123 } // namespace blink 124 } // namespace blink
124 125
125 #endif // HTMLOptionElement_h 126 #endif // HTMLOptionElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698