diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-04-16 08:30:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 08:30:27 -0400 |
commit | c394a5f8710e9e83e8caa3f524aca4a80309b7cb (patch) | |
tree | 4d6358da9eb9d21d0e85f4732e88c5e7c0391125 /widget/nsIDatePicker.idl | |
parent | a557bfae78557c5134874683fc7a8121f6b5deb1 (diff) | |
parent | c55addfa6422cd6fd3886f914b71139c4dd0edcc (diff) | |
download | UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.gz UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.lz UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.xz UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.zip |
Merge pull request #180 from janekptacijarabaci/html_input_datetime_2
HTML - input - datetime - support for "dom.forms.datetime.others"
Diffstat (limited to 'widget/nsIDatePicker.idl')
-rw-r--r-- | widget/nsIDatePicker.idl | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/widget/nsIDatePicker.idl b/widget/nsIDatePicker.idl deleted file mode 100644 index d6be60c95..000000000 --- a/widget/nsIDatePicker.idl +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#include "nsISupports.idl" - -interface mozIDOMWindowProxy; - -[scriptable, uuid(13388a28-1b0b-4218-a31b-588f7a4ec26c)] -interface nsIDatePickerShownCallback : nsISupports -{ - /** - * Callback called when the user selects cancel in the date picker - * This callback can not be called after done() is called. - */ - void cancel(); - - /** - * Callback called when the user has finished selecting the date - * - * @param date The new selected date value following the format "YYYY-MM-DD" - */ - void done(in AString date); -}; - -[scriptable, uuid(7becfc64-966b-4d53-87d2-9161f36bd3b3)] -interface nsIDatePicker : nsISupports -{ - /** - * Initialize the date picker widget. The date picker will not be shown until - * open() is called. - * If the initialDate parameter does not follow the format "YYYY-MM-DD" then - * the behavior will be unspecified. - * - * @param parent nsIDOMWindow parent. This dialog will be dependent - * on this parent. parent may be null. - * @param title The title for the date picker widget. - * @param initialDate The date to show when the widget is opened. The - * parameter has to follow the format "YYYY-MM-DD" - */ - void init(in mozIDOMWindowProxy parent, in AString title, in AString initialDate); - - /** - * Opens the date dialog asynchrounously. - * The results are provided via the callback object. - */ - void open(in nsIDatePickerShownCallback callback); -}; |