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

Issue 2342873005: Disable Reader Mode when requesting desktop site (Closed)

Created:
4 years, 3 months ago by mdjones
Modified:
4 years, 3 months ago
Reviewers:
wychen
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable Reader Mode when requesting desktop site If requesting a desktop site on mobile, Reader Mode will no longer trigger unless its heuristic is set to ALWAYS_TRUE. BUG=647086 Committed: https://crrev.com/591e68b15907d0489d344083411f24b1c2c81809 Cr-Commit-Position: refs/heads/master@{#419562}

Patch Set 1 #

Patch Set 2 : fewer jni calls #

Total comments: 4

Patch Set 3 : address comments #

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManager.java View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/dom_distiller/tab_utils_android.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
mdjones
ptal
4 years, 3 months ago (2016-09-16 17:30:02 UTC) #2
wychen
Thanks for the quick fix! LGTM. https://codereview.chromium.org/2342873005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java (right): https://codereview.chromium.org/2342873005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java#newcode65 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java:65: * @return True ...
4 years, 3 months ago (2016-09-16 22:56:35 UTC) #3
mdjones
https://codereview.chromium.org/2342873005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java (right): https://codereview.chromium.org/2342873005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java#newcode65 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java:65: * @return True if distiller is ALWAYS_TRUE. On 2016/09/16 ...
4 years, 3 months ago (2016-09-19 15:42:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2342873005/40001
4 years, 3 months ago (2016-09-19 15:43:41 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/143753)
4 years, 3 months ago (2016-09-19 17:02:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2342873005/60001
4 years, 3 months ago (2016-09-19 21:00:54 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 21:36:20 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:38:40 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/591e68b15907d0489d344083411f24b1c2c81809
Cr-Commit-Position: refs/heads/master@{#419562}

Powered by Google App Engine
This is Rietveld 408576698