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

Issue 1497483003: Update delegate held by UI utils (Closed)

Created:
5 years ago by mdjones
Modified:
5 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update delegate held by UI utils In document mode, there are multiple activities and therefore multiple Reader Mode managers. The UI utils that allow the in-page javascript to work needs the active manager. This change updates the reference in UI utils whenever a different tab is shown. BUG=562360 Committed: https://crrev.com/a102ef96335a4f70d23040c530fee09aac3e126a Cr-Commit-Position: refs/heads/master@{#363001}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java View 1 chunk +0 lines, -1 line 3 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManager.java View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
mdjones
PTAL
5 years ago (2015-12-03 00:50:33 UTC) #2
mdjones
5 years ago (2015-12-03 00:55:55 UTC) #4
wychen
In the description, using "document mode (Hera)", or "document mode" might be better than "hera". ...
5 years ago (2015-12-03 00:58:27 UTC) #5
mdjones
https://codereview.chromium.org/1497483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java (left): https://codereview.chromium.org/1497483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java#oldcode109 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java:109: sFeedbackReporter = null; On 2015/12/03 00:58:27, wychen wrote: > ...
5 years ago (2015-12-03 01:04:40 UTC) #7
mdjones
On 2015/12/03 01:04:40, mdjones wrote: > https://codereview.chromium.org/1497483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java > File > chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java > (left): > > ...
5 years ago (2015-12-03 01:05:02 UTC) #8
wychen
lgtm https://codereview.chromium.org/1497483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java (left): https://codereview.chromium.org/1497483003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java#oldcode109 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java:109: sFeedbackReporter = null; On 2015/12/03 01:04:40, mdjones wrote: ...
5 years ago (2015-12-03 01:18:06 UTC) #9
David Trainor- moved to gerrit
lgtm
5 years ago (2015-12-03 03:20:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497483003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497483003/1
5 years ago (2015-12-03 16:38:10 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-03 17:21:22 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-03 17:22:19 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a102ef96335a4f70d23040c530fee09aac3e126a
Cr-Commit-Position: refs/heads/master@{#363001}

Powered by Google App Engine
This is Rietveld 408576698