Back to index

lightning-sunbird  0.9+nobinonly
EmbedContentListener.cpp File Reference
#include <strings.h>
#include <nsXPIDLString.h>
#include "nsIURI.h"
#include "EmbedContentListener.h"
#include "qgeckoembed.h"
#include "nsServiceManagerUtils.h"
#include "nsIWebNavigationInfo.h"
#include "nsDocShellCID.h"

Go to the source code of this file.


 NS_IMPL_ISUPPORTS2 (EmbedContentListener, nsIURIContentListener, nsISupportsWeakReference) NS_IMETHODIMP EmbedContentListener

Function Documentation

Definition at line 60 of file EmbedContentListener.cpp.

    nsresult rv;

    nsCAutoString specString;
    rv = aURI->GetSpec(specString);

    if (NS_FAILED(rv))
        return rv;

    //we stop loading here because we want to pass the
    //control to kio to check for mimetypes and all the other jazz
    bool abort = false;
    mOwner->startURIOpen(specString.get(), abort);
    *aAbortOpen = abort;

    return NS_OK;

Here is the call graph for this function: