"Fossies" - the Fresh Open Source Software Archive

Member "UXP-PM28.7.2_Release/dom/html/nsIFormSubmitObserver.idl" (24 Oct 2019, 1033 Bytes) of package /linux/www/UXP-PM28.7.2_Release.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) IDL source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
    2 /* This Source Code Form is subject to the terms of the Mozilla Public
    3  * License, v. 2.0. If a copy of the MPL was not distributed with this
    4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    5 
    6 
    7 #include "nsISupports.idl"
    8 
    9 interface nsIDOMHTMLFormElement;
   10 interface mozIDOMWindow;
   11 interface nsIURI;
   12 interface nsIArray;
   13 
   14 [scriptable, uuid(867cb7e7-835d-408b-9788-d2834d284e03)]
   15 interface nsIFormSubmitObserver: nsISupports
   16 {
   17   void notify(in nsIDOMHTMLFormElement formNode, in mozIDOMWindow window, in nsIURI actionURL, out boolean cancelSubmit);
   18 
   19   void notifyInvalidSubmit(in nsIDOMHTMLFormElement formNode,
   20                            in nsIArray invalidElements);
   21 };
   22 
   23 %{C++
   24 #define NS_FORMSUBMIT_SUBJECT "formsubmit"
   25 #define NS_EARLYFORMSUBMIT_SUBJECT "earlyformsubmit"
   26 #define NS_FIRST_FORMSUBMIT_CATEGORY "firstformsubmit"
   27 #define NS_PASSWORDMANAGER_CATEGORY "passwordmanager"
   28 #define NS_INVALIDFORMSUBMIT_SUBJECT "invalidformsubmit"
   29 %}