1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/nsIBrowserHandler.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsISupports.idl" 1.9 + 1.10 +interface nsICommandLine; 1.11 + 1.12 +[scriptable, uuid(8D3F5A9D-118D-4548-A137-CF7718679069)] 1.13 +interface nsIBrowserHandler : nsISupports 1.14 +{ 1.15 + attribute AUTF8String startPage; 1.16 + attribute AUTF8String defaultArgs; 1.17 + 1.18 + /** 1.19 + * Extract the width and height specified on the command line, if present. 1.20 + * @return A feature string with a prepended comma, e.g. ",width=500,height=400" 1.21 + */ 1.22 + AUTF8String getFeatures(in nsICommandLine aCmdLine); 1.23 +};