From e1901889698454018150bfc58f469708837dfd7a Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sun, 27 Feb 2011 09:46:54 +0000 Subject: Local history view now is responsible for hiding itself after selecting a web page. Also gets redrawn when selecting other pages using the back/forward buttons. svn path=/trunk/netsurf/; revision=11837 --- cocoa/LocalHistoryController.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cocoa/LocalHistoryController.h') diff --git a/cocoa/LocalHistoryController.h b/cocoa/LocalHistoryController.h index d84ab8317..14a9abcdb 100644 --- a/cocoa/LocalHistoryController.h +++ b/cocoa/LocalHistoryController.h @@ -19,18 +19,20 @@ #import @class HistoryView; +@class BrowserView; @interface LocalHistoryController : NSWindowController { HistoryView *history; - struct browser_window *browser; + BrowserView *browser; } -@property (readwrite, assign, nonatomic) struct browser_window *browser; +@property (readwrite, assign, nonatomic) BrowserView *browser; @property (readwrite, assign, nonatomic) IBOutlet HistoryView *history; -- initWithBrowser: (struct browser_window *) bw; +- initWithBrowser: (BrowserView *) bw; - (void) attachToView: (NSView *) view; - (void) detach; +- (void) redraw; @end -- cgit v1.2.3