mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
more cleanup.
This commit is contained in:
parent
3a8ef3d85e
commit
c18708e851
@ -29,7 +29,6 @@
|
||||
[scriptable, uuid(048afcc8-1dd2-11b2-bd86-a45b24375deb)]
|
||||
interface nsIRemoteBrowserControl : nsISupports
|
||||
{
|
||||
|
||||
/*
|
||||
If aURL is null, a dialog will ask for the url to open.
|
||||
Setting newWindow to true will create a new window.
|
||||
|
@ -22,7 +22,7 @@
|
||||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
*/
|
||||
|
||||
var remoteControlProgID = "component://netscape/browser/remote-browser-control"
|
||||
var remoteControlProgID = "component://netscape/browser/remote-browser-control";
|
||||
|
||||
var nsIRemoteBrowserControl = Components.interfaces.nsIRemoteBrowserControl;
|
||||
|
||||
@ -35,27 +35,32 @@ function BrowserRemoteControl() {
|
||||
var browserRemoteControl = {
|
||||
openURL: function(aURL, newWindow)
|
||||
{
|
||||
dump("openURL(" + aURL + "," + newWindow + "\n");
|
||||
}
|
||||
dump("openURL(" + aURL + "," + newWindow + ")\n");
|
||||
return;
|
||||
},
|
||||
|
||||
openFile: function(aURL)
|
||||
{
|
||||
dump("openFile(" + aURL+ "\n");
|
||||
}
|
||||
dump("openFile(" + aURL + ")\n");
|
||||
return;
|
||||
},
|
||||
|
||||
saveAs: function(aURL)
|
||||
{
|
||||
dump("saveAs(" + aURL + "\n");
|
||||
}
|
||||
dump("saveAs(" + aURL + ")\n");
|
||||
return;
|
||||
},
|
||||
|
||||
mailto: function(mailToList)
|
||||
{
|
||||
dump("mailto(" + mailToList + "\n");
|
||||
}
|
||||
dump("mailto(" + mailToList + ")\n");
|
||||
return;
|
||||
},
|
||||
|
||||
addBookmark(aURL, aTitle)
|
||||
addBookmark: function(aURL, aTitle)
|
||||
{
|
||||
dump("addBookmark(" + aURL + "," + aTitle + "\n");
|
||||
dump("addBookmark(" + aURL + "," + aTitle + ")\n");
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
@ -64,7 +69,7 @@ var module = {
|
||||
dump("registerSelf for remoteControl\n");
|
||||
compMgr.registerComponentWithType(this.myCID,
|
||||
"Browser Remote Control",
|
||||
remoteControlProgID
|
||||
remoteControlProgID,
|
||||
fileSpec, location, true, true,
|
||||
type);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user