Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Miscellany
Friday, June 8th, 2007 at 8:34:26am UTC 

  1. There are 2 EmbedPrivate.cpp files.
  2. One in mozilla/embedding/browser/gtk/src/
  3. The other at mozilla/embedding/browser/photon/src/
  4.  
  5.  
  6. This is the one at gtk/src/
  7.  
  8.   // get a handle on the navigation object
  9.   mNavigation = do_QueryInterface(webBrowser);
  10.  
  11.   // Create our session history object and tell the navigation object
  12.   // to use it.  We need to do this before we create the web browser
  13.   // window.
  14.   mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
  15.   mNavigation->SetSessionHistory(mSessionHistory);            <----------------------- LINE 257 --------------------
  16.  
  17.   // create the window
  18.   mWindow->CreateWindow();
  19.  
  20.  
  21.  
  22. And the one at photon/src/
  23.  
  24.         // get a handle on the navigation object
  25.         mNavigation = do_QueryInterface(webBrowser);
  26.  
  27.         // Create our session history object and tell the navigation object
  28.         // to use it.  We need to do this before we create the web browser
  29.         // window.
  30.         mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
  31.         mNavigation->SetSessionHistory(mSessionHistory);
  32.  
  33.         // create the window
  34.         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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right