Chromium Code Reviews| 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..4317bce8521198ca34a3d5eb2aa2c5f7ea649213 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 will determine if the current page is a wikipedia article. |
|
jif
2017/03/03 16:46:17
IsWikipediaPage determines if
Olivier
2017/03/03 19:49:54
Done.
|
| + bool IsWikipediaPage(); |
| + // HandleWikipediaPage set the style of collapsable parts of article to |
| + // visible. |
| + void HandleWikipediaPage(); |
|
jif
2017/03/03 16:46:17
HandleWikipediaPage sets
Olivier
2017/03/03 19:49:54
Done.
|
| + |
| // Continue the distillation on the page that is currently loaded in |
| // |CurrentWebState()|. |
| void ContinuePageDistillation(); |