Regarding opening distilled content, you might find it helpful to start with looking at the code in
//chrome/browser/dom_distiller/tab_utils.h. It provides some functionality to distill content from one WebContents into another one, and also for distilling the content of WebContents and then navigating to the distilled content.
For distilling a URL directly, you could also look at the standalone extractor in
I'm not sure about what you mean regarding 'general WebView' though. Do you mean the Android WebView? If so, I don't believe they currently depend on the dom_distiller component.
The core code for DOM Distiller is available in //components/dom_distiller. That means basically the extraction part. For the reader mode UI, most of the code lives in various places within //chrome.
For chrome though, you could do a quick hack to see what this would look like by intercepting all navigations and replacing them using
--
Tommy