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

Unified Diff: Source/core/html/forms/CheckboxInputType.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: Added tests for Radio to check onchange event trigger 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/CheckboxInputType.h
diff --git a/Source/core/html/forms/CheckboxInputType.h b/Source/core/html/forms/CheckboxInputType.h
index e6d15d7f2fa4d1922877f460c1732c7eec380bb1..7c36d7d7ddc8bf6608cb6624435569873ed01a82 100644
--- a/Source/core/html/forms/CheckboxInputType.h
+++ b/Source/core/html/forms/CheckboxInputType.h
@@ -49,6 +49,7 @@ private:
virtual void didDispatchClick(Event*, const ClickHandlingState&) OVERRIDE;
virtual bool isCheckbox() const OVERRIDE;
virtual bool supportsIndeterminateAppearance() const OVERRIDE;
+ virtual bool shouldDispatchFormControlChangeEvent(String&, String&) OVERRIDE FINAL;
tkent 2014/05/07 10:09:56 This should be moved to BaseCheckableInputType, an
Habib Virji 2014/05/07 10:27:10 Done.
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698