Diff for /chimera/BrowserWindowController.mm between versions 1.27 and 1.28

version 1.27, 2002/02/11 05:47:44 version 1.28, 2002/02/11 07:22:13
Line 358  static NSString *PrintToolbarItemIdentif Line 358  static NSString *PrintToolbarItemIdentif
 -(void)newTab  -(void)newTab
 {  {
       NSTabViewItem* newTab = [[[NSTabViewItem alloc] initWithIdentifier: nil] autorelease];
       [mTabBrowser addTabViewItem: newTab];
       MyBrowserView* newView = [[[MyBrowserView alloc] initWithFrame: [mBrowserView frame]] autorelease];
       [newTab setView: newView];
       [newTab setLabel: @"Untitled"];
       [[newView getBrowserView] loadURI:[NSURL URLWithString:@"about:blank"] flags:NSLoadFlagsNone];
       [mTabBrowser selectLastTabViewItem: self];
   - (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)aTabViewItem
       // Disconnect the old view.
       [mBrowserView disconnectView];
       // Connect up the new view
       mBrowserView = [aTabViewItem view];
       // Make the new view the primary content area.
       [mBrowserView makePrimaryBrowserView: aTabViewItem urlbar: mURLBar status: mStatus
           progress: mProgress windowController: self];
 }  }
 @end  @end

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

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