mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
wii - gettings specs on App.open. Window closing not working quite right.
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "JSCocoa.h"
|
||||
|
||||
@class JSCocoa;
|
||||
@class WebView;
|
||||
|
||||
struct JSGlobalContextRef;
|
||||
|
||||
@interface AtomController : NSWindowController <NSWindowDelegate> {
|
||||
}
|
||||
|
||||
@property (assign) WebView *webView;
|
||||
@property (nonatomic, retain) JSCocoa *jscocoa;
|
||||
|
||||
@property (nonatomic, retain, readonly) NSString *url;
|
||||
@property (nonatomic, retain, readonly) NSString *bootstrapScript;
|
||||
@@ -15,6 +17,9 @@
|
||||
- (id)initForSpecs;
|
||||
- (id)initWithURL:(NSString *)url;
|
||||
|
||||
- (void)createWebView;
|
||||
- (BOOL)handleInputEvent:(NSEvent *)event;
|
||||
- (void)triggerAtomEventWithName:(NSString *)name data:(id)data;
|
||||
- (void)reload;
|
||||
- (JSValueRefAndContextRef)jsWindow;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user