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

Issue 1703313003: Only show Reader Mode infobar on long articles (Closed)

Created:
4 years, 10 months ago by wychen
Modified:
4 years, 10 months ago
Reviewers:
mdjones
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only show Reader Mode infobar on long articles Add a new model to predict whether a distillable page is long enough, and stop prompting the Reader Mode infobar if not. BUG=587974 Committed: https://crrev.com/e9ef74ab7411ca08359015167b2c2bc1b566f95b Cr-Commit-Position: refs/heads/master@{#376294}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -5 lines) Patch
M chrome/test/data/dom_distiller/simple_article.html View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/data/dom_distiller/simple_article_iframe.html View 1 chunk +12 lines, -0 lines 0 comments Download
M components/dom_distiller/content/renderer/distillability_agent.cc View 1 4 chunks +15 lines, -5 lines 0 comments Download
A components/dom_distiller/core/data/long_page_model.bin View Binary file 0 comments Download
M components/dom_distiller/core/distillable_page_detector.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/distillable_page_detector.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M components/resources/dom_distiller_resources.grdp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703313003/20001
4 years, 10 months ago (2016-02-18 04:49:54 UTC) #3
wychen
PTAL
4 years, 10 months ago (2016-02-18 04:50:35 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 06:18:28 UTC) #7
mdjones
lgtm https://codereview.chromium.org/1703313003/diff/20001/components/dom_distiller/content/renderer/distillability_agent.cc File components/dom_distiller/content/renderer/distillability_agent.cc (right): https://codereview.chromium.org/1703313003/diff/20001/components/dom_distiller/content/renderer/distillability_agent.cc#newcode55 components/dom_distiller/content/renderer/distillability_agent.cc:55: const DistillablePageDetector* long_page, If we add any more ...
4 years, 10 months ago (2016-02-18 17:17:21 UTC) #8
wychen
https://codereview.chromium.org/1703313003/diff/20001/components/dom_distiller/content/renderer/distillability_agent.cc File components/dom_distiller/content/renderer/distillability_agent.cc (right): https://codereview.chromium.org/1703313003/diff/20001/components/dom_distiller/content/renderer/distillability_agent.cc#newcode55 components/dom_distiller/content/renderer/distillability_agent.cc:55: const DistillablePageDetector* long_page, On 2016/02/18 17:17:21, mdjones wrote: > ...
4 years, 10 months ago (2016-02-18 21:47:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1703313003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1703313003/40001
4 years, 10 months ago (2016-02-18 22:51:20 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 10 months ago (2016-02-19 00:18:50 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 00:19:56 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e9ef74ab7411ca08359015167b2c2bc1b566f95b
Cr-Commit-Position: refs/heads/master@{#376294}

Powered by Google App Engine
This is Rietveld 408576698