Indentation stuff
This commit is contained in:
parent
d4fab7fc64
commit
4016f12d86
@ -12,9 +12,6 @@ class GeckoContentHandler : public nsIHelperAppLauncherDialog
|
|||||||
|
|
||||||
GeckoContentHandler();
|
GeckoContentHandler();
|
||||||
virtual ~GeckoContentHandler();
|
virtual ~GeckoContentHandler();
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
GeckoContentHandler::GeckoContentHandler()
|
GeckoContentHandler::GeckoContentHandler()
|
||||||
@ -75,7 +72,10 @@ GeckoContentHandlerFactory::GeckoContentHandlerFactory() {
|
|||||||
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);
|
NS_ENSURE_ARG_POINTER(aResult);
|
||||||
|
|
||||||
@ -93,14 +93,16 @@ NS_IMETHODIMP GeckoContentHandlerFactory::CreateInstance(nsISupports *aOuter, co
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP GeckoContentHandlerFactory::LockFactory(PRBool lock)
|
NS_IMETHODIMP
|
||||||
|
GeckoContentHandlerFactory::LockFactory(PRBool lock)
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
|
|
||||||
nsresult NS_NewGeckoContentHandlerFactory(nsIFactory** aFactory)
|
nsresult
|
||||||
|
NS_NewGeckoContentHandlerFactory(nsIFactory** aFactory)
|
||||||
{
|
{
|
||||||
NS_ENSURE_ARG_POINTER(aFactory);
|
NS_ENSURE_ARG_POINTER(aFactory);
|
||||||
*aFactory = nsnull;
|
*aFactory = nsnull;
|
||||||
|
@ -170,7 +170,8 @@ GeckoDownloadFactory::GeckoDownloadFactory() {
|
|||||||
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);
|
NS_ENSURE_ARG_POINTER(aResult);
|
||||||
|
|
||||||
@ -188,14 +189,16 @@ NS_IMETHODIMP GeckoDownloadFactory::CreateInstance(nsISupports *aOuter, const ns
|
|||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP GeckoDownloadFactory::LockFactory(PRBool lock)
|
NS_IMETHODIMP
|
||||||
|
GeckoDownloadFactory::LockFactory(PRBool lock)
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
|
|
||||||
nsresult NS_NewGeckoDownloadFactory(nsIFactory** aFactory)
|
nsresult
|
||||||
|
NS_NewGeckoDownloadFactory(nsIFactory** aFactory)
|
||||||
{
|
{
|
||||||
NS_ENSURE_ARG_POINTER(aFactory);
|
NS_ENSURE_ARG_POINTER(aFactory);
|
||||||
*aFactory = nsnull;
|
*aFactory = nsnull;
|
||||||
|
@ -372,7 +372,6 @@ sugar_browser_scroll_pixels(SugarBrowser *browser,
|
|||||||
int dx,
|
int dx,
|
||||||
int dy)
|
int dy)
|
||||||
{
|
{
|
||||||
#ifndef HAVE_GECKO_1_9
|
|
||||||
nsCOMPtr<nsIWebBrowser> webBrowser;
|
nsCOMPtr<nsIWebBrowser> webBrowser;
|
||||||
gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED(browser),
|
gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED(browser),
|
||||||
getter_AddRefs(webBrowser));
|
getter_AddRefs(webBrowser));
|
||||||
@ -390,7 +389,6 @@ sugar_browser_scroll_pixels(SugarBrowser *browser,
|
|||||||
NS_ENSURE_TRUE (DOMWindow, );
|
NS_ENSURE_TRUE (DOMWindow, );
|
||||||
|
|
||||||
DOMWindow->ScrollBy (dx, dy);
|
DOMWindow->ScrollBy (dx, dy);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user