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

Issue 2278423002: Misc. cleanup (Closed)

Created:
4 years, 3 months ago by Peter Kasting
Modified:
4 years, 3 months ago
Reviewers:
Dan Beam, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, vabr+watchlistpasswordmanager_chromium.org, tfarina, noyau+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, gcasto+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Misc. cleanup * Improve comments * Eliminate -webkit-transition that seems to do nothing * Group related CSS selectors near each other in preparation for combining/modifying them * Don't use RTL folder images on Mac (see https://cs.chromium.org/chromium/src/chrome/browser/resource_delegate_mac.mm?rcl=0&l=50 ) * Use "x .y" instead of "x > * > .y" when the two will select the same elements, for brevity * Remove unnecessary size arg to getFaviconImageSet() (matches default value) * Don't use the name "scale_factor" for floats relating to scale, as "scale" and "scale factor" are distinct concepts. Use "scale" when that's what is meant. * Avoid unnecessary using directives. * Use a helper function to avoid repeating the same multi-part conditional * NULL -> nullptr * Improve function and variable names * Eliminate NOTREACHED() that can, in fact, be reached BUG=none TEST=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/7f8dd6be8d00e838b371f904ddf2264172fdd826 Cr-Commit-Position: refs/heads/master@{#416425}

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Forgot a few #

Total comments: 2

Patch Set 4 : Reinstate incorrect hack for now (will remove separately) #

Patch Set 5 : Further cleanup in preparation for removing hack in subsequent patch #

Total comments: 15

Patch Set 6 : Review comments #

Total comments: 11

Patch Set 7 : Remove dead rules #

Patch Set 8 : Resync #

Patch Set 9 : Bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -158 lines) Patch
M chrome/browser/resources/bookmark_manager/css/bmm.css View 1 2 3 4 5 6 3 chunks +42 lines, -45 lines 0 comments Download
M chrome/browser/resources/options/password_manager_list.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/theme_source.h View 1 2 3 4 1 chunk +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/theme_source.cc View 1 2 3 4 5 6 6 chunks +61 lines, -91 lines 0 comments Download
M ui/webui/resources/css/tree.css View 3 chunks +15 lines, -13 lines 0 comments Download

Messages

Total messages: 54 (33 generated)
Peter Kasting
sky: chrome/browser/ui/ OWNERS dbeam: rest Dan, I've marked a block in bmm.css as "Why did ...
4 years, 3 months ago (2016-08-26 07:38:18 UTC) #10
sky
One question on your name change. https://codereview.chromium.org/2278423002/diff/40001/chrome/browser/ui/webui/theme_source.h File chrome/browser/ui/webui/theme_source.h (right): https://codereview.chromium.org/2278423002/diff/40001/chrome/browser/ui/webui/theme_source.h#newcode51 chrome/browser/ui/webui/theme_source.h:51: float scale); Why ...
4 years, 3 months ago (2016-08-26 16:25:46 UTC) #15
Peter Kasting
https://codereview.chromium.org/2278423002/diff/40001/chrome/browser/ui/webui/theme_source.h File chrome/browser/ui/webui/theme_source.h (right): https://codereview.chromium.org/2278423002/diff/40001/chrome/browser/ui/webui/theme_source.h#newcode51 chrome/browser/ui/webui/theme_source.h:51: float scale); On 2016/08/26 16:25:46, sky wrote: > Why ...
4 years, 3 months ago (2016-08-26 19:14:58 UTC) #16
Peter Kasting
BTW Dan, tell me if there's a reason to prefer "list > * > .label" ...
4 years, 3 months ago (2016-08-26 20:14:50 UTC) #21
Peter Kasting
On 2016/08/26 20:14:50, Peter Kasting wrote: > BTW Dan, tell me if there's a reason ...
4 years, 3 months ago (2016-08-26 20:15:20 UTC) #22
sky
Fair enough, LGTM
4 years, 3 months ago (2016-08-26 20:31:19 UTC) #23
Dan Beam
i would discourage your CSS changes unless there's a clear benefit. ">" means "direct descendant" ...
4 years, 3 months ago (2016-08-30 01:27:29 UTC) #26
Peter Kasting
Have not updated yet, just replying. On 2016/08/30 01:27:29, Dan Beam wrote: > ">" means ...
4 years, 3 months ago (2016-08-30 01:48:47 UTC) #27
Peter Kasting
Fixed the items below that were clearly wrong. Waiting for your reply on the other ...
4 years, 3 months ago (2016-08-30 22:51:29 UTC) #30
Dan Beam
this seems fine to me, but why are one block that "take[s] up space" (in ...
4 years, 3 months ago (2016-09-01 06:11:04 UTC) #33
Dan Beam
On 2016/09/01 06:11:04, Dan Beam wrote: > this seems fine to me, but why are ...
4 years, 3 months ago (2016-09-01 06:11:26 UTC) #34
Peter Kasting
On 2016/09/01 06:11:26, Dan Beam wrote: > On 2016/09/01 06:11:04, Dan Beam wrote: > > ...
4 years, 3 months ago (2016-09-01 07:13:31 UTC) #35
Dan Beam
lgtm https://codereview.chromium.org/2278423002/diff/100001/chrome/browser/resources/bookmark_manager/css/bmm.css File chrome/browser/resources/bookmark_manager/css/bmm.css (left): https://codereview.chromium.org/2278423002/diff/100001/chrome/browser/resources/bookmark_manager/css/bmm.css#oldcode86 chrome/browser/resources/bookmark_manager/css/bmm.css:86: /* We need to ensure that even empty ...
4 years, 3 months ago (2016-09-02 23:17:24 UTC) #36
Peter Kasting
https://codereview.chromium.org/2278423002/diff/100001/chrome/browser/resources/bookmark_manager/css/bmm.css File chrome/browser/resources/bookmark_manager/css/bmm.css (right): https://codereview.chromium.org/2278423002/diff/100001/chrome/browser/resources/bookmark_manager/css/bmm.css#newcode41 chrome/browser/resources/bookmark_manager/css/bmm.css:41: list > * > * { On 2016/09/02 23:17:23, ...
4 years, 3 months ago (2016-09-02 23:22:22 UTC) #37
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/2278423002/120001
4 years, 3 months ago (2016-09-02 23:24:48 UTC) #40
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/63342) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-02 23:27:17 UTC) #42
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/2278423002/140001
4 years, 3 months ago (2016-09-02 23:37:21 UTC) #45
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/2397)
4 years, 3 months ago (2016-09-02 23:47:26 UTC) #47
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/2278423002/160001
4 years, 3 months ago (2016-09-02 23:59:45 UTC) #50
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-03 01:29:33 UTC) #52
commit-bot: I haz the power
4 years, 3 months ago (2016-09-03 01:31:34 UTC) #54
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7f8dd6be8d00e838b371f904ddf2264172fdd826
Cr-Commit-Position: refs/heads/master@{#416425}

Powered by Google App Engine
This is Rietveld 408576698