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

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 513783002: Dispatch change event for input type=color when colorpicker is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added didEndChooser in InputType to avoid static cast Created 6 years, 3 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/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 5afcb218a6af313fca1a3ac1b048ca26c9e4ed91..d3224f53460c4a58d4f40eeb9aad321805cf3c54 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1482,6 +1482,11 @@ void HTMLInputElement::selectColorInColorChooser(const Color& color)
static_cast<ColorInputType*>(m_inputType.get())->didChooseColor(color);
}
+void HTMLInputElement::endColorChooser()
+{
+ m_inputType->didEndChooser();
keishi 2014/09/18 13:16:01 nit: Now I realize this seems unfortunate. I see t
Habib Virji 2014/09/18 14:54:26 This does not hold true, " ColorChooserClient* cli
keishi 2014/09/19 03:04:12 I was thinking, ColorInputType is a ColorChooserCl
Habib Virji 2014/09/19 09:15:56 Sorry, still not clear. Yes ColorInputType is de
keishi 2014/09/22 09:58:36 Yes I am proposing that you add it.
Habib Virji 2014/09/22 13:44:39 Done.
+}
+
HTMLElement* HTMLInputElement::list() const
{
return dataList();

Powered by Google App Engine
This is Rietveld 408576698