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

Unified Diff: ios/chrome/browser/reading_list/reading_list_distiller_page.h

Issue 2733323004: [Reading List] Expand all Wikipedia sections on distillation. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | ios/chrome/browser/reading_list/reading_list_distiller_page.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/reading_list_distiller_page.h
diff --git a/ios/chrome/browser/reading_list/reading_list_distiller_page.h b/ios/chrome/browser/reading_list/reading_list_distiller_page.h
index 6ecc3b9bb2e140149e0a3b3d170b19df3e6ec31b..eaa86f20bf6484c3fa95a2f563b2155002549d30 100644
--- a/ios/chrome/browser/reading_list/reading_list_distiller_page.h
+++ b/ios/chrome/browser/reading_list/reading_list_distiller_page.h
@@ -79,6 +79,15 @@ class ReadingListDistillerPage : public dom_distiller::DistillerPageIOS {
// triggers a navigation to it. Stop distillation of the page there as the new
// load will trigger a new distillation.
bool HandleGoogleCachedAMPPageJavaScriptResult(id result, id error);
+
+ // Work around the fact that articles from wikipedia has the major part of the
+ // article hidden.
+ // IsWikipediaPage determines if the current page is a wikipedia article.
+ bool IsWikipediaPage();
+ // HandleWikipediaPage sets the style of collapsable parts of article to
+ // visible.
+ void HandleWikipediaPage();
+
// Continue the distillation on the page that is currently loaded in
// |CurrentWebState()|.
void ContinuePageDistillation();
« no previous file with comments | « no previous file | ios/chrome/browser/reading_list/reading_list_distiller_page.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698