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

version 1.23, 2002/02/10 00:29:08 version 1.28, 2002/02/11 07:22:13
Line 35  static NSString *PrintToolbarItemIdentif Line 35  static NSString *PrintToolbarItemIdentif
 - (void)dealloc  - (void)dealloc
 {  {
       printf("Browser controller died.\n");
     [mBrowserView windowClosed];      [mBrowserView windowClosed];
       [mSidebarBrowserView windowClosed];
     [super dealloc];      [super dealloc];
 }  }
Line 50  static NSString *PrintToolbarItemIdentif Line 54  static NSString *PrintToolbarItemIdentif
     }      }
     [mSidebarDrawer setDelegate: self];      [mSidebarDrawer setDelegate: self];
       // Our initial view is our primary view.  Connect it up.
       NSTabViewItem* tab = [mTabBrowser tabViewItemAtIndex: 0];
       [mBrowserView makePrimaryBrowserView: tab urlbar: mURLBar status: mStatus
           progress: mProgress windowController: self];
 }  }
 - (void)drawerWillOpen: (NSNotification*)aNotification  - (void)drawerWillOpen: (NSNotification*)aNotification
Line 346  static NSString *PrintToolbarItemIdentif Line 355  static NSString *PrintToolbarItemIdentif
     [[self window] update];      [[self window] update];
     [[self window] display];      [[self window] display];
 }  }
       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.23  
changed lines
  Added in v.1.28

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