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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.h

Issue 2669213002: Remove spelling markers in disabled and readonly form elements
Patch Set: Fix test fast/css/invalidation/read-only-write-pseudo.html 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/TextControlElement.h
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.h b/third_party/WebKit/Source/core/html/TextControlElement.h
index 79ee9879424fafa87f450ea00808271c2f7eafed..5ed41187f6962732f466b24ca4081761d8cba864 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.h
+++ b/third_party/WebKit/Source/core/html/TextControlElement.h
@@ -156,6 +156,8 @@ class CORE_EXPORT TextControlElement : public HTMLFormControlElementWithState {
virtual bool shouldDispatchFormControlChangeEvent(String&, String&);
void copyNonAttributePropertiesFromElement(const Element&) override;
+ void attributeChanged(const AttributeModificationParams&) override;
tkent 2017/02/06 23:28:07 You don't need to override |attributeChanged|. You
Manuel Rego 2017/02/07 10:26:24 Done.
+
private:
int computeSelectionStart() const;
int computeSelectionEnd() const;

Powered by Google App Engine
This is Rietveld 408576698