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 nsICommandLine; michael@0: michael@0: [scriptable, uuid(8D3F5A9D-118D-4548-A137-CF7718679069)] michael@0: interface nsIBrowserHandler : nsISupports michael@0: { michael@0: attribute AUTF8String startPage; michael@0: attribute AUTF8String defaultArgs; michael@0: michael@0: /** michael@0: * Extract the width and height specified on the command line, if present. michael@0: * @return A feature string with a prepended comma, e.g. ",width=500,height=400" michael@0: */ michael@0: AUTF8String getFeatures(in nsICommandLine aCmdLine); michael@0: };