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

Issue 1265843005: Refactor feedback to use native JS object (Closed)

Created:
5 years, 4 months ago by mdjones
Modified:
5 years, 3 months ago
Reviewers:
nyquist, wychen
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@js-mojo-combine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor feedback to use native JS object This change moves the triggering logic for feedback out of DomDistillerViewerSource and into the native "distiller" JavaScript object. BUG= Committed: https://crrev.com/65173ea8d88884cf71b5713165c4c069b9b714dc Cr-Commit-Position: refs/heads/master@{#350574}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Param order #

Total comments: 12

Patch Set 4 : address comments #

Patch Set 5 : impl comments #

Messages

Total messages: 13 (2 generated)
mdjones
Refactor "image ajax" into something nice. PTAL
5 years, 3 months ago (2015-09-09 18:29:31 UTC) #2
wychen
https://codereview.chromium.org/1265843005/diff/20001/components/dom_distiller/content/browser/distiller_javascript_service_impl.h File components/dom_distiller/content/browser/distiller_javascript_service_impl.h (right): https://codereview.chromium.org/1265843005/diff/20001/components/dom_distiller/content/browser/distiller_javascript_service_impl.h#newcode29 components/dom_distiller/content/browser/distiller_javascript_service_impl.h:29: mojo::StrongBinding<DistillerJavaScriptService> binding_; Where is this used? https://codereview.chromium.org/1265843005/diff/20001/components/dom_distiller/content/browser/distiller_javascript_service_impl.h#newcode35 components/dom_distiller/content/browser/distiller_javascript_service_impl.h:35: void ...
5 years, 3 months ago (2015-09-09 21:12:24 UTC) #3
mdjones
https://codereview.chromium.org/1265843005/diff/20001/components/dom_distiller/content/browser/distiller_javascript_service_impl.h File components/dom_distiller/content/browser/distiller_javascript_service_impl.h (right): https://codereview.chromium.org/1265843005/diff/20001/components/dom_distiller/content/browser/distiller_javascript_service_impl.h#newcode29 components/dom_distiller/content/browser/distiller_javascript_service_impl.h:29: mojo::StrongBinding<DistillerJavaScriptService> binding_; On 2015/09/09 21:12:24, wychen wrote: > Where ...
5 years, 3 months ago (2015-09-09 22:35:16 UTC) #4
nyquist
https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc File components/dom_distiller/content/browser/distiller_javascript_service_impl.cc (right): https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc#newcode33 components/dom_distiller/content/browser/distiller_javascript_service_impl.cc:33: FeedbackReporter::ReportQuality(false); Could we just do: ### FeedbackReporter::ReportQuality(good); if (good) ...
5 years, 3 months ago (2015-09-10 19:04:13 UTC) #5
mdjones
https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc File components/dom_distiller/content/browser/distiller_javascript_service_impl.cc (right): https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc#newcode33 components/dom_distiller/content/browser/distiller_javascript_service_impl.cc:33: FeedbackReporter::ReportQuality(false); On 2015/09/10 19:04:13, nyquist wrote: > Could we ...
5 years, 3 months ago (2015-09-11 16:50:14 UTC) #6
nyquist
https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/common/distiller_javascript_service.mojom File components/dom_distiller/content/common/distiller_javascript_service.mojom (right): https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/common/distiller_javascript_service.mojom#newcode11 components/dom_distiller/content/common/distiller_javascript_service.mojom:11: HandleDistillerFeedbackCall(bool good); On 2015/09/11 16:50:13, mdjones wrote: > On ...
5 years, 3 months ago (2015-09-11 17:14:23 UTC) #7
mdjones
https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/common/distiller_javascript_service.mojom File components/dom_distiller/content/common/distiller_javascript_service.mojom (right): https://codereview.chromium.org/1265843005/diff/40001/components/dom_distiller/content/common/distiller_javascript_service.mojom#newcode11 components/dom_distiller/content/common/distiller_javascript_service.mojom:11: HandleDistillerFeedbackCall(bool good); On 2015/09/11 17:14:22, nyquist wrote: > On ...
5 years, 3 months ago (2015-09-11 18:25:54 UTC) #8
nyquist
lgtm
5 years, 3 months ago (2015-09-11 19:23:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265843005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265843005/80001
5 years, 3 months ago (2015-09-24 15:23:55 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-24 16:44:53 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 16:45:23 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/65173ea8d88884cf71b5713165c4c069b9b714dc
Cr-Commit-Position: refs/heads/master@{#350574}

Powered by Google App Engine
This is Rietveld 408576698