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

Issue 10875076: Add support for non-integer scaling factors in resource_scale_factors presubmit script (Closed)

Created:
8 years, 3 months ago by benrg
Modified:
8 years, 3 months ago
Reviewers:
flackr, oshima
CC:
huangs, chromium-reviews, oshima+watch_chromium.org
Visibility:
Public.

Description

Add support for non-integer scaling factors in resource_scale_factors presubmit script BUG=None TEST=tested locally by huangs Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153826

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix comment #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M chrome/app/theme/PRESUBMIT.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/resources/PRESUBMIT.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/resources/resource_check/resource_scale_factors.py View 1 4 chunks +20 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
benrg
flackr, oshima, does this look reasonable? (Note: not tested yet so there may be silly ...
8 years, 3 months ago (2012-08-27 20:43:46 UTC) #1
flackr
LGTM Returning a validator function may make the code read more nicely, i.e. a check ...
8 years, 3 months ago (2012-08-28 16:51:28 UTC) #2
flackr
http://codereview.chromium.org/10875076/diff/1/ui/resources/resource_check/resource_scale_factors.py File ui/resources/resource_check/resource_scale_factors.py (right): http://codereview.chromium.org/10875076/diff/1/ui/resources/resource_check/resource_scale_factors.py#newcode28 ui/resources/resource_check/resource_scale_factors.py:28: [(1, 'default_100_percent'), (2, 'default_200_percent')] Update this comment please.
8 years, 3 months ago (2012-08-28 16:52:30 UTC) #3
benrg
Oshima says we need to talk to the UI people about the correct constraint, so ...
8 years, 3 months ago (2012-08-28 18:03:09 UTC) #4
oshima
On Tue, Aug 28, 2012 at 11:03 AM, <benrg@chromium.org> wrote: > Oshima says we need ...
8 years, 3 months ago (2012-08-28 18:09:30 UTC) #5
flackr
Yes, this doesn't check 140 or 180, but it also wouldn't change anything for a ...
8 years, 3 months ago (2012-08-28 21:45:25 UTC) #6
benrg
Oshima, I need your owner approval.
8 years, 3 months ago (2012-08-28 22:50:26 UTC) #7
oshima
LGTM
8 years, 3 months ago (2012-08-28 22:54:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benrg@chromium.org/10875076/3002
8 years, 3 months ago (2012-08-28 22:57:45 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/app/theme/PRESUBMIT.py: While running patch -p1 --forward --force; patching file chrome/app/theme/PRESUBMIT.py ...
8 years, 3 months ago (2012-08-28 22:57:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benrg@chromium.org/10875076/5003
8 years, 3 months ago (2012-08-28 23:05:39 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-08-29 02:17:20 UTC) #12
Change committed as 153826

Powered by Google App Engine
This is Rietveld 408576698