Diff for /chimera/BrowserWindowController.h between versions 1.35 and 1.43

version 1.35, 2002/04/12 09:56:34 version 1.43, 2002/04/18 15:42:03
Line 37 Line 37
   
 #import <Cocoa/Cocoa.h>  #import <Cocoa/Cocoa.h>
 #import "MyBrowserView.h"  #import "MyBrowserView.h"
   #import "Find.h"
   #import "BookmarksToolbar.h"
   
 class nsIDOMEvent;  class nsIDOMEvent;
 class nsIDOMNode;  class nsIDOMNode;
   
@interface BrowserWindowController : NSWindowController@interface BrowserWindowController : NSWindowController<Find>
 {  {
     IBOutlet id mTabBrowser;      IBOutlet id mTabBrowser;
    IBOutlet id mSidebarDrawer;    IBOutlet NSDrawer* mSidebarDrawer;
     IBOutlet id mSidebarTabView;      IBOutlet id mSidebarTabView;
     IBOutlet id mSidebarSourceTabView;      IBOutlet id mSidebarSourceTabView;
     IBOutlet id mLocationToolbarView;      IBOutlet id mLocationToolbarView;
Line 53  class nsIDOMNode; Line 55  class nsIDOMNode;
     IBOutlet id mProgress;      IBOutlet id mProgress;
     IBOutlet id mLocationSheetWindow;      IBOutlet id mLocationSheetWindow;
     IBOutlet id mLocationSheetURLField;      IBOutlet id mLocationSheetURLField;
       
     IBOutlet id mSidebarBrowserView;      IBOutlet id mSidebarBrowserView;
     IBOutlet id mSidebarBookmarksDataSource;      IBOutlet id mSidebarBookmarksDataSource;
   
       IBOutlet BookmarksToolbar* mPersonalToolbar;
       
       IBOutlet id mAddBookmarkSheetWindow;
       IBOutlet id mAddBookmarkTitleField;
       IBOutlet id mAddBookmarkFolderField;
       
     // Context menu outlets.      // Context menu outlets.
     IBOutlet id mPageMenu;      IBOutlet id mPageMenu;
     IBOutlet id mImageMenu;      IBOutlet id mImageMenu;
Line 87  class nsIDOMNode; Line 96  class nsIDOMNode;
     int mContextMenuFlags;      int mContextMenuFlags;
     nsIDOMEvent* mContextMenuEvent;      nsIDOMEvent* mContextMenuEvent;
     nsIDOMNode* mContextMenuNode;      nsIDOMNode* mContextMenuNode;
   
       // Cached bookmark ds used when adding through a sheet
       id mCachedBMDS;
 }  }
   
 - (void)dealloc;  - (void)dealloc;
Line 103  class nsIDOMNode; Line 115  class nsIDOMNode;
 - (void)focusURLBar;  - (void)focusURLBar;
 - (void)beginLocationSheet;  - (void)beginLocationSheet;
 - (IBAction)endLocationSheet:(id)sender;  - (IBAction)endLocationSheet:(id)sender;
   
   - (IBAction)cancelAddBookmarkSheet:(id)sender;
   - (IBAction)endAddBookmarkSheet:(id)sender;
   - (void)cacheBookmarkDS: (id)aDS;
   
 - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;  - (void)saveDocument: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList;
   - (void)saveURL: (NSView*)aFilterView filterList: (NSPopUpButton*)aFilterList
               url: (NSURL*)aURL suggestedFilename: (NSString*)aFilename;
 - (void)printDocument;  - (void)printDocument;
 - (void)printPreview;  - (void)printPreview;
   
- (void)findInPage:(NSString*)text;//- (BOOL)findInPage:(NSString*)text;
(void)findAgain;
 -(void) biggerTextSize;
 -(void) smallerTextSize;
   
- (void)addBookmark;- (void)addBookmarkExtended: (BOOL)aIsFromMenu isFolder:(BOOL)aIsFolder;
 - (IBAction)manageBookmarks: (id)aSender;
 - (IBAction)toggleSidebar:(id)aSender;
   
 - (void)newTab;  - (void)newTab;
 - (void)closeTab;  - (void)closeTab;
Line 133  class nsIDOMNode; Line 156  class nsIDOMNode;
   
 -(void)setChromeMask:(int)aMask;  -(void)setChromeMask:(int)aMask;
   
   -(id)getAddBookmarkSheetWindow;
   -(id)getAddBookmarkTitle;
   -(id)getAddBookmarkFolder;
   
 // Called when a context menu should be shown.  // Called when a context menu should be shown.
 - (void)onShowContextMenu:(int)flags domEvent:(nsIDOMEvent*)aEvent domNode:(nsIDOMNode*)aNode;  - (void)onShowContextMenu:(int)flags domEvent:(nsIDOMEvent*)aEvent domNode:(nsIDOMNode*)aNode;
 - (NSMenu*)getContextMenu;  - (NSMenu*)getContextMenu;
   
   // Context menu methods
   - (IBAction)openLinkInNewWindow:(id)aSender;
   - (IBAction)openLinkInNewTab:(id)aSender;
   -(void)openLinkInNewWindowOrTab: (BOOL)aUseWindow;
   
   - (IBAction)savePageAs:(id)aSender;
   - (IBAction)saveLinkAs:(id)aSender;
   - (IBAction)saveImageAs:(id)aSender;
   
   - (IBAction)viewOnlyThisImage:(id)aSender;
   
   - (NSView*) bookmarksToolbar;
 @end  @end
   
   
   @interface BrowserWindow : NSWindow
   {
   }
   @end
   

Removed from v.1.35  
changed lines
  Added in v.1.43


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