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

Issue 2890513003: Move chrome/browser/web_dev_style/ to tools/ to use from more places (Closed)

Created:
3 years, 7 months ago by Dan Beam
Modified:
3 years, 7 months ago
Reviewers:
tsergeant, Nico
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move chrome/browser/web_dev_style/ to tools/ to use from more places There has always been code that should abide by the web development style guide[1] in ui/webui/ but hasn't been automatedly checked. Additionally, code from chrome/browser/ was moved to components/flags_ui/, components/version_ui/, components/about_ui/ a while ago to be used on iOS and was previously checked by presubmits but is no longer. This CL moves web_dev_style to a more generic location and hopefully makes it easier to check a whole CL's web resources with a single method call. R=tsergeant@chromium.org BUG=723234 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2890513003 Cr-Commit-Position: refs/heads/master@{#472588} Committed: https://chromium.googlesource.com/chromium/src/+/ccf7fefad401e05a493e59eabf3c99801fe5fd8a

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : tsergeant@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -2032 lines) Patch
M chrome/browser/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/PRESUBMIT.py View 2 chunks +6 lines, -70 lines 0 comments Download
M chrome/browser/resources/PRESUBMIT.py View 2 chunks +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/PRESUBMIT.py View 1 chunk +31 lines, -0 lines 0 comments Download
D chrome/browser/web_dev_style/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/web_dev_style/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/browser/web_dev_style/css_checker.py View 1 chunk +0 lines, -432 lines 0 comments Download
D chrome/browser/web_dev_style/css_checker_test.py View 1 chunk +0 lines, -517 lines 0 comments Download
D chrome/browser/web_dev_style/html_checker.py View 1 chunk +0 lines, -116 lines 0 comments Download
D chrome/browser/web_dev_style/html_checker_test.py View 1 chunk +0 lines, -214 lines 0 comments Download
D chrome/browser/web_dev_style/js_checker.py View 1 chunk +0 lines, -129 lines 0 comments Download
D chrome/browser/web_dev_style/js_checker_test.py View 1 chunk +0 lines, -400 lines 0 comments Download
D chrome/browser/web_dev_style/regex_check.py View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/web_dev_style/resource_checker.py View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/web_dev_style/resource_checker_test.py View 1 chunk +0 lines, -66 lines 0 comments Download
D chrome/browser/web_dev_style/test_util.py View 1 chunk +0 lines, -15 lines 0 comments Download
A + tools/web_dev_style/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/web_dev_style/PRESUBMIT.py View 1 chunk +34 lines, -0 lines 0 comments Download
A + tools/web_dev_style/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/css_checker.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/css_checker_test.py View 1 chunk +1 line, -1 line 0 comments Download
A + tools/web_dev_style/html_checker.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/html_checker_test.py View 1 chunk +1 line, -1 line 0 comments Download
A + tools/web_dev_style/js_checker.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/js_checker_test.py View 1 chunk +1 line, -1 line 0 comments Download
A tools/web_dev_style/presubmit_support.py View 1 1 chunk +24 lines, -0 lines 0 comments Download
A + tools/web_dev_style/regex_check.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/resource_checker.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/web_dev_style/resource_checker_test.py View 1 chunk +1 line, -1 line 0 comments Download
A + tools/web_dev_style/test_util.py View 0 chunks +-1 lines, --1 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (18 generated)
Dan Beam
3 years, 7 months ago (2017-05-17 02:57:00 UTC) #6
tsergeant
lgtm https://codereview.chromium.org/2890513003/diff/40001/tools/web_dev_style/presubmit_support.py File tools/web_dev_style/presubmit_support.py (right): https://codereview.chromium.org/2890513003/diff/40001/tools/web_dev_style/presubmit_support.py#newcode14 tools/web_dev_style/presubmit_support.py:14: is_vulcanized = lambda f: not f.endswith(('vulcanized.html', 'crisper.js')) I ...
3 years, 7 months ago (2017-05-17 03:37:13 UTC) #9
Dan Beam
https://codereview.chromium.org/2890513003/diff/40001/tools/web_dev_style/presubmit_support.py File tools/web_dev_style/presubmit_support.py (right): https://codereview.chromium.org/2890513003/diff/40001/tools/web_dev_style/presubmit_support.py#newcode14 tools/web_dev_style/presubmit_support.py:14: is_vulcanized = lambda f: not f.endswith(('vulcanized.html', 'crisper.js')) On 2017/05/17 ...
3 years, 7 months ago (2017-05-17 17:33:21 UTC) #12
Dan Beam
+thakis@ for chrome/ and tools/ OWNERS
3 years, 7 months ago (2017-05-17 17:42:35 UTC) #14
Nico
lgtm
3 years, 7 months ago (2017-05-17 20:43:02 UTC) #15
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/2890513003/60001
3 years, 7 months ago (2017-05-17 22:06:16 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 22:24:45 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ccf7fefad401e05a493e59eabf3c...

Powered by Google App Engine
This is Rietveld 408576698