Diff for /chimera/NSBrowserView.h between versions 1.13 and 1.20

version 1.13, 2002/02/25 08:44:17 version 1.20, 2002/04/20 00:02:55
Line 45 Line 45
 class nsCocoaBrowserListener;  class nsCocoaBrowserListener;
 class nsIDOMWindow;  class nsIDOMWindow;
 class nsIWebBrowser;  class nsIWebBrowser;
   class nsIDOMNode;
   class nsIDOMEvent;
   class nsIWebBrowserFind;
   
 // Protocol implemented by anyone interested in progress  // Protocol implemented by anyone interested in progress
 // related to a BrowserView. A listener should explicitly  // related to a BrowserView. A listener should explicitly
Line 59  class nsIWebBrowser; Line 62  class nsIWebBrowser;
 - (void)onProgressChange:(int)currentBytes outOf:(int)maxBytes;  - (void)onProgressChange:(int)currentBytes outOf:(int)maxBytes;
 - (void)onLocationChange:(NSURL*)url;  - (void)onLocationChange:(NSURL*)url;
 - (void)onStatusChange:(NSString*)aMessage;  - (void)onStatusChange:(NSString*)aMessage;
   // Called when a context menu should be shown.
   - (void)onShowContextMenu:(int)flags domEvent:(nsIDOMEvent*)aEvent domNode:(nsIDOMNode*)aNode;
 @end  @end
   
 typedef enum {  typedef enum {
Line 95  enum { Line 100  enum {
 {  {
   nsIWebBrowser* _webBrowser;    nsIWebBrowser* _webBrowser;
   nsCocoaBrowserListener* _listener;    nsCocoaBrowserListener* _listener;
     NSWindow* mWindow;
 }  }
   
 // NSView overrides  // NSView overrides
 - (id)initWithFrame:(NSRect)frame;  - (id)initWithFrame:(NSRect)frame;
   - (id)initWithFrame:(NSRect)frame andWindow:(NSWindow*)aWindow;
   
 - (void)dealloc;  - (void)dealloc;
 - (void)setFrame:(NSRect)frameRect;  - (void)setFrame:(NSRect)frameRect;
   
Line 120  enum { Line 128  enum {
 - (NSURL*)getCurrentURI;  - (NSURL*)getCurrentURI;
   
 - (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)findInPage;- (BOOL)findInPage:(NSString*)inText;
- (void)findAgain; 
   
 -(IBAction)cut:(id)aSender;  -(IBAction)cut:(id)aSender;
 -(IBAction)copy:(id)aSender;  -(IBAction)copy:(id)aSender;
 -(IBAction)paste:(id)aSender;  -(IBAction)paste:(id)aSender;
 -(IBAction)clear:(id)aSender;  -(IBAction)clear:(id)aSender;
 -(IBAction)selectAll:(id)aSender;  -(IBAction)selectAll:(id)aSender;
   -(IBAction)undo:(id)aSender;
   
 -(NSString*)getCurrentURLSpec;  -(NSString*)getCurrentURLSpec;
   
 - (void)setActive: (BOOL)aIsActive;  - (void)setActive: (BOOL)aIsActive;
   
   - (NSMenu*)getContextMenu;
   - (NSWindow*)getNativeWindow;
   
 - (void)destroyWebBrowser;  - (void)destroyWebBrowser;
 - (nsIWebBrowser*)getWebBrowser;  - (nsIWebBrowser*)getWebBrowser;
 - (nsCocoaBrowserListener*)getCocoaBrowserListener;  - (nsCocoaBrowserListener*)getCocoaBrowserListener;

Removed from v.1.13  
changed lines
  Added in v.1.20


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