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
Description was changed from ========== Cleanup Tool WebUI: Add HTML content and styling with dummy ...
3 years, 8 months ago
(2017-03-29 17:20:17 UTC)
#1
Description was changed from
==========
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.
BUG=690020
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
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
==========
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
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
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
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
https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resourc...
File chrome/browser/resources/cleanup_tool/cleanup.html (right):
https://codereview.chromium.org/2784653004/diff/140001/chrome/browser/resourc...
chrome/browser/resources/cleanup_tool/cleanup.html:19: :root {
On 2017/04/04 20:48:16, proberge wrote:
> On 2017/04/04 19:53:37, Dan Beam (slow) wrote:
> > On 2017/04/04 19:08:33, proberge wrote:
> > > On 2017/04/04 17:40:57, Dan Beam (slow) wrote:
> > > > fwiw: :root and html are probably equivalent here
> > >
> > > There's no uses of --my_css_rule: foo within html or body style tags, and
a
> > few
> > > uses within root:
> > >
> > >
> >
>
https://cs.chromium.org/search/?q=f:resources/+md_+%5C-%5C-+html%5Cs%7B&type=cs
> > >
> >
>
https://cs.chromium.org/search/?q=f:resources/+md_+%5C-%5C-+root%5Cs%7B&type=cs
> > >
> > > Leaving as-is for now.
> > >
> >
> > https://developer.mozilla.org/en-US/docs/Web/CSS/:root
>
> I'm sorry, my comment was a bit unclear. I wasn't implying that you were
wrong.
> The two are indeed equivalent.
> Since the two are equivalent, I'm leaning towards using the option which is
> consistent with other WebUIs. Please let me know if you would prefer to have
the
> rules inside the html block.
you obviously didn't want to do this:
:root {
--cleanup-card-margin: 25px;
}
:root {
--cleanup-card-width: 800px;
}
and neither do "other WebUIs". this is basically what your code is equivalent
to in my head right now: just extra, unnecessary selectors.
if you see other stuff using both :root {} and html {} from a top-level context
(like this), we should fix those, too
commit-bot: I haz the power
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1491338903504550, "parent_rev": "efc241285631bb8f93f709b8cf35c3eee7511ad5", "commit_rev": "e51fced5944c4d9c29f1fe70c1f31ebb7690d6c3"}
3 years, 8 months ago
(2017-04-04 22:15:48 UTC)
#32
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1491338903504550,
"parent_rev": "efc241285631bb8f93f709b8cf35c3eee7511ad5", "commit_rev":
"e51fced5944c4d9c29f1fe70c1f31ebb7690d6c3"}
commit-bot: I haz the power
Description was changed from ========== Cleanup Tool WebUI: Add HTML content and styling with dummy ...
3 years, 8 months ago
(2017-04-04 22:16:38 UTC)
#33
Message was sent while issue was closed.
Description was changed from
==========
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
==========
to
==========
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/+/e51fced5944c4d9c29f1fe70c1f3...
==========
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/e51fced5944c4d9c29f1fe70c1f31ebb7690d6c3
3 years, 8 months ago
(2017-04-04 22:16:40 UTC)
#34
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, tommycli, Dan Beam
Base URL:
Comments: 41