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

Unified Diff: components/dom_distiller/ios/distiller_page_ios.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/ios/distiller_page_ios.h
diff --git a/components/dom_distiller/ios/distiller_page_ios.h b/components/dom_distiller/ios/distiller_page_ios.h
index 11e4aae99894236c52e4c0d4e75492fd5602e21c..d608cd775c0084478497269ff2a16532e7fcc386 100644
--- a/components/dom_distiller/ios/distiller_page_ios.h
+++ b/components/dom_distiller/ios/distiller_page_ios.h
@@ -33,12 +33,14 @@ class DistillerPageIOS : public DistillerPage {
explicit DistillerPageIOS(web::BrowserState* browser_state);
~DistillerPageIOS() override;
+ protected:
+ bool StringifyOutput() override;
+ bool CreateNewContext() override;
+ void DistillPageImpl(const GURL& url, const std::string& script) override;
+
private:
friend class DistillerWebStateObserver;
- // DistillerPage implementation:
- void DistillPageImpl(const GURL& url, const std::string& script) override;
-
// Called by |web_state_observer_| once the page has finished loading.
void OnLoadURLDone(web::PageLoadCompletionStatus load_completion_status);

Powered by Google App Engine
This is Rietveld 408576698