michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIDOMWindow; michael@0: interface nsIDOMElement; michael@0: interface nsIDocShell; michael@0: michael@0: [scriptable, uuid(62f6c5be-ea8c-4fab-8e5c-d1580b50ec3f)] michael@0: interface nsISecureBrowserUI : nsISupports michael@0: { michael@0: void init(in nsIDOMWindow window); michael@0: void setDocShell(in nsIDocShell docShell); michael@0: michael@0: readonly attribute unsigned long state; michael@0: }; michael@0: michael@0: %{C++ michael@0: #define NS_SECURE_BROWSER_UI_CONTRACTID "@mozilla.org/secure_browser_ui;1" michael@0: %}