File:  [mozdev] / chimera / BrowserWindowController.h
Revision 1.19: download - view: text, annotated - select for diffs - revision graph
Mon Feb 11 07:22:13 2002 UTC (17 years, 2 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Tabbed browsing lives.

    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 MyBrowserView* mBrowserView;
   24:     IBOutlet id mSidebarDrawer;
   25:     IBOutlet id mLocationToolbarView;
   26:     IBOutlet id mURLBar;
   27:     IBOutlet id mStatus;
   28:     IBOutlet id mProgress;
   29:     IBOutlet id mLocationSheetWindow;
   30:     IBOutlet id mLocationSheetURLField;
   31:     IBOutlet id mSidebarBrowserView;
   32:     IBOutlet id mSidebarBookmarksDataSource;
   33:     
   34:     NSToolbarItem *mLocationToolbarItem;
   35:     BOOL mInitialized;
   36:     NSURL* mURL;
   37: }
   38: 
   39: - (void)dealloc;
   40: 
   41: - (void)loadURL:(NSURL*)aURL;
   42: - (void)updateLocationFields:(NSString *)locationString;
   43: - (void)updateToolbarItems;
   44: - (void)focusURLBar;
   45: 
   46: - (void)performAppropriateLocationAction;
   47: - (IBAction)goToLocationFromToolbarURLField:(id)sender;
   48: - (void)focusURLBar;
   49: - (void)beginLocationSheet;
   50: - (IBAction)endLocationSheet:(id)sender;
   51: - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;
   52: - (void)printDocument;
   53: - (void)printPreview;
   54: 
   55: - (void)findInPage;
   56: - (void)findAgain;
   57: 
   58: - (void)addBookmark;
   59: 
   60: - (void)newTab;
   61: 
   62: - (IBAction)back:(id)aSender;
   63: - (IBAction)forward:(id)aSender;
   64: - (IBAction)reload:(id)aSender;
   65: - (IBAction)stop:(id)aSender;
   66: - (IBAction)home:(id)aSender;
   67: 
   68: @end

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