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

Issue 2784653004: Cleanup Tool WebUI: Add HTML content and styling with dummy JS (Closed)

Created:
3 years, 8 months ago by proberge
Modified:
3 years, 8 months ago
Reviewers:
ftirelo, Dan Beam, tommycli
CC:
chromium-reviews, vitalyp+closure_chromium.org, jlklein+watch-closure_chromium.org, arv+watch_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup Tool WebUI: Add HTML content and styling with dummy JS Hardcoded strings instead of messages to avoid translation of prototype strings. See https://goto.google.com/fypdm for screenshots. Note that this CL doesn't include all the content in the screenshots. All slides except the last are at 150% zoom. Note that I renamed main.html to cleanup.html to try and to follow the pattern in md_bookmarks/md_downloads/md_extensions. BUG=690020 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2784653004 Cr-Commit-Position: refs/heads/master@{#461865} Committed: https://chromium.googlesource.com/chromium/src/+/e51fced5944c4d9c29f1fe70c1f31ebb7690d6c3

Patch Set 1 #

Patch Set 2 : Port in review changes on now-deleted main.html to cleanup.html #

Total comments: 8

Patch Set 3 : Update urls, address review comments #

Total comments: 6

Patch Set 4 : Use SendWithPromise, add a browser_proxy #

Patch Set 5 : Remove some JS and HTML files for an easier review #

Patch Set 6 : Fix broken i18n commands #

Total comments: 20

Patch Set 7 : Address review comments on #6 #

Patch Set 8 : Add missing dtor #

Total comments: 7

Patch Set 9 : Remove line breaks in browser_resources.grd #

Patch Set 10 : Move build include to is_win section #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -15 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
A chrome/browser/resources/cleanup_tool/cleanup.html View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/resources/cleanup_tool/compiled_resources2.gyp View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
D chrome/browser/resources/cleanup_tool/main.html View 1 1 chunk +0 lines, -12 lines 0 comments Download
A chrome/browser/resources/cleanup_tool/toolbar.html View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/resources/cleanup_tool/toolbar.js View 1 chunk +11 lines, -0 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
A chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.h View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.cc View 1 2 3 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/cleanup_tool/cleanup_tool_ui.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/cleanup_tool/cleanup_tool_ui.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/closure_compiler/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (14 generated)
proberge
3 years, 8 months ago (2017-03-29 17:21:47 UTC) #3
ftirelo
LGTM with some nits. https://codereview.chromium.org/2784653004/diff/20001/chrome/browser/resources/cleanup_tool/icons.html File chrome/browser/resources/cleanup_tool/icons.html (right): https://codereview.chromium.org/2784653004/diff/20001/chrome/browser/resources/cleanup_tool/icons.html#newcode16 chrome/browser/resources/cleanup_tool/icons.html:16: <g id="verified-user"><path d="M12 1L3 5v6c0 ...
3 years, 8 months ago (2017-03-29 20:59:11 UTC) #4
proberge
++tommycli for a more thorough WebUI review. https://codereview.chromium.org/2784653004/diff/20001/chrome/browser/resources/cleanup_tool/icons.html File chrome/browser/resources/cleanup_tool/icons.html (right): https://codereview.chromium.org/2784653004/diff/20001/chrome/browser/resources/cleanup_tool/icons.html#newcode16 chrome/browser/resources/cleanup_tool/icons.html:16: <g id="verified-user"><path ...
3 years, 8 months ago (2017-03-29 21:29:36 UTC) #6
tommycli
Hey, I sent you comments on the C++ handler part only. I recommend you break ...
3 years, 8 months ago (2017-03-29 22:09:06 UTC) #7
proberge
Split most of the HTML/JS into a separate CL. https://codereview.chromium.org/2784653004/diff/40001/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.cc File chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.cc (right): https://codereview.chromium.org/2784653004/diff/40001/chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.cc#newcode25 chrome/browser/ui/webui/cleanup_tool/cleanup_action_handler.cc:25: ...
3 years, 8 months ago (2017-03-30 17:57:21 UTC) #8
tommycli
lgtm
3 years, 8 months ago (2017-03-30 20:11: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/2784653004/100001
3 years, 8 months ago (2017-03-30 20:14:35 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/399082)
3 years, 8 months ago (2017-03-30 20:25:51 UTC) #14
proberge
++dbeam for browser_resources.grd and compiled_resources2.gyp
3 years, 8 months ago (2017-03-30 20:34:06 UTC) #16
Dan Beam
https://codereview.chromium.org/2784653004/diff/100001/chrome/browser/resources/cleanup_tool/cleanup.html File chrome/browser/resources/cleanup_tool/cleanup.html (right): https://codereview.chromium.org/2784653004/diff/100001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode9 chrome/browser/resources/cleanup_tool/cleanup.html:9: <script src="chrome://resources/js/load_time_data.js"></script> can you import load_time_data.html instead? https://codereview.chromium.org/2784653004/diff/100001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode10 chrome/browser/resources/cleanup_tool/cleanup.html:10: ...
3 years, 8 months ago (2017-04-04 00:00:01 UTC) #17
proberge
https://codereview.chromium.org/2784653004/diff/100001/chrome/browser/resources/cleanup_tool/cleanup.html File chrome/browser/resources/cleanup_tool/cleanup.html (right): https://codereview.chromium.org/2784653004/diff/100001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode9 chrome/browser/resources/cleanup_tool/cleanup.html:9: <script src="chrome://resources/js/load_time_data.js"></script> On 2017/04/04 00:00:00, Dan Beam (slow) wrote: ...
3 years, 8 months ago (2017-04-04 16:10:11 UTC) #18
Dan Beam
lgtm https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/browser_resources.grd#newcode18 chrome/browser/browser_resources.grd:18: file="resources\cleanup_tool\cleanup.html" type="chrome_html" /> why are you wrapping like ...
3 years, 8 months ago (2017-04-04 17:40:57 UTC) #19
proberge
Thanks for the review! https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/browser_resources.grd#newcode18 chrome/browser/browser_resources.grd:18: file="resources\cleanup_tool\cleanup.html" type="chrome_html" /> On 2017/04/04 ...
3 years, 8 months ago (2017-04-04 19:08:33 UTC) #20
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/2784653004/160001
3 years, 8 months ago (2017-04-04 19:09:53 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/312116)
3 years, 8 months ago (2017-04-04 19:35:43 UTC) #25
Dan Beam
https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html File chrome/browser/resources/cleanup_tool/cleanup.html (right): https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode19 chrome/browser/resources/cleanup_tool/cleanup.html:19: :root { On 2017/04/04 19:08:33, proberge wrote: > On ...
3 years, 8 months ago (2017-04-04 19:53:38 UTC) #26
proberge
https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html File chrome/browser/resources/cleanup_tool/cleanup.html (right): https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode19 chrome/browser/resources/cleanup_tool/cleanup.html:19: :root { On 2017/04/04 19:53:37, Dan Beam (slow) wrote: ...
3 years, 8 months ago (2017-04-04 20:48:16 UTC) #27
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/2784653004/180001
3 years, 8 months ago (2017-04-04 20:49:05 UTC) #30
Dan Beam
https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html File chrome/browser/resources/cleanup_tool/cleanup.html (right): https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resources/cleanup_tool/cleanup.html#newcode19 chrome/browser/resources/cleanup_tool/cleanup.html:19: :root { On 2017/04/04 20:48:16, proberge wrote: > On ...
3 years, 8 months ago (2017-04-04 21:07:14 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 22:16:40 UTC) #34
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/e51fced5944c4d9c29f1fe70c1f3...

Powered by Google App Engine
This is Rietveld 408576698