michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=80: */ 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: [scriptable, builtinclass, uuid(538d1085-517e-405a-a0f0-eb575cb0b8e5)] michael@0: interface nsIIndexedDatabaseManager : nsISupports michael@0: { michael@0: /** michael@0: * Defines indexedDB and IDBKeyRange with its static functions on aGlobal. michael@0: * michael@0: * This method might go away some time in the future, indexedDB and michael@0: * IDBKeyRange should now be defined in all the spots (content windows, michael@0: * chrome windows, xpcshell, JS modules, JS components, JS sandboxes, michael@0: * ipcshell, bootstrapped extensions and Jetpack) michael@0: * michael@0: * @param aGlobal michael@0: * The global object, indexedDB and IDBKeyRange should be defined on. michael@0: */ michael@0: [implicit_jscontext] michael@0: void initWindowless(in jsval aGlobal); michael@0: };