Indentation stuff

This commit is contained in:
Tomeu Vizoso 2007-01-29 20:41:15 +01:00
parent d4fab7fc64
commit 4016f12d86
3 changed files with 75 additions and 72 deletions

View File

@ -12,9 +12,6 @@ class GeckoContentHandler : public nsIHelperAppLauncherDialog
GeckoContentHandler();
virtual ~GeckoContentHandler();
private:
};
GeckoContentHandler::GeckoContentHandler()
@ -75,7 +72,10 @@ GeckoContentHandlerFactory::GeckoContentHandlerFactory() {
GeckoContentHandlerFactory::~GeckoContentHandlerFactory() {
}
NS_IMETHODIMP GeckoContentHandlerFactory::CreateInstance(nsISupports *aOuter, const nsIID & aIID, void **aResult)
NS_IMETHODIMP
GeckoContentHandlerFactory::CreateInstance(nsISupports *aOuter,
const nsIID & aIID,
void **aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
@ -93,14 +93,16 @@ NS_IMETHODIMP GeckoContentHandlerFactory::CreateInstance(nsISupports *aOuter, co
return rv;
}
NS_IMETHODIMP GeckoContentHandlerFactory::LockFactory(PRBool lock)
NS_IMETHODIMP
GeckoContentHandlerFactory::LockFactory(PRBool lock)
{
return NS_OK;
}
//*****************************************************************************
nsresult NS_NewGeckoContentHandlerFactory(nsIFactory** aFactory)
nsresult
NS_NewGeckoContentHandlerFactory(nsIFactory** aFactory)
{
NS_ENSURE_ARG_POINTER(aFactory);
*aFactory = nsnull;

View File

@ -170,7 +170,8 @@ GeckoDownloadFactory::GeckoDownloadFactory() {
GeckoDownloadFactory::~GeckoDownloadFactory() {
}
NS_IMETHODIMP GeckoDownloadFactory::CreateInstance(nsISupports *aOuter, const nsIID & aIID, void **aResult)
NS_IMETHODIMP
GeckoDownloadFactory::CreateInstance(nsISupports *aOuter, const nsIID & aIID, void **aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
@ -188,14 +189,16 @@ NS_IMETHODIMP GeckoDownloadFactory::CreateInstance(nsISupports *aOuter, const ns
return rv;
}
NS_IMETHODIMP GeckoDownloadFactory::LockFactory(PRBool lock)
NS_IMETHODIMP
GeckoDownloadFactory::LockFactory(PRBool lock)
{
return NS_OK;
}
//*****************************************************************************
nsresult NS_NewGeckoDownloadFactory(nsIFactory** aFactory)
nsresult
NS_NewGeckoDownloadFactory(nsIFactory** aFactory)
{
NS_ENSURE_ARG_POINTER(aFactory);
*aFactory = nsnull;

View File

@ -372,7 +372,6 @@ sugar_browser_scroll_pixels(SugarBrowser *browser,
int dx,
int dy)
{
#ifndef HAVE_GECKO_1_9
nsCOMPtr<nsIWebBrowser> webBrowser;
gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED(browser),
getter_AddRefs(webBrowser));
@ -390,7 +389,6 @@ sugar_browser_scroll_pixels(SugarBrowser *browser,
NS_ENSURE_TRUE (DOMWindow, );
DOMWindow->ScrollBy (dx, dy);
#endif
}
void