Diff for /chimera/BrowserWindowController.mm between versions 1.20 and 1.26

version 1.20, 2002/02/09 00:00:47 version 1.26, 2002/02/11 03:43:12
Line 30  static NSString *PrintToolbarItemIdentif Line 30  static NSString *PrintToolbarItemIdentif
 - (void)windowWillClose:(NSNotification *)notification  - (void)windowWillClose:(NSNotification *)notification
 {  {
     [self autorelease];      [self autorelease];
       [mSidebarBookmarksDataSource windowClosing];
 }  }
   
 - (void)dealloc  - (void)dealloc
 {  {
       printf("Browser controller died.\n");
       
     [mBrowserView windowClosed];      [mBrowserView windowClosed];
       [mSidebarBrowserView windowClosed];
       
     [super dealloc];      [super dealloc];
 }  }
   
Line 49  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
   {
       [mSidebarBookmarksDataSource ensureBookmarks];
 }  }
   
 - (void)drawerDidOpen:(NSNotification *)aNotification  - (void)drawerDidOpen:(NSNotification *)aNotification
 {  {
       // XXXdwh This is temporary.
     [[mSidebarBrowserView getBrowserView] loadURI: [NSURL URLWithString: @"http://tinderbox.mozilla.org/SeaMonkey/panel.html"] flags:NSLoadFlagsNone];      [[mSidebarBrowserView getBrowserView] loadURI: [NSURL URLWithString: @"http://tinderbox.mozilla.org/SeaMonkey/panel.html"] flags:NSLoadFlagsNone];
       
     [mSidebarBookmarksDataSource ensureBookmarks];  
 }  }
   
 - (void)drawerDidClose:(NSNotification *)aNotification  - (void)drawerDidClose:(NSNotification *)aNotification
Line 271  static NSString *PrintToolbarItemIdentif Line 285  static NSString *PrintToolbarItemIdentif
     [[mBrowserView getBrowserView] findAgain];      [[mBrowserView getBrowserView] findAgain];
 }  }
   
   - (void)addBookmark
   {
       // XXXdwh Hack.  Just go to the sidebar for now until we get our
       // menu data source going.
       [mSidebarBookmarksDataSource ensureBookmarks];
       [mSidebarBookmarksDataSource addBookmark: self];
   }
   
 - (IBAction)back:(id)aSender  - (IBAction)back:(id)aSender
 {  {
   [[mBrowserView getBrowserView] goBack];    [[mBrowserView getBrowserView] goBack];

Removed from v.1.20  
changed lines
  Added in v.1.26


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