Back to index

lightning-sunbird  0.9+nobinonly
Functions
CHBrowserListener.mm File Reference
#import <Cocoa/Cocoa.h>
#import "NSString+Utils.h"
#include "nsIWebBrowser.h"
#include "nsIWebNavigation.h"
#include "nsIURI.h"
#include "nsIDOMWindow.h"
#include "nsCRT.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#import "CHBrowserView.h"
#include "CHBrowserListener.h"

Go to the source code of this file.

Functions

 NS_IMPL_ISUPPORTS9 (CHBrowserListener, nsIInterfaceRequestor, nsIWebBrowserChrome, nsIWindowCreator, nsIEmbeddingSiteWindow, nsIEmbeddingSiteWindow2, nsIWebProgressListener, nsISupportsWeakReference, nsIContextMenuListener, nsITooltipListener) NS_IMETHODIMP CHBrowserListener

Function Documentation

Definition at line 74 of file CHBrowserListener.mm.

{
  if (aIID.Equals(NS_GET_IID(nsIDOMWindow))) {
    nsCOMPtr<nsIWebBrowser> browser = dont_AddRef([mView getWebBrowser]);
    if (browser)
      return browser->GetContentDOMWindow((nsIDOMWindow **) aInstancePtr);
  }
  
  return QueryInterface(aIID, aInstancePtr);
}

Here is the call graph for this function: