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

Issue 1414283006: Hook up new distillability signal to DistillablePageUtils (Closed)

Created:
5 years, 1 month ago by wychen
Modified:
5 years, 1 month ago
Reviewers:
mdjones, Lei Zhang, nyquist
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@agent
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook up new distillability signal to DistillablePageUtils A new push-based mechanism of distillability test (http://crrev.com/1434433002/) is available in DistillablePageUtils. BUG=509869 TEST=browser_tests --gtest_filter="Distillable*" Committed: https://crrev.com/fb0595a36c10828cf7dcfdf4f0075ebb3a61798a Cr-Commit-Position: refs/heads/master@{#359633}

Patch Set 1 : #

Patch Set 2 : merge depend #

Total comments: 16

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : address thestig's comment #

Total comments: 2

Patch Set 5 : merge depend #

Total comments: 2

Patch Set 6 : address mdjones' comment #

Patch Set 7 : merge depend #

Messages

Total messages: 37 (15 generated)
wychen
PTAL
5 years, 1 month ago (2015-11-04 09:26:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414283006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414283006/40001
5 years, 1 month ago (2015-11-04 19:21:33 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/115570)
5 years, 1 month ago (2015-11-04 19:42:34 UTC) #8
mdjones
https://codereview.chromium.org/1414283006/diff/60001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/1414283006/diff/60001/chrome/renderer/chrome_content_renderer_client.cc#newcode529 chrome/renderer/chrome_content_renderer_client.cc:529: new dom_distiller::DistillabilityAgent(render_frame); Nit: Add a comment describing why this ...
5 years, 1 month ago (2015-11-05 01:09:12 UTC) #9
wychen
+thestig@: Could you take a look at chrome/renderer/chrome_content_renderer_client.cc? Thanks!
5 years, 1 month ago (2015-11-05 02:25:33 UTC) #11
wychen
Tommy, could you take a look?
5 years, 1 month ago (2015-11-11 21:35:32 UTC) #13
Lei Zhang
https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc File chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc (right): https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc#newcode1 chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 1 month ago (2015-11-11 23:12:46 UTC) #14
wychen
https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc File chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc (right): https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc#newcode1 chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 1 month ago (2015-11-12 05:39:28 UTC) #16
Lei Zhang
https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc File chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc (right): https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc#newcode77 chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc:77: base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( On 2015/11/12 05:39:28, wychen wrote: > On 2015/11/11 ...
5 years, 1 month ago (2015-11-12 07:08:19 UTC) #17
wychen
https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc File chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc (right): https://codereview.chromium.org/1414283006/diff/60001/chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc#newcode77 chrome/browser/dom_distiller/distillable_page_utils_browsertest.cc:77: base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( On 2015/11/12 07:08:19, Lei Zhang wrote: > On ...
5 years, 1 month ago (2015-11-12 22:42:52 UTC) #18
Lei Zhang
On 2015/11/12 22:42:52, wychen wrote: > Unfortunately we couldn't guarantee the delegate would be called ...
5 years, 1 month ago (2015-11-12 22:49:34 UTC) #19
Lei Zhang
https://codereview.chromium.org/1414283006/diff/100001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1414283006/diff/100001/chrome/browser/chrome_content_browser_client.cc#newcode1584 chrome/browser/chrome_content_browser_client.cc:1584: switches::kReaderModeHeuristics, You are forwarding this switch to renderers, but ...
5 years, 1 month ago (2015-11-12 22:51:37 UTC) #20
wychen
https://codereview.chromium.org/1414283006/diff/100001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1414283006/diff/100001/chrome/browser/chrome_content_browser_client.cc#newcode1584 chrome/browser/chrome_content_browser_client.cc:1584: switches::kReaderModeHeuristics, On 2015/11/12 22:51:37, Lei Zhang wrote: > You ...
5 years, 1 month ago (2015-11-12 23:07:03 UTC) #21
Lei Zhang
chrome/ lgtm
5 years, 1 month ago (2015-11-12 23:11:18 UTC) #22
mdjones
ltgm with nit https://codereview.chromium.org/1414283006/diff/120001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java (right): https://codereview.chromium.org/1414283006/diff/120001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java#newcode41 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java:41: public void onIsPageDistillableResult(boolean isDistillable, boolean isLast); ...
5 years, 1 month ago (2015-11-12 23:46:48 UTC) #23
wychen
Matt, you wrote ltgm, not lgtm. https://codereview.chromium.org/1414283006/diff/120001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java (right): https://codereview.chromium.org/1414283006/diff/120001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java#newcode41 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java:41: public void onIsPageDistillableResult(boolean ...
5 years, 1 month ago (2015-11-13 01:55:12 UTC) #24
mdjones
On 2015/11/13 01:55:12, wychen wrote: > Matt, you wrote ltgm, not lgtm. > > https://codereview.chromium.org/1414283006/diff/120001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java ...
5 years, 1 month ago (2015-11-13 03:30:10 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414283006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414283006/200001
5 years, 1 month ago (2015-11-13 09:23:15 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/118267)
5 years, 1 month ago (2015-11-13 09:30:57 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414283006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414283006/200001
5 years, 1 month ago (2015-11-13 20:21:35 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:200001)
5 years, 1 month ago (2015-11-13 21:01:14 UTC) #36
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 21:02:03 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fb0595a36c10828cf7dcfdf4f0075ebb3a61798a
Cr-Commit-Position: refs/heads/master@{#359633}

Powered by Google App Engine
This is Rietveld 408576698