|
|
Create distiller files for Reading List.
DomDistillerService is used for ReadingList and ReaderMode.
The requirements for both feature are different.
As DomDistillerService main purpose (cross-platform) is Reader Mode,
this CL creates files for the Reading List distillation.
These files ensure that:
- WebState used for distillation survives at least 10 seconds after the
end of distillation to allow loading favicon
- There is a 2 seconds delay between end of page load and start of
distillation.
- Reading List files are in Reading List components.
These 2 requirements are irrelevant for Reader Mode as the page is
already loaded and the favicon is not used.
This CL also restore the behavior of Reader Mode before cl/2529283002.
BUG= 648923
Committed: https://crrev.com/31daab21ab182a3272daec45c77626c1628bd4d3
Cr-Commit-Position: refs/heads/master@{#441060}
Total comments: 37
Total comments: 1
Total comments: 22
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+387 lines, -366 lines) |
Patch |
 |
M |
components/dom_distiller/ios/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_factory_ios.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_factory_ios.mm
|
View
|
1
2
3
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_ios.h
|
View
|
1
2
3
|
3 chunks |
+19 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_ios.mm
|
View
|
1
2
3
|
6 chunks |
+30 lines, -25 lines |
0 comments
|
Download
|
 |
D |
components/dom_distiller/ios/favicon_web_state_dispatcher.h
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
components/reading_list/ios/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
components/reading_list/ios/favicon_web_state_dispatcher.h
|
View
|
1
|
1 chunk |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/dom_distiller/BUILD.gn
|
View
|
|
2 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/dom_distiller/distiller_viewer.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/dom_distiller/distiller_viewer.cc
|
View
|
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
View
|
1
|
3 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
D |
ios/chrome/browser/dom_distiller/favicon_web_state_dispatcher_impl.h
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
D |
ios/chrome/browser/dom_distiller/favicon_web_state_dispatcher_impl.mm
|
View
|
|
1 chunk |
+0 lines, -77 lines |
0 comments
|
Download
|
 |
D |
ios/chrome/browser/dom_distiller/favicon_web_state_dispatcher_impl_unittest.mm
|
View
|
|
1 chunk |
+0 lines, -76 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/BUILD.gn
|
View
|
|
5 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.h
|
View
|
1
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm
|
View
|
1
|
5 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl_unittest.mm
|
View
|
1
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/reading_list/reading_list_distiller_page.h
|
View
|
1
2
3
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/reading_list/reading_list_distiller_page.mm
|
View
|
1
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm
|
View
|
1
2
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/reading_list_download_service.h
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/reading_list_download_service.cc
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/reading_list_download_service_factory.cc
|
View
|
1
2
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/url_downloader.h
|
View
|
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/url_downloader.cc
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/reading_list/url_downloader_unittest.mm
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/reader_mode/reader_mode_controller.mm
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/test/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 25 (13 generated)
|