зеркало из https://github.com/mozilla/pjs.git
Fix build bustage.
This commit is contained in:
Родитель
de27d692d8
Коммит
c9c2daf727
|
@ -55,6 +55,7 @@ class nsIDragHelperService;
|
|||
class nsIPrintSettings;
|
||||
class nsIURI;
|
||||
class nsISupports;
|
||||
class nsISecureBrowserUI;
|
||||
|
||||
// Protocol implemented by anyone interested in progress
|
||||
// related to a BrowserView. A listener should explicitly
|
||||
|
@ -164,6 +165,7 @@ enum {
|
|||
- (void)removeListener:(id <CHBrowserListener>)listener;
|
||||
- (void)setContainer:(NSView<CHBrowserListener, CHBrowserContainer>*)container;
|
||||
- (nsIDOMWindow*)getContentWindow; // addrefs
|
||||
- (nsISecureBrowserUI*)getSecureBrowserUI; // addrefs
|
||||
|
||||
// nsIWebNavigation methods
|
||||
- (void)loadURI:(NSString *)urlSpec referrer:(NSString*)referrer flags:(unsigned int)flags allowPopups:(BOOL)inAllowPopups;
|
||||
|
|
|
@ -360,6 +360,18 @@ const long NSFindPanelActionSetFindString = 7;
|
|||
return window;
|
||||
}
|
||||
|
||||
// addrefs return value
|
||||
- (nsISecureBrowserUI*)getSecureBrowserUI
|
||||
{
|
||||
nsISecureBrowserUI* secureUI = nsnull;
|
||||
|
||||
nsIDocShell* docShell = [self getDocShell];
|
||||
if (docShell)
|
||||
docShell->GetSecurityUI(&secureUI);
|
||||
|
||||
return secureUI;
|
||||
}
|
||||
|
||||
- (void)loadURI:(NSString *)urlSpec referrer:(NSString*)referrer flags:(unsigned int)flags allowPopups:(BOOL)inAllowPopups
|
||||
{
|
||||
nsCOMPtr<nsIWebNavigation> nav = do_QueryInterface(_webBrowser);
|
||||
|
|
Загрузка…
Ссылка в новой задаче