зеркало из https://github.com/mozilla/pjs.git
Trying to fix bustage, Bug 363067
This commit is contained in:
Родитель
a33901a68d
Коммит
3585eaa57a
|
@ -76,7 +76,7 @@
|
|||
#include "nsIWebBrowserSetup.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMHTMLDocument.h"
|
||||
#include "nsIChromeEventHandler.h"
|
||||
#include "nsPIDOMEventTarget.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIDOMEventReceiver.h"
|
||||
#include "nsIWebProgressListener.h"
|
||||
|
@ -399,7 +399,7 @@ enum {
|
|||
|
||||
nsCOMPtr<nsIDOMWindow> contentWindow = [[self getBrowserView] getContentWindow];
|
||||
nsCOMPtr<nsPIDOMWindow> piWindow(do_QueryInterface(contentWindow));
|
||||
nsIChromeEventHandler *chromeHandler = piWindow->GetChromeEventHandler();
|
||||
nsPIDOMEventTarget *chromeHandler = piWindow->GetChromeEventHandler();
|
||||
nsCOMPtr<nsIDOMEventReceiver> rec(do_QueryInterface(chromeHandler));
|
||||
if ( rec )
|
||||
rec->AddEventListenerByIID(clickListener, NS_GET_IID(nsIDOMMouseListener));
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#include "nsIDocument.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIChromeEventHandler.h"
|
||||
#include "nsPIDOMEventTarget.h"
|
||||
#include "nsIDOMEventReceiver.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "nsIPrefBranch.h"
|
||||
|
@ -239,7 +239,7 @@ const char kDirServiceContractID[] = "@mozilla.org/file/directory_service;1";
|
|||
|
||||
nsCOMPtr<nsIDOMWindow> contentWindow = [self getContentWindow];
|
||||
nsCOMPtr<nsPIDOMWindow> piWindow(do_QueryInterface(contentWindow));
|
||||
nsIChromeEventHandler *chromeHandler = piWindow->GetChromeEventHandler();
|
||||
nsPIDOMEventTarget *chromeHandler = piWindow->GetChromeEventHandler();
|
||||
nsCOMPtr<nsIDOMEventReceiver> rec(do_QueryInterface(chromeHandler));
|
||||
if ( rec )
|
||||
rec->AddEventListenerByIID(clickListener, NS_GET_IID(nsIDOMMouseListener));
|
||||
|
|
Загрузка…
Ссылка в новой задаче