Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: components/dom_distiller/content/distiller_page_web_contents.h

Issue 1004223002: Pass more information by argument to the dom_distiller script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/content/distiller_page_web_contents.h
diff --git a/components/dom_distiller/content/distiller_page_web_contents.h b/components/dom_distiller/content/distiller_page_web_contents.h
index e73b0ccc9b04e5780664768f3189e76507e171b6..80b7a9eb800f52954d81556f19249c955b0fd748 100644
--- a/components/dom_distiller/content/distiller_page_web_contents.h
+++ b/components/dom_distiller/content/distiller_page_web_contents.h
@@ -69,6 +69,8 @@ class DistillerPageWebContents : public DistillerPage,
const base::string16& error_description) override;
protected:
+ bool StringifyOutput() override;
+ bool CreateNewContext() override;
void DistillPageImpl(const GURL& url, const std::string& script) override;
private:

Powered by Google App Engine
This is Rietveld 408576698