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

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

Issue 2730863002: Expand all Wikipedia sections on distillation. (Closed)
Patch Set: feedback Created 3 years, 10 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 1283aeac3c4a4ee3aa75306a5345faea1cb7ebeb..9b139f24bd708cf292d8cb8809b1f2989b9eec82 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