File:  [mozdev] / chimera / BrowserWindowController.h
Revision 1.23: download - view: text, annotated - select for diffs - revision graph
Mon Feb 25 08:44:17 2002 UTC (17 years, 4 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
A bunch of new stuff.  window.open now works, and security is getting closer.

    1: /*
    2:  *  Chimera.app
    3:  *  Cocoa application which embeds Gecko
    4:  *
    5:  *  BrowserWindowController.h
    6:  *  ---------------------------------------------------
    7:  *  This is the NSWindowController subclass which is responsible for handling
    8:  *  the functions of a browser window.
    9:  *
   10:  *  Code owners:
   11:  * 		David Hyatt		<hyatt@netscape.com>
   12:  *		Matt Judy		<matt@nibfile.com>
   13:  *
   14:  *  Copyright (c) 2002 Mozilla.org.  All rights reserved.
   15:  */
   16: 
   17: #import <Cocoa/Cocoa.h>
   18: #import "MyBrowserView.h"
   19: 
   20: @interface BrowserWindowController : NSWindowController
   21: {
   22:     IBOutlet id mTabBrowser;
   23:     IBOutlet id mSidebarDrawer;
   24:     IBOutlet id mLocationToolbarView;
   25:     IBOutlet id mURLBar;
   26:     IBOutlet id mStatus;
   27:     IBOutlet id mProgress;
   28:     IBOutlet id mLocationSheetWindow;
   29:     IBOutlet id mLocationSheetURLField;
   30:     IBOutlet id mSidebarBrowserView;
   31:     IBOutlet id mSidebarBookmarksDataSource;
   32:     
   33:     NSToolbarItem *mLocationToolbarItem;
   34:     BOOL mInitialized;
   35:     NSURL* mURL;
   36:     
   37:     MyBrowserView* mBrowserView;
   38:     
   39:     BOOL mMoveReentrant;
   40:     NSModalSession mModalSession;
   41: }
   42: 
   43: - (void)dealloc;
   44: 
   45: -(MyBrowserView*)getMyBrowserView;
   46: 
   47: - (void)loadURL:(NSURL*)aURL;
   48: - (void)updateLocationFields:(NSString *)locationString;
   49: - (void)updateToolbarItems;
   50: - (void)focusURLBar;
   51: 
   52: - (void)performAppropriateLocationAction;
   53: - (IBAction)goToLocationFromToolbarURLField:(id)sender;
   54: - (void)focusURLBar;
   55: - (void)beginLocationSheet;
   56: - (IBAction)endLocationSheet:(id)sender;
   57: - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;
   58: - (void)printDocument;
   59: - (void)printPreview;
   60: 
   61: - (void)findInPage;
   62: - (void)findAgain;
   63: 
   64: - (void)addBookmark;
   65: 
   66: - (void)newTab;
   67: 
   68: - (IBAction)back:(id)aSender;
   69: - (IBAction)forward:(id)aSender;
   70: - (IBAction)reload:(id)aSender;
   71: - (IBAction)stop:(id)aSender;
   72: - (IBAction)home:(id)aSender;
   73: 
   74: -(void)enterModalSession;
   75: 
   76: @end

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