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

Issue 11746012: [webui] whittle down a few more uses of old-style templateData (Closed)

Created:
7 years, 11 months ago by Evan Stade
Modified:
7 years, 11 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

[webui] whittle down a few more uses of old-style templateData BUG=122753 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175261

Patch Set 1 #

Total comments: 12

Patch Set 2 : move include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -33 lines) Patch
M chrome/browser/resources/about_flash.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/about_memory.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/about_memory.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/about_memory_linux.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/about_memory_mac.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/about_nacl.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/certificate_viewer.html View 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/certificate_viewer.js View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/flags.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/flags_warning.html View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/policy.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/policy.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 4 chunks +16 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/certificate_viewer_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/flash_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/nacl_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/policy_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
7 years, 11 months ago (2013-01-03 04:47:41 UTC) #1
Dan Beam
https://codereview.chromium.org/11746012/diff/1/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (left): https://codereview.chromium.org/11746012/diff/1/chrome/browser/resources/certificate_viewer.js#oldcode15 chrome/browser/resources/certificate_viewer.js:15: i18nTemplate.process(document, templateData); did it matter than the process happen ...
7 years, 11 months ago (2013-01-03 04:55:23 UTC) #2
Evan Stade
https://codereview.chromium.org/11746012/diff/1/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (left): https://codereview.chromium.org/11746012/diff/1/chrome/browser/resources/certificate_viewer.js#oldcode15 chrome/browser/resources/certificate_viewer.js:15: i18nTemplate.process(document, templateData); On 2013/01/03 04:55:23, Dan Beam wrote: > ...
7 years, 11 months ago (2013-01-03 05:31:23 UTC) #3
Dan Beam
lgtm
7 years, 11 months ago (2013-01-03 21:24:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/11746012/3005
7 years, 11 months ago (2013-01-04 01:35:06 UTC) #5
commit-bot: I haz the power
7 years, 11 months ago (2013-01-04 01:35:18 UTC) #6
Presubmit check for 11746012-3005 failed and returned exit status 1.


Running presubmit commit checks ...

** Presubmit Messages **
See the JavaScript style guide at
http://www.chromium.org/developers/web-development-style-guide#TOC-JavaScript
and if you have any feedback about the JavaScript PRESUBMIT check, contact
tbreisacher@chromium.org or dbeam@chromium.org

** Presubmit Warnings **
Found JavaScript style violations in chrome/browser/resources/about_memory.js:
  line 6: Use $('id'), from chrome://resources/js/util.js, instead of
document.getElementById('id'))
  if (document.getElementById('helpTooltip'))
      ^^^^^^^^^^^^^^^^^^^^^^^
  line 62: Use $('id'), from chrome://resources/js/util.js, instead of
document.getElementById('id'))
  var el = document.getElementById('helpTooltip');
           ^^^^^^^^^^^^^^^^^^^^^^^
  line 78: Use $('id'), from chrome://resources/js/util.js, instead of
document.getElementById('id'))
  var output = document.getElementById('t');
               ^^^^^^^^^^^^^^^^^^^^^^^
  line 45: E0001: Extra space before ")"
  if (event.pageX - width - 50 + document.body.scrollLeft >= 0 ) {
                                                              ^
  line 75: E0001: Extra space after "function"
document.addEventListener('DOMContentLoaded', function () {
                                                      ^

Presubmit checks took 2.1s to calculate.

Powered by Google App Engine
This is Rietveld 408576698