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

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

Issue 2669213002: Remove spelling markers in disabled and readonly form elements
Patch Set: Created 3 years, 10 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, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool blocksFormSubmission() const { return m_blocksFormSubmission; } 135 bool blocksFormSubmission() const { return m_blocksFormSubmission; }
136 void setBlocksFormSubmission(bool value) { m_blocksFormSubmission = value; } 136 void setBlocksFormSubmission(bool value) { m_blocksFormSubmission = value; }
137 137
138 protected: 138 protected:
139 HTMLFormControlElement(const QualifiedName& tagName, Document&); 139 HTMLFormControlElement(const QualifiedName& tagName, Document&);
140 140
141 void attributeChanged(const AttributeModificationParams&) override; 141 void attributeChanged(const AttributeModificationParams&) override;
142 void parseAttribute(const AttributeModificationParams&) override; 142 void parseAttribute(const AttributeModificationParams&) override;
143 virtual void requiredAttributeChanged(); 143 virtual void requiredAttributeChanged();
144 virtual void disabledAttributeChanged(); 144 virtual void disabledAttributeChanged();
145 virtual void readonlyAttributeChanged(){};
145 void attachLayoutTree(const AttachContext& = AttachContext()) override; 146 void attachLayoutTree(const AttachContext& = AttachContext()) override;
146 InsertionNotificationRequest insertedInto(ContainerNode*) override; 147 InsertionNotificationRequest insertedInto(ContainerNode*) override;
147 void removedFrom(ContainerNode*) override; 148 void removedFrom(ContainerNode*) override;
148 void willChangeForm() override; 149 void willChangeForm() override;
149 void didChangeForm() override; 150 void didChangeForm() override;
150 void didMoveToNewDocument(Document& oldDocument) override; 151 void didMoveToNewDocument(Document& oldDocument) override;
151 152
152 bool supportsFocus() const override; 153 bool supportsFocus() const override;
153 bool isKeyboardFocusable() const override; 154 bool isKeyboardFocusable() const override;
154 virtual bool shouldShowFocusRingOnMouseFocus() const; 155 virtual bool shouldShowFocusRingOnMouseFocus() const;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); 221 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement);
221 DEFINE_TYPE_CASTS(HTMLFormControlElement, 222 DEFINE_TYPE_CASTS(HTMLFormControlElement,
222 ListedElement, 223 ListedElement,
223 control, 224 control,
224 control->isFormControlElement(), 225 control->isFormControlElement(),
225 control.isFormControlElement()); 226 control.isFormControlElement());
226 227
227 } // namespace blink 228 } // namespace blink
228 229
229 #endif 230 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698