Hi,

I add debug print status in  BrowserRenderProcessHost::OnPageContents
() to print out the value of 'contents'

void BrowserRenderProcessHost::OnPageContents(const GURL& url,
                                       int32 page_id,
                                       const std::wstring& contents);
// original code

// I add this:
cout << " BrowserRenderProcessHost::OnPageContents" << endl;
        cout << " <<<<<" << endl;

        cout << contents;

        cout << " <<<<<" << endl;

}

My question is why I only see the 'Text' of the page? I tried loading
www.google.ca, but I only see these values:

<<<<<
Web Images Video Maps News Groups Gmail more ▼
iGoogle | Sign in



 
          Advanced Search
  Preferences
  Language Tools
Search:  the web  pages from Canada

Google.ca offered in: français


Advertising Programs - Business Solutions - About Google - Go to
Google.com
©2009 - Privacy

 <<<<<

Thank you for any help.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to