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

version 1.28, 2002/04/12 01:16:44 version 1.29, 2002/04/12 08:45:17
Line 128  static const char* ioServiceContractID = Line 128  static const char* ioServiceContractID =
   [status setStringValue:loadingStatus];    [status setStringValue:loadingStatus];
       
   mIsPrimary = YES;    mIsPrimary = YES;
 
   if ([[self window] isKeyWindow])
     [browserView setActive: YES];
   
   nsCOMPtr<nsIIOService> ioService(do_GetService(ioServiceContractID));    nsCOMPtr<nsIIOService> ioService(do_GetService(ioServiceContractID));
   if (!ioService)    if (!ioService)
     return;      return;
Line 345  static const char* ioServiceContractID = Line 348  static const char* ioServiceContractID =
 automatically prevent Web sites from opening popup advertisements.  Would you like to turn on \  automatically prevent Web sites from opening popup advertisements.  Would you like to turn on \
 popup blocking now?"  popup blocking now?"
   
- (NSBrowserView*)createBrowserWindow:(unsigned int)mask- (NSBrowserView*)createBrowserWindow:(unsigned int)aMask
 {  {
   nsCOMPtr<nsIPrefBranch> pref(do_GetService("@mozilla.org/preferences-service;1"));    nsCOMPtr<nsIPrefBranch> pref(do_GetService("@mozilla.org/preferences-service;1"));
   if (!pref)    if (!pref)
Line 390  popup blocking now?" Line 393  popup blocking now?"
   }    }
       
   BrowserWindowController* controller = [[BrowserWindowController alloc] initWithWindowNibName: @"BrowserWindow"];    BrowserWindowController* controller = [[BrowserWindowController alloc] initWithWindowNibName: @"BrowserWindow"];
     [controller setChromeMask: aMask];
   [controller disableAutosave]; // The Web page opened this window, so we don't ever use its settings.    [controller disableAutosave]; // The Web page opened this window, so we don't ever use its settings.
   [controller enterModalSession];    [controller enterModalSession];
   return [[controller getMyBrowserView] getBrowserView];    return [[controller getMyBrowserView] getBrowserView];

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


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