Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nsISupports.idl" |
michael@0 | 6 | |
michael@0 | 7 | interface nsIInterfaceRequestor; |
michael@0 | 8 | interface nsIKeygenThread; |
michael@0 | 9 | |
michael@0 | 10 | /** |
michael@0 | 11 | * nsIGeneratingKeypairInfoDialogs |
michael@0 | 12 | * This is the interface for giving feedback to the user |
michael@0 | 13 | * while generating a key pair. |
michael@0 | 14 | */ |
michael@0 | 15 | [scriptable, uuid(11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1)] |
michael@0 | 16 | interface nsIGeneratingKeypairInfoDialogs : nsISupports |
michael@0 | 17 | { |
michael@0 | 18 | void displayGeneratingKeypairInfo(in nsIInterfaceRequestor ctx, |
michael@0 | 19 | in nsIKeygenThread runnable); |
michael@0 | 20 | }; |
michael@0 | 21 | |
michael@0 | 22 | %{C++ |
michael@0 | 23 | /** |
michael@0 | 24 | * This component is to be implemented by the embeddor. It is used to show |
michael@0 | 25 | * feedback to the user while a private key is being generated. |
michael@0 | 26 | * |
michael@0 | 27 | * This component is only ever used on the UI thread. |
michael@0 | 28 | * |
michael@0 | 29 | * INTERFACES THAT NEED TO BE IMPLEMENTED: |
michael@0 | 30 | * nsIGeneratingKeypairInfoDialogs |
michael@0 | 31 | */ |
michael@0 | 32 | #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \ |
michael@0 | 33 | "@mozilla.org/nsGeneratingKeypairInfoDialogs;1" |
michael@0 | 34 | %} |