mirror of
https://github.com/atom/atom.git
synced 2026-02-13 08:04:56 -05:00
Teardown and recreate WebView (not the entire controller) on reload.
This commit is contained in:
@@ -6,13 +6,15 @@
|
||||
@interface AtomController : NSWindowController <NSWindowDelegate> {
|
||||
}
|
||||
|
||||
@property (retain) WebView *webView;
|
||||
@property (assign) WebView *webView;
|
||||
@property (nonatomic, retain) JSCocoa *jscocoa;
|
||||
|
||||
@property (nonatomic, retain, readonly) NSString *url;
|
||||
@property (nonatomic, retain, readonly) NSString *bootstrapPage;
|
||||
@property (nonatomic, retain, readonly) NSString *bootstrapScript;
|
||||
|
||||
- (id)initForSpecs;
|
||||
- (AtomController *)initWithURL:(NSString *)url;
|
||||
- (id)initWithURL:(NSString *)url;
|
||||
|
||||
- (void)createWebView;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user