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

Issue 2190653003: [Md Feedback] Add initial data population for dialog. (Closed)

Created:
4 years, 4 months ago by apacible
Modified:
4 years, 3 months ago
Reviewers:
afakhry, sky
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, apacible+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Md Feedback] Add initial data population for dialog. This change populates the feedback dialog with some initial info, including profile email and current URL, by adding a new WebUI Message Handler for C++ <-> JS messaging. The handler will be build out to support more messaging in the future, e.g. system info, screenshots, and feedback submission. BUG=632112 Committed: https://crrev.com/dc2b3be0e417c19e4b2df35594a4ab5bec917dd4 Cr-Commit-Position: refs/heads/master@{#418977}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Patch Set 3 : Changes per afakhry@'s comments. #

Total comments: 27

Patch Set 4 : Changes per afakhry@'s comments (Part 1 from PS3). #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fix GN build. #

Patch Set 8 : Changes per afakhry@'s comments (Part 2 from PS3). #

Patch Set 9 : Rebase. #

Total comments: 20

Patch Set 10 : Changes per afakhry@'s comments (Rebase). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -125 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/feedback/feedback_dialog_utils.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A + chrome/browser/feedback/feedback_dialog_utils.cc View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -50 lines 0 comments Download
M chrome/browser/feedback/show_feedback_page.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -54 lines 0 comments Download
M chrome/browser/resources/md_feedback/feedback.html View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
A chrome/browser/resources/md_feedback/feedback.js View 1 2 3 4 5 6 7 8 9 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_feedback/feedback_container.html View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_feedback/feedback_container.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -9 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_feedback/md_feedback_ui.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_feedback/md_feedback_ui.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -5 lines 0 comments Download
A chrome/browser/ui/webui/md_feedback/md_feedback_webui_message_handler.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/md_feedback/md_feedback_webui_message_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 82 (55 generated)
apacible
PTAL, thanks!
4 years, 4 months ago (2016-07-28 18:44:03 UTC) #16
afakhry
apacible, first thanks for your efforts! - Whenever you make a change that introduces UI ...
4 years, 4 months ago (2016-08-03 23:56:02 UTC) #19
apacible
> Before we proceed with the review, please pick one that goes first, rebase the ...
4 years, 4 months ago (2016-08-04 17:21:14 UTC) #20
apacible
> adding links to screenshots Noted! > if there's something you can do to make ...
4 years, 4 months ago (2016-08-11 18:50:33 UTC) #21
afakhry
Bear with me! :) https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js File chrome/browser/resources/md_feedback/feedback.js (right): https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js#newcode5 chrome/browser/resources/md_feedback/feedback.js:5: cr.define('feedback', function() { First, thank ...
4 years, 4 months ago (2016-08-11 23:31:32 UTC) #22
apacible
Thanks for your comments! I'll be OOO for about a week, but acknowledge and will ...
4 years, 4 months ago (2016-08-12 01:46:42 UTC) #23
afakhry
https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js File chrome/browser/resources/md_feedback/feedback.js (right): https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js#newcode5 chrome/browser/resources/md_feedback/feedback.js:5: cr.define('feedback', function() { On 2016/08/12 01:46:41, apacible (ooo through ...
4 years, 4 months ago (2016-08-12 19:22:38 UTC) #24
apacible
https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js File chrome/browser/resources/md_feedback/feedback.js (right): https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js#newcode5 chrome/browser/resources/md_feedback/feedback.js:5: cr.define('feedback', function() { On 2016/08/12 19:22:38, afakhry wrote: > ...
4 years, 3 months ago (2016-08-29 17:00:20 UTC) #25
apacible
https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback_container.js File chrome/browser/resources/md_feedback/feedback_container.js (right): https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback_container.js#newcode41 chrome/browser/resources/md_feedback/feedback_container.js:41: this.i18n('privacyNote') : ''; On 2016/08/11 23:31:31, afakhry wrote: > ...
4 years, 3 months ago (2016-09-10 07:47:00 UTC) #35
afakhry
Almost there! :) https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/feedback/feedback_dialog_utils.cc File chrome/browser/feedback/feedback_dialog_utils.cc (right): https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/feedback/feedback_dialog_utils.cc#newcode41 chrome/browser/feedback/feedback_dialog_utils.cc:41: Profile* profile = NULL; nullptr. https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/feedback/feedback_dialog_utils.cc#newcode42 ...
4 years, 3 months ago (2016-09-14 01:48:16 UTC) #38
Dan Beam
https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js File chrome/browser/resources/md_feedback/feedback.js (right): https://codereview.chromium.org/2190653003/diff/140001/chrome/browser/resources/md_feedback/feedback.js#newcode5 chrome/browser/resources/md_feedback/feedback.js:5: cr.define('feedback', function() { On 2016/08/29 17:00:20, apacible wrote: > ...
4 years, 3 months ago (2016-09-14 05:11:21 UTC) #39
apacible
https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/feedback/feedback_dialog_utils.cc File chrome/browser/feedback/feedback_dialog_utils.cc (right): https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/feedback/feedback_dialog_utils.cc#newcode41 chrome/browser/feedback/feedback_dialog_utils.cc:41: Profile* profile = NULL; On 2016/09/14 01:48:15, afakhry wrote: ...
4 years, 3 months ago (2016-09-14 17:53:21 UTC) #47
afakhry
https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/resources/md_feedback/feedback.js File chrome/browser/resources/md_feedback/feedback.js (right): https://codereview.chromium.org/2190653003/diff/320001/chrome/browser/resources/md_feedback/feedback.js#newcode6 chrome/browser/resources/md_feedback/feedback.js:6: 'use strict'; On 2016/09/14 17:53:20, apacible wrote: > On ...
4 years, 3 months ago (2016-09-14 18:07:38 UTC) #53
apacible
+sky for .gn, .grd OWNERS afakhry: I'll be sending out a CL to fix up ...
4 years, 3 months ago (2016-09-14 18:12:11 UTC) #59
sky
LGTM
4 years, 3 months ago (2016-09-14 18:19:02 UTC) #60
afakhry
lgtm! Thanks! :)
4 years, 3 months ago (2016-09-14 18:23:51 UTC) #63
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/2190653003/420001
4 years, 3 months ago (2016-09-14 18:37:52 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/2666)
4 years, 3 months ago (2016-09-14 18:49:24 UTC) #67
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/2190653003/420001
4 years, 3 months ago (2016-09-15 19:07:52 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/2726)
4 years, 3 months ago (2016-09-15 19:18:13 UTC) #71
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/2190653003/420001
4 years, 3 months ago (2016-09-15 20:15:12 UTC) #74
apacible
Removed closure compilation bot to unblock landing this change since we're not being typechecked: third_party/closure_compiler/compiled_resources2.gyp.
4 years, 3 months ago (2016-09-15 20:21:08 UTC) #75
Dan Beam
On 2016/09/15 20:21:08, apacible wrote: > Removed closure compilation bot to unblock landing this change ...
4 years, 3 months ago (2016-09-15 20:29:47 UTC) #76
Dan Beam
On 2016/09/15 20:29:47, Dan Beam wrote: > On 2016/09/15 20:21:08, apacible wrote: > > Removed ...
4 years, 3 months ago (2016-09-15 20:30:21 UTC) #77
apacible
> it should also be fixed, fyi Oh cool, thanks :) > also, why aren't ...
4 years, 3 months ago (2016-09-15 20:34:10 UTC) #78
commit-bot: I haz the power
Committed patchset #10 (id:420001)
4 years, 3 months ago (2016-09-15 21:15:30 UTC) #80
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 21:18:57 UTC) #82
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/dc2b3be0e417c19e4b2df35594a4ab5bec917dd4
Cr-Commit-Position: refs/heads/master@{#418977}

Powered by Google App Engine
This is Rietveld 408576698