1)To load a page from stream using LoadStream, probably nsIWebNavigation should have it.
That's a little overboard for nsIWebNavigation. That should probably stay on the embedding part of nsIDocShell (probably to still be called nsIDocShell).
2)To get nsIChromeEventHandler from which use EventReceiver
Um... the only thing on nsIChromeEventHandler is a HandleChromeEvent method which uses all sorts of gecko-internal structs and the like... No EventReceiver in sight. Unless you QI whatever the nsIChromeEventHandler is? But there's nothing saying what that object will be.
I use nsPIDOMWindow :-
To get nsIFocusController, which is use to call activate/deactive and moveFocus. ( I am not sure of any alternate way i can get nsIFocusController or achive the same result).
I'm not sure either. Please file a bug, cc "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", and "danm-moz". Explain what focus APIs you need, exactly. In XUL there is nsIDOMXULCommandDispatcher; I assume you need something similar for non-XUL documents?
In general, when you find yourself being forced to use what is obviously not an embedding interface (eg it's not defined in IDL), please file bugs so we'll know that there is an issue...
-Boris _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
