epiphany r8440 - branches/gnome-2-24/embed/mozilla
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8440 - branches/gnome-2-24/embed/mozilla
- Date: Sat, 30 Aug 2008 12:49:49 +0000 (UTC)
Author: diegoe
Date: Sat Aug 30 12:49:49 2008
New Revision: 8440
URL: http://svn.gnome.org/viewvc/epiphany?rev=8440&view=rev
Log:
Misc. identation fixes.
Modified:
branches/gnome-2-24/embed/mozilla/ContentHandler.cpp
Modified: branches/gnome-2-24/embed/mozilla/ContentHandler.cpp
==============================================================================
--- branches/gnome-2-24/embed/mozilla/ContentHandler.cpp (original)
+++ branches/gnome-2-24/embed/mozilla/ContentHandler.cpp Sat Aug 30 12:49:49 2008
@@ -88,7 +88,7 @@
nsISupports *aContext,
PRUint32 aReason)
{
- nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
nsresult rv;
EphyEmbedSingle *single;
@@ -131,7 +131,7 @@
/* 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 @@
}
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 @@
}
#endif /* HAVE_GECKO_1_9 */
- nsRefPtr<GContentHandler> kungFuDeathGrip(this);
+ nsRefPtr<GContentHandler> kungFuDeathGrip(this);
if (mAction == CONTENT_ACTION_OPEN)
{
@@ -485,18 +485,19 @@
}
#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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]