nsIIDBPermissionsRequest.idl (856B)
1 /* -*- Mode: IDL; 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 * Interface for IDB permission requests. This is passed as the 8 * subject for the permission request observer service notifications. 9 */ 10 #include "nsISupports.idl" 11 12 interface nsIObserver; 13 14 webidl Element; 15 16 [scriptable, builtinclass, uuid(c3493c65-0530-496e-995c-bcd38dbfce21)] 17 interface nsIIDBPermissionsRequest : nsISupports 18 { 19 // The <browser> element the permission request is coming from. 20 readonly attribute Element browserElement; 21 22 // The nsIObserver that can be used to send the reply notification. 23 readonly attribute nsIObserver responseObserver; 24 };