Mercurial > projects > dwt-linux
comparison dwt/browser/Mozilla.d @ 298:eec6ddb07873
More xpcom/mozilla port
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 22:25:43 -0700 |
parents | 44258e0b6687 |
children | 16ba3d9cb209 |
comparison
equal
deleted
inserted
replaced
297:2f204a4aebc6 | 298:eec6ddb07873 |
---|---|
1483 rc = webNavigation.LoadURI (c, nsIWebNavigation.LOAD_FLAGS_NONE, 0, 0, 0); | 1483 rc = webNavigation.LoadURI (c, nsIWebNavigation.LOAD_FLAGS_NONE, 0, 0, 0); |
1484 webNavigation.Release (); | 1484 webNavigation.Release (); |
1485 return rc is XPCOM.NS_OK; | 1485 return rc is XPCOM.NS_OK; |
1486 } | 1486 } |
1487 | 1487 |
1488 static Browser findBrowser (int /*long*/ handle) { | 1488 static Browser findBrowser (void* handle) { |
1489 return MozillaDelegate.findBrowser (handle); | 1489 return MozillaDelegate.findBrowser (cast(GtkWidget*)handle); |
1490 } | 1490 } |
1491 | 1491 |
1492 public bool forward () { | 1492 public bool forward () { |
1493 if (awaitingNavigate) return false; | 1493 if (awaitingNavigate) return false; |
1494 | 1494 |