![]() ![]() | ![]() |
A bunch of new stuff. window.open now works, and security is getting closer.
/* * Chimera.app * Cocoa application which embeds Gecko * * BrowserWindowController.h * --------------------------------------------------- * This is the NSWindowController subclass which is responsible for handling * the functions of a browser window. * * Code owners: * David Hyatt <hyatt@netscape.com> * Matt Judy <matt@nibfile.com> * * Copyright (c) 2002 Mozilla.org. All rights reserved. */ #import <Cocoa/Cocoa.h> #import "MyBrowserView.h" @interface BrowserWindowController : NSWindowController { IBOutlet id mTabBrowser; IBOutlet id mSidebarDrawer; IBOutlet id mLocationToolbarView; IBOutlet id mURLBar; IBOutlet id mStatus; IBOutlet id mProgress; IBOutlet id mLocationSheetWindow; IBOutlet id mLocationSheetURLField; IBOutlet id mSidebarBrowserView; IBOutlet id mSidebarBookmarksDataSource; NSToolbarItem *mLocationToolbarItem; BOOL mInitialized; NSURL* mURL; MyBrowserView* mBrowserView; BOOL mMoveReentrant; NSModalSession mModalSession; } - (void)dealloc; -(MyBrowserView*)getMyBrowserView; - (void)loadURL:(NSURL*)aURL; - (void)updateLocationFields:(NSString *)locationString; - (void)updateToolbarItems; - (void)focusURLBar; - (void)performAppropriateLocationAction; - (IBAction)goToLocationFromToolbarURLField:(id)sender; - (void)focusURLBar; - (void)beginLocationSheet; - (IBAction)endLocationSheet:(id)sender; - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList; - (void)printDocument; - (void)printPreview; - (void)findInPage; - (void)findAgain; - (void)addBookmark; - (void)newTab; - (IBAction)back:(id)aSender; - (IBAction)forward:(id)aSender; - (IBAction)reload:(id)aSender; - (IBAction)stop:(id)aSender; - (IBAction)home:(id)aSender; -(void)enterModalSession; @end