wii - gettings specs on App.open. Window closing not working quite right.

This commit is contained in:
Corey Johnson
2011-12-14 16:24:30 -08:00
parent 507341e714
commit fbb3efacf4
15 changed files with 144 additions and 68 deletions

View File

@@ -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