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

version 1.15, 2002/02/05 08:45:58 version 1.23, 2002/02/10 00:29:08
Line 27  static NSString *PrintToolbarItemIdentif Line 27  static NSString *PrintToolbarItemIdentif
     return [super init];      return [super init];
 }  }
   
   - (void)windowWillClose:(NSNotification *)notification
   {
       [self autorelease];
       [mSidebarBookmarksDataSource windowClosing];
   }
   
 - (void)dealloc  - (void)dealloc
 {  {
     [mBrowserView windowClosed];      [mBrowserView windowClosed];
Line 42  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];
   }
   
   - (void)drawerDidOpen:(NSNotification *)aNotification
   {
       // XXXdwh This is temporary.
       [[mSidebarBrowserView getBrowserView] loadURI: [NSURL URLWithString: @"http://tinderbox.mozilla.org/SeaMonkey/panel.html"] flags:NSLoadFlagsNone];
   }
   
   - (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 241  static NSString *PrintToolbarItemIdentif Line 266  static NSString *PrintToolbarItemIdentif
     [[mBrowserView getBrowserView] printPreview];      [[mBrowserView getBrowserView] printPreview];
 }  }
   
   - (void)findInPage
   {
       [[mBrowserView getBrowserView] findInPage];
   }
   
   - (void)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.15  
changed lines
  Added in v.1.23


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