File:  [mozdev] / chimera / BrowserWindowController.h
Revision 1.21: download - view: text, annotated - select for diffs - revision graph
Tue Feb 12 01:47:57 2002 UTC (17 years, 8 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Lots of tweaks and cleanup.

    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: 
   40: - (void)dealloc;
   41: 
   42: -(MyBrowserView*)getMyBrowserView;
   43: 
   44: - (void)loadURL:(NSURL*)aURL;
   45: - (void)updateLocationFields:(NSString *)locationString;
   46: - (void)updateToolbarItems;
   47: - (void)focusURLBar;
   48: 
   49: - (void)performAppropriateLocationAction;
   50: - (IBAction)goToLocationFromToolbarURLField:(id)sender;
   51: - (void)focusURLBar;
   52: - (void)beginLocationSheet;
   53: - (IBAction)endLocationSheet:(id)sender;
   54: - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;
   55: - (void)printDocument;
   56: - (void)printPreview;
   57: 
   58: - (void)findInPage;
   59: - (void)findAgain;
   60: 
   61: - (void)addBookmark;
   62: 
   63: - (void)newTab;
   64: 
   65: - (IBAction)back:(id)aSender;
   66: - (IBAction)forward:(id)aSender;
   67: - (IBAction)reload:(id)aSender;
   68: - (IBAction)stop:(id)aSender;
   69: - (IBAction)home:(id)aSender;
   70: 
   71: @end

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