Indentation stuff
This commit is contained in:
parent
d4fab7fc64
commit
4016f12d86
@ -6,15 +6,12 @@
|
||||
|
||||
class GeckoContentHandler : public nsIHelperAppLauncherDialog
|
||||
{
|
||||
public:
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user