version 1.35, 2002/04/12 09:56:34
|
version 1.38, 2002/04/14 08:43:03
|
Line 37
|
Line 37
|
|
|
#import <Cocoa/Cocoa.h> |
#import <Cocoa/Cocoa.h> |
#import "MyBrowserView.h" |
#import "MyBrowserView.h" |
|
#import "Find.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 id mSidebarDrawer; |
Line 103 class nsIDOMNode;
|
Line 104 class nsIDOMNode;
|
- (void)focusURLBar; |
- (void)focusURLBar; |
- (void)beginLocationSheet; |
- (void)beginLocationSheet; |
- (IBAction)endLocationSheet:(id)sender; |
- (IBAction)endLocationSheet:(id)sender; |
|
|
- (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)addBookmark; | - (void)addBookmarkExtended: (BOOL)aIsFromMenu; |
|
|
- (void)newTab; |
- (void)newTab; |
- (void)closeTab; |
- (void)closeTab; |
Line 137 class nsIDOMNode;
|
Line 140 class nsIDOMNode;
|
- (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; |
@end |
@end |