If you don't mind violating the Chromium WebKit abstraction layer you can do so as follows:
WebFrame* frame = web_view->GetMainFrame(); WebFrameImpl* webFrameImpl = static_cast<WebFrameImpl*>(frame); WebCore::Document* document = webFrameImpl->frame()->document(); On Sun, May 31, 2009 at 2:21 AM, Daniel Dreiberg < [email protected]> wrote: > Hi, > If I have a pointer to WebView, how can I get a pointer/reference to HTML > Document of the Loaded Document? > > Thank you. > > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
