Diff for /chimera/NSBrowserView.mm between versions 1.28 and 1.29

version 1.28, 2002/03/27 23:55:06 version 1.29, 2002/04/08 22:30:20
Line 1211  nsHeaderSniffer::OnSecurityChange(nsIWeb Line 1211  nsHeaderSniffer::OnSecurityChange(nsIWeb
     print->Print(nsnull, nsnull);      print->Print(nsnull, nsnull);
 }  }
   
-(void)findInPage-(void)findInPage:(NSString*)inText
 {  {
     FindDlgController* findDialog = [[FindDlgController alloc] initWithWindowNibName: @"FindDialog"];  
     nsCOMPtr<nsIWebBrowserFocus> wbf(do_QueryInterface(_webBrowser));      nsCOMPtr<nsIWebBrowserFocus> wbf(do_QueryInterface(_webBrowser));
     nsCOMPtr<nsIDOMWindow> rootWindow;      nsCOMPtr<nsIDOMWindow> rootWindow;
     nsCOMPtr<nsIDOMWindow> focusedWindow;      nsCOMPtr<nsIDOMWindow> focusedWindow;
Line 1226  nsHeaderSniffer::OnSecurityChange(nsIWeb Line 1225  nsHeaderSniffer::OnSecurityChange(nsIWeb
     framesFind->SetRootSearchFrame(rootWindow);      framesFind->SetRootSearchFrame(rootWindow);
     framesFind->SetCurrentSearchFrame(focusedWindow);      framesFind->SetCurrentSearchFrame(focusedWindow);
           
    [findDialog setFind: webFind];    PRUnichar* text = (PRUnichar*)nsMemory::Alloc(([inText length]+1)*sizeof(PRUnichar));
    [findDialog showWindow: findDialog];    if ( text ) {
       [inText getCharacters:text];
       text[[inText length]] = 0;
       webFind->SetSearchString(text);
       PRBool found;
       webFind->FindNext(&found);
       nsMemory::Free(text);
     }
 }  }
   
 -(void)findAgain  -(void)findAgain

Removed from v.1.28  
changed lines
  Added in v.1.29


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