Mercurial > osx-quasimode
changeset 31:6b0b9b04057e
Added TODOs
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Mon, 12 Apr 2010 11:49:46 -0700 |
parents | 9aa3c2fd0baf |
children | 9490bb2373db |
files | Quasimode.m |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Quasimode.m Mon Apr 12 11:42:22 2010 -0700 +++ b/Quasimode.m Mon Apr 12 11:49:46 2010 -0700 @@ -12,6 +12,8 @@ #import "JavaScriptQuasimode.h" #import "QuasimodalEventTap.h" +// TODO: Consider calling this on WebFrameLoadDelegate's +// webView:willCloseFrame: instead. @interface QuasimodeWindowDelegate : NSObject { } - windowWillClose:(NSNotification *)notification; @@ -78,6 +80,9 @@ [[[view mainFrame] frameView] setAllowsScrolling: NO]; [[view mainFrame] loadRequest: req]; + // TODO: Consider calling this on WebFrameLoadDelegate's + // webView:didClearWindowObject:forFrame: instead, so it + // gets called after window.location.reload(). JSQuasimodeInit(self); [window setOpaque: NO];