Diff for /chimera/NSBrowserView.mm between versions 1.19 and 1.21

version 1.19, 2002/02/12 00:18:34 version 1.21, 2002/02/13 01:58:55
Line 1185  nsHeaderSniffer::OnSecurityChange(nsIWeb Line 1185  nsHeaderSniffer::OnSecurityChange(nsIWeb
     print->Print(nsnull, nsnull);      print->Print(nsnull, nsnull);
 }  }
   
 -(void)printPreview  
 {  
     nsCOMPtr<nsIDOMWindow> domWindow;  
     _webBrowser->GetContentDOMWindow(getter_AddRefs(domWindow));  
     nsCOMPtr<nsIInterfaceRequestor> ir(do_QueryInterface(domWindow));  
     nsCOMPtr<nsIWebBrowserPrint> print;  
     ir->GetInterface(NS_GET_IID(nsIWebBrowserPrint), getter_AddRefs(print));  
     print->PrintPreview(nsnull);  
 }  
   
 -(void)findInPage  -(void)findInPage
 {  {
     FindDlgController* findDialog = [[FindDlgController alloc] initWithWindowNibName: @"FindDialog"];      FindDlgController* findDialog = [[FindDlgController alloc] initWithWindowNibName: @"FindDialog"];
Line 1318  nsHeaderSniffer::OnSecurityChange(nsIWeb Line 1308  nsHeaderSniffer::OnSecurityChange(nsIWeb
           
     return [NSString stringWithCString: urlCStr.get()];      return [NSString stringWithCString: urlCStr.get()];
 }  }
   
   - (void)setActive: (BOOL)aIsActive
   {
       nsCOMPtr<nsIWebBrowserFocus> wbf(do_QueryInterface(_webBrowser));
       if (aIsActive)
           wbf->Activate();
       else
           wbf->Deactivate();
   }
 @end  @end
   

Removed from v.1.19  
changed lines
  Added in v.1.21


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>