Advertising
- Miscellany
- Friday, June 8th, 2007 at 8:34:26am UTC
- There are 2 EmbedPrivate.cpp files.
- One in mozilla/embedding/browser/gtk/src/
- The other at mozilla/embedding/browser/photon/src/
- This is the one at gtk/src/
- // get a handle on the navigation object
- mNavigation = do_QueryInterface(webBrowser);
- // Create our session history object and tell the navigation object
- // to use it. We need to do this before we create the web browser
- // window.
- mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
- mNavigation->SetSessionHistory(mSessionHistory); <----------------------- LINE 257 --------------------
- // create the window
- mWindow->CreateWindow();
- And the one at photon/src/
- // get a handle on the navigation object
- mNavigation = do_QueryInterface(webBrowser);
- // Create our session history object and tell the navigation object
- // to use it. We need to do this before we create the web browser
- // window.
- mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
- mNavigation->SetSessionHistory(mSessionHistory);
- // create the window
- mWindow->CreateWindow(); <--------- LINE 257 ----------
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.