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

Unified Diff: public/web/WebDateTimeChooserCompletion.h

Issue 62083004: Transfer date/time value to the chooser as a double (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@datetime3
Patch Set: Created 7 years, 1 month 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: public/web/WebDateTimeChooserCompletion.h
diff --git a/public/web/WebDateTimeChooserCompletion.h b/public/web/WebDateTimeChooserCompletion.h
index 91fe00b64f5652f5c9c473a7a744f32251afbf7b..216a84d3fe9f340d02f555a2d75c19b01d9486c0 100644
--- a/public/web/WebDateTimeChooserCompletion.h
+++ b/public/web/WebDateTimeChooserCompletion.h
@@ -38,6 +38,11 @@ public:
// is destroyed when this method is called.
virtual void didChooseValue(const WebString&) = 0;
+ // Called with a date/time value in the HTML format. The callback instance
+ // is destroyed when this method is called. If the value is Nan it means an
+ // empty value.
+ virtual void didChooseValue(double) = 0;
tkent 2013/11/07 19:42:07 Will you remove didChooseValue(const WebString&)?
keishi 2013/11/07 20:04:11 Yes. Added fixme comment.
+
// Called when a user closed the chooser without choosing a value. The
// callback instance is destroyed when this method is called.
virtual void didCancelChooser() = 0;

Powered by Google App Engine
This is Rietveld 408576698