aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-30 20:49:49 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-08-30 20:49:49 +0800
commite8fc293fa2dc70173c06e3adca9e685c43096cda (patch)
tree56efcce36f68b8a4bb0c87654460e66b5645476c
parent71326d558ffc04175d36426eabfa279db7d01de1 (diff)
downloadgsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar.gz
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar.bz2
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar.lz
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar.xz
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.tar.zst
gsoc2013-epiphany-e8fc293fa2dc70173c06e3adca9e685c43096cda.zip
Misc. identation fixes.
svn path=/branches/gnome-2-24/; revision=8440
-rw-r--r--embed/mozilla/ContentHandler.cpp29
1 files changed, 15 insertions, 14 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index b4b2deeec..11d33c877 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -88,7 +88,7 @@ GContentHandler::Show (nsIHelperAppLauncher *aLauncher,
nsISupports *aContext,
PRUint32 aReason)
{
- nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
nsresult rv;
EphyEmbedSingle *single;
@@ -131,7 +131,7 @@ GContentHandler::Show (nsIHelperAppLauncher *aLauncher,
/* nsILocalFile promptForSaveToFile (in nsISupports aWindowContext, in wstring aDefaultFile, in wstring aSuggestedFileExtension); */
NS_IMETHODIMP GContentHandler::PromptForSaveToFile(
- nsIHelperAppLauncher *aLauncher,
+ nsIHelperAppLauncher *aLauncher,
nsISupports *aWindowContext,
const PRUnichar *aDefaultFile,
const PRUnichar *aSuggestedFileExtension,
@@ -154,9 +154,9 @@ NS_IMETHODIMP GContentHandler::PromptForSaveToFile(
}
nsCOMPtr<nsIDOMWindow> parentDOMWindow (do_GetInterface (aWindowContext));
- AutoModalDialog modalDialog (parentDOMWindow, PR_FALSE);
- if (!modalDialog.ShouldShow ())
- return NS_ERROR_FAILURE;
+ AutoModalDialog modalDialog (parentDOMWindow, PR_FALSE);
+ if (!modalDialog.ShouldShow ())
+ return NS_ERROR_FAILURE;
GtkWindow *parentWindow = modalDialog.GetParent ();
@@ -465,7 +465,7 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
}
#endif /* HAVE_GECKO_1_9 */
- nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
if (mAction == CONTENT_ACTION_OPEN)
{
@@ -485,18 +485,19 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
}
#ifdef HAVE_GECKO_1_9
- /* We have to do this work down here because the external helper app modifies the
- * value after calling SaveToDisk.
- */
+ /* We have to do this work down here because the external helper app
+ * modifies the value after calling SaveToDisk.
+ */
nsHandlerInfoAction action;
if (mAction == CONTENT_ACTION_DOWNLOAD) {
action = EPHY_ACTION_BROWSE_TO_FILE;
- /* This won't be able to transport the activation time so we cannot
- * do startup notification, but it's the best that was available
- */
- mimeInfo->SetPreferredAction (action);
- }
+ /* This won't be able to transport the activation time so we
+ * cannot do startup notification, but it's the best that was
+ * available
+ */
+ mimeInfo->SetPreferredAction (action);
+ }
#endif
return NS_OK;