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

Issue 2795133002: Chrome Cleaner UI: Add a dialog class for the new UI (Closed)

Created:
3 years, 8 months ago by alito
Modified:
3 years, 8 months ago
CC:
chromium-reviews, vakh+watch_chromium.org, tfarina, joenotcharles+watch_chromium.org, timvolodine, grt+watch_chromium.org, ftirelo+watch_chromium.org, alito+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Chrome Cleaner UI: Add a dialog class for the new UI Adds a new dialog class based on our current UX mocks. The intention is to iterate with the UX team to come up with a UI for the Chrome Cleanup tool. Some functionality is currently missing and will be added in subsequent CLs: - Checkbox to ask for logs upload permissions - Animation when the details section is expanded/folded BUG=690020 Review-Url: https://codereview.chromium.org/2795133002 Cr-Commit-Position: refs/heads/master@{#462669} Committed: https://chromium.googlesource.com/chromium/src/+/e82b14ba802b65c88c6775838d9d2d7d1315eac8

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed Fabio's comments #

Total comments: 35

Patch Set 3 : Addressed sky@'s comments #

Patch Set 4 : No longer subclassing View for the details section #

Total comments: 2

Patch Set 5 : Adressed more comments. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -0 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/srt_prompt_dialog.h View 1 2 3 4 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/srt_prompt_dialog.cc View 1 2 3 4 1 chunk +300 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/srt_prompt_dialog_browsertest.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
alito
Adding a first draft of the new Cleaner UI. PTAL. To see what the dialog ...
3 years, 8 months ago (2017-04-04 03:26:53 UTC) #2
ftirelo
LGTM with a few nits. https://codereview.chromium.org/2795133002/diff/1/chrome/browser/ui/views/srt_prompt_dialog.cc File chrome/browser/ui/views/srt_prompt_dialog.cc (right): https://codereview.chromium.org/2795133002/diff/1/chrome/browser/ui/views/srt_prompt_dialog.cc#newcode94 chrome/browser/ui/views/srt_prompt_dialog.cc:94: if (!(first_label || (is_bullet ...
3 years, 8 months ago (2017-04-05 18:03:40 UTC) #3
alito
Thanks Fabio. Scott, could you PTAL? This is largely influenced by another CL that you ...
3 years, 8 months ago (2017-04-05 19:23:50 UTC) #4
alito
Now actually adding sky@ as reviewer. Please see description below.
3 years, 8 months ago (2017-04-05 19:24:39 UTC) #6
sky
https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/safe_browsing/srt_prompt_controller.h File chrome/browser/safe_browsing/srt_prompt_controller.h (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/safe_browsing/srt_prompt_controller.h#newcode48 chrome/browser/safe_browsing/srt_prompt_controller.h:48: static void ShowSRTPrompt(Browser* browser, SRTPromptController* controller); This is a ...
3 years, 8 months ago (2017-04-05 21:17:42 UTC) #7
alito
Thanks scott. I've addressed your comments. PTAnL! /ali https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/safe_browsing/srt_prompt_controller.h File chrome/browser/safe_browsing/srt_prompt_controller.h (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/safe_browsing/srt_prompt_controller.h#newcode48 chrome/browser/safe_browsing/srt_prompt_controller.h:48: static ...
3 years, 8 months ago (2017-04-06 00:20:23 UTC) #8
sky
https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.cc File chrome/browser/ui/views/srt_prompt_dialog.cc (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.cc#newcode165 chrome/browser/ui/views/srt_prompt_dialog.cc:165: class SRTPromptDialog::ExpandableMessageView : public views::View { On 2017/04/06 00:20:22, ...
3 years, 8 months ago (2017-04-06 02:10:03 UTC) #9
alito
Thanks Scott. I've removed the ExpandableMessageView class. PTAnL. https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.cc File chrome/browser/ui/views/srt_prompt_dialog.cc (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.cc#newcode165 chrome/browser/ui/views/srt_prompt_dialog.cc:165: class ...
3 years, 8 months ago (2017-04-06 03:37:46 UTC) #10
sky
https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.h File chrome/browser/ui/views/srt_prompt_dialog.h (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.h#newcode39 chrome/browser/ui/views/srt_prompt_dialog.h:39: // The |controller| object manages its own lifetime and ...
3 years, 8 months ago (2017-04-06 16:01:02 UTC) #11
alito
Addressed your comments Scott. PTAnL. Thx. /ali https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.h File chrome/browser/ui/views/srt_prompt_dialog.h (right): https://codereview.chromium.org/2795133002/diff/20001/chrome/browser/ui/views/srt_prompt_dialog.h#newcode39 chrome/browser/ui/views/srt_prompt_dialog.h:39: // The ...
3 years, 8 months ago (2017-04-06 17:35:37 UTC) #12
sky
LGTM
3 years, 8 months ago (2017-04-06 19:43:38 UTC) #13
alito
Thanks Scott for the review! Robert, do you have any comments?
3 years, 8 months ago (2017-04-06 19:54:26 UTC) #14
robertshield
lgtm
3 years, 8 months ago (2017-04-06 20:21:17 UTC) #16
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/2795133002/80001
3 years, 8 months ago (2017-04-06 20:24:25 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/185725) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-04-06 20:29:15 UTC) #21
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/2795133002/100001
3 years, 8 months ago (2017-04-06 22:01:41 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 23:12:33 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/e82b14ba802b65c88c6775838d9d...

Powered by Google App Engine
This is Rietveld 408576698