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

Unified Diff: Source/core/html/forms/InputType.h

Issue 255163002: Dispatch change event for input type=checkbox when checked but value is null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: "Fix compilation error on Windows and MAC" Created 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/forms/InputType.h
diff --git a/Source/core/html/forms/InputType.h b/Source/core/html/forms/InputType.h
index 20f415a8329aebd92d56ee858e402ad4c3361353..c5fa3aebd8e87f361c5fa3de259a721116e5b755 100644
--- a/Source/core/html/forms/InputType.h
+++ b/Source/core/html/forms/InputType.h
@@ -220,6 +220,8 @@ public:
virtual bool shouldSubmitImplicitly(Event*) OVERRIDE;
virtual bool hasCustomFocusLogic() const OVERRIDE;
+ virtual bool shouldDispatchFormControlChangeEvent(String&, String&);
+
protected:
InputType(HTMLInputElement& element) : InputTypeView(element) { }
Chrome* chrome() const;

Powered by Google App Engine
This is Rietveld 408576698