File:  [mozdev] / chimera / BrowserWindowController.h
Revision 1.10: download - view: text, annotated - select for diffs - revision graph
Tue Feb 5 05:00:16 2002 UTC (17 years, 8 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Impl cut copy paste etc. Some focus issues plague this feature still.

    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: 
   19: @interface BrowserWindowController : NSWindowController
   20: {
   21:     IBOutlet id mBrowserView;
   22:     IBOutlet id mSidebarDrawer;
   23:     IBOutlet id mLocationToolbarView;
   24:     IBOutlet id mURLBar;
   25:     IBOutlet id mLocationSheetWindow;
   26:     IBOutlet id mLocationSheetURLField;
   27:     
   28:     NSToolbarItem *mLocationToolbarItem;
   29:     BOOL mInitialized;
   30:     NSURL* mURL;
   31: }
   32: 
   33: - (void)dealloc;
   34: 
   35: - (void)loadURL:(NSURL*)aURL;
   36: - (void)updateLocationFields:(NSString *)locationString;
   37: - (void)updateToolbarItems;
   38: - (void)focusURLBar;
   39: 
   40: - (void)performAppropriateLocationAction;
   41: - (IBAction)goToLocationFromToolbarURLField:(id)sender;
   42: - (void)focusURLBar;
   43: - (void)beginLocationSheet;
   44: - (IBAction)endLocationSheet:(id)sender;
   45: - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;
   46: - (void)printDocument;
   47: 
   48: -(void)doCut;
   49: -(void)doCopy;
   50: -(void)doPaste;
   51: -(void)doClear;
   52: -(void)doSelectAll;
   53: 
   54: @end

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