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

Unified Diff: Source/core/testing/Internals.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: Implemented colorChooserClient support 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
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 1c334be67adda3ee754cefda2eb0b8108065a196..654ac7e101e9df1a4c944b495e8644d0cf6a60ba 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -645,6 +645,14 @@ void Internals::selectColorInColorChooser(Element* element, const String& colorV
toHTMLInputElement(*element).selectColorInColorChooser(color);
}
+void Internals::endColorChooser(Element* element)
+{
+ ASSERT(element);
+ if (!isHTMLInputElement(*element))
+ return;
+ toHTMLInputElement(*element).endColorChooser();
+}
+
bool Internals::hasAutofocusRequest(Document* document)
{
if (!document)
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698