Diff for /chimera/BrowserWindowController.mm between versions 1.17 and 1.22

version 1.17, 2002/02/05 09:51:56 version 1.22, 2002/02/09 20:31:06
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
Line 47  static NSString *PrintToolbarItemIdentif Line 48  static NSString *PrintToolbarItemIdentif
       [self loadURL: mURL];        [self loadURL: mURL];
       [mURL release];        [mURL release];
     }      }
       
       [mSidebarDrawer setDelegate: self];
   }
   
   - (void)drawerWillOpen: (NSNotification*)aNotification
   {
       [mSidebarBookmarksDataSource ensureBookmarks];
       
       [[mSidebarBrowserView getBrowserView] loadURI: [NSURL URLWithString: @"http://tinderbox.mozilla.org/SeaMonkey/panel.html"] flags:NSLoadFlagsNone];
   }
   
   - (void)drawerDidOpen:(NSNotification *)aNotification
   {
   }
   
   - (void)drawerDidClose:(NSNotification *)aNotification
   {
       // Unload the Gecko web page in "My Panels" to save memory.
       [[mSidebarBrowserView getBrowserView] loadURI: [NSURL URLWithString: @"about:blank"] flags:NSLoadFlagsNone];
 }  }
   
 - (void)setupToolbar  - (void)setupToolbar
Line 256  static NSString *PrintToolbarItemIdentif Line 276  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.17  
changed lines
  Added in v.1.22


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