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

Issue 1395073002: Policy Ui sends correct translations for risk tags. (Closed)

Created:
5 years, 2 months ago by fhorschig
Modified:
5 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Policy Ui sends correct translations for risk tags. Send localized group names to frontend and reuse some strings from the old WebUi. (Prerequisite for CL 1371073003) BUG=134849 Committed: https://crrev.com/07c5e062f2ea6ef0e3b5844f1a11ecb4df4d41f6 Cr-Commit-Position: refs/heads/master@{#362997}

Patch Set 1 #

Patch Set 2 : Added build and resource files. #

Total comments: 2

Patch Set 3 : Translation descriptions added. #

Total comments: 14

Patch Set 4 : Meta information. #

Patch Set 5 : Refactoring: New file for PolicyMaterialDesignUi and PolicyUiHandler. #

Total comments: 12

Patch Set 6 : Includes and Copyright. #

Total comments: 4

Patch Set 7 : Description corrected. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -1056 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/BUILD.gn View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/BUILD.gn View 1 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_policy/policy_resources.grd View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/ui/webui/policy_material_design_ui.h View 1 2 3 4 5 2 chunks +5 lines, -17 lines 0 comments Download
A chrome/browser/ui/webui/policy_material_design_ui.cc View 1 2 3 4 5 1 chunk +97 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/policy_ui.h View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/policy_ui.cc View 1 2 3 4 3 chunks +5 lines, -838 lines 0 comments Download
A chrome/browser/ui/webui/policy_ui_handler.h View 1 2 3 4 5 1 chunk +119 lines, -0 lines 0 comments Download
A + chrome/browser/ui/webui/policy_ui_handler.cc View 1 2 3 4 5 9 chunks +43 lines, -190 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_repack_resources.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M components/policy_strings.grdp View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (20 generated)
fhorschig
The CL was (on request) extracted from https://codereview.chromium.org/1371073003
5 years, 2 months ago (2015-10-09 09:04:52 UTC) #1
fhorschig
Hi Christoph, would you please have a quick look on this CL? Cheers, Friedrich
5 years, 2 months ago (2015-10-09 09:05:45 UTC) #3
fhorschig
On 2015/10/09 09:05:45, fhorschig wrote: > Hi Christoph, > would you please have a quick ...
5 years, 2 months ago (2015-10-09 10:16:55 UTC) #4
fhorschig
Hi Thiemo, would you please review this CL? Cheers, Friedrich
5 years, 2 months ago (2015-10-09 12:00:04 UTC) #8
fhorschig
5 years, 2 months ago (2015-10-09 12:01:03 UTC) #10
Thiemo Nagel
https://codereview.chromium.org/1395073002/diff/60001/components/policy_strings.grdp File components/policy_strings.grdp (right): https://codereview.chromium.org/1395073002/diff/60001/components/policy_strings.grdp#newcode337 components/policy_strings.grdp:337: <message name="IDS_POLICY_RISK_TAG_FULL_ADMIN_ACCESS" desc="Indicates that the policy is obtained from ...
5 years, 2 months ago (2015-10-12 14:55:27 UTC) #12
fhorschig
https://codereview.chromium.org/1395073002/diff/60001/components/policy_strings.grdp File components/policy_strings.grdp (right): https://codereview.chromium.org/1395073002/diff/60001/components/policy_strings.grdp#newcode337 components/policy_strings.grdp:337: <message name="IDS_POLICY_RISK_TAG_FULL_ADMIN_ACCESS" desc="Indicates that the policy is obtained from ...
5 years, 2 months ago (2015-10-13 08:58:56 UTC) #13
Dan Beam
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> why are you making a .grd file for ...
5 years, 2 months ago (2015-10-13 16:49:23 UTC) #15
fhorschig
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> On 2015/10/13 16:49:23, Dan Beam wrote: > why ...
5 years, 2 months ago (2015-10-14 14:50:23 UTC) #16
Dan Beam
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> On 2015/10/14 14:50:23, fhorschig wrote: > On 2015/10/13 ...
5 years, 2 months ago (2015-10-14 20:21:23 UTC) #18
fhorschig
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> On 2015/10/14 20:21:22, Dan Beam wrote: > On ...
5 years, 2 months ago (2015-10-14 20:53:44 UTC) #19
Dan Beam
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc File chrome/browser/ui/webui/policy_ui.cc (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc#newcode8 chrome/browser/ui/webui/policy_ui.cc:8: #include <string.h> #include <string> (drop the .h) https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc#newcode108 chrome/browser/ui/webui/policy_ui.cc:108: ...
5 years, 2 months ago (2015-10-14 21:00:40 UTC) #20
Dan Beam
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> On 2015/10/14 20:53:44, fhorschig wrote: > On 2015/10/14 ...
5 years, 2 months ago (2015-10-14 21:01:30 UTC) #21
fhorschig
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd File chrome/browser/resources/md_policy/policy_resources.grd (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/resources/md_policy/policy_resources.grd#newcode17 chrome/browser/resources/md_policy/policy_resources.grd:17: type="chrome_html"/> On 2015/10/14 21:01:29, Dan Beam wrote: > On ...
5 years, 2 months ago (2015-10-15 14:45:38 UTC) #22
Dan Beam
https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc File chrome/browser/ui/webui/policy_ui.cc (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc#newcode486 chrome/browser/ui/webui/policy_ui.cc:486: class PolicyMaterialDesignUIHandler : public PolicyUIHandler { On 2015/10/15 14:45:38, ...
5 years, 2 months ago (2015-10-15 16:55:03 UTC) #23
fhorschig
CC'ed tnagel https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc File chrome/browser/ui/webui/policy_ui.cc (right): https://codereview.chromium.org/1395073002/diff/2/chrome/browser/ui/webui/policy_ui.cc#newcode486 chrome/browser/ui/webui/policy_ui.cc:486: class PolicyMaterialDesignUIHandler : public PolicyUIHandler { On ...
5 years, 2 months ago (2015-10-22 14:47:08 UTC) #25
Thiemo Nagel
Dan, may I kindly ask you to take another look? Many thanks, Thiemo
5 years, 1 month ago (2015-11-03 17:56:54 UTC) #26
Dan Beam
lgtm w/nits https://codereview.chromium.org/1395073002/diff/130001/chrome/browser/ui/webui/policy_material_design_ui.cc File chrome/browser/ui/webui/policy_material_design_ui.cc (right): https://codereview.chromium.org/1395073002/diff/130001/chrome/browser/ui/webui/policy_material_design_ui.cc#newcode1 chrome/browser/ui/webui/policy_material_design_ui.cc:1: // Copyright (c) 2012 The Chromium Authors. ...
5 years, 1 month ago (2015-11-03 18:34:11 UTC) #27
fhorschig
https://codereview.chromium.org/1395073002/diff/130001/chrome/browser/ui/webui/policy_material_design_ui.cc File chrome/browser/ui/webui/policy_material_design_ui.cc (right): https://codereview.chromium.org/1395073002/diff/130001/chrome/browser/ui/webui/policy_material_design_ui.cc#newcode1 chrome/browser/ui/webui/policy_material_design_ui.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
5 years, 1 month ago (2015-11-04 18:51:18 UTC) #28
fhorschig
jhawkins@chromium.org: Would you please have a look into chrome/BUILD.gn and chrome/chrome_resources.gyp ?
5 years, 1 month ago (2015-11-04 19:01:22 UTC) #30
fhorschig
cschuet@chromium.org: Hi Christoph, would you please have a look into components/policy_strings.grdp?
5 years, 1 month ago (2015-11-04 19:02:55 UTC) #32
cschuet (SLOW)
components/policy_strings.grdp LGTM with nits https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp File components/policy_strings.grdp (right): https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp#newcode337 components/policy_strings.grdp:337: <message name="IDS_POLICY_RISK_TAG_FULL_ADMIN_ACCESS" desc="Title of a ...
5 years, 1 month ago (2015-11-04 20:41:54 UTC) #33
James Hawkins
Hey fhorschig, you should probably find another top-level OWNER. I'm at a summit this week, ...
5 years, 1 month ago (2015-11-05 01:34:06 UTC) #34
Thiemo Nagel
On 2015/11/05 01:34:06, James Hawkins wrote: > Hey fhorschig, you should probably find another top-level ...
5 years, 1 month ago (2015-11-05 12:35:57 UTC) #35
Thiemo Nagel
Hi Brett, may I ask you to take a look at chrome/BUILD.gn chrome/chrome_resources.gyp ? Thank ...
5 years, 1 month ago (2015-11-05 12:41:27 UTC) #38
fhorschig
https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp File components/policy_strings.grdp (right): https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp#newcode337 components/policy_strings.grdp:337: <message name="IDS_POLICY_RISK_TAG_FULL_ADMIN_ACCESS" desc="Title of a group/tag whose policies potientially ...
5 years, 1 month ago (2015-11-09 16:45:28 UTC) #40
fhorschig
On 2015/11/09 16:45:28, fhorschig wrote: > https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp > File components/policy_strings.grdp (right): > > https://codereview.chromium.org/1395073002/diff/150001/components/policy_strings.grdp#newcode337 > ...
5 years, 1 month ago (2015-11-21 10:51:42 UTC) #41
brettw
lgtm
5 years ago (2015-11-25 21:08:38 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395073002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395073002/190001
5 years ago (2015-12-03 15:08:55 UTC) #45
commit-bot: I haz the power
The author fhorschig@chromium.org has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years ago (2015-12-03 15:08:57 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395073002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395073002/190001
5 years ago (2015-12-03 15:16:13 UTC) #49
commit-bot: I haz the power
Committed patchset #7 (id:190001)
5 years ago (2015-12-03 16:49:05 UTC) #51
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/07c5e062f2ea6ef0e3b5844f1a11ecb4df4d41f6 Cr-Commit-Position: refs/heads/master@{#362997}
5 years ago (2015-12-03 16:50:51 UTC) #53
Thiemo Nagel
On 2015/12/03 15:08:57, commit-bot: I haz the power wrote: > The author mailto:fhorschig@chromium.org has not ...
5 years ago (2015-12-03 16:59:38 UTC) #54
fhorschig
On 2015/12/03 16:59:38, Thiemo Nagel wrote: > On 2015/12/03 15:08:57, commit-bot: I haz the power ...
5 years ago (2015-12-03 19:24:24 UTC) #55
fhorschig
5 years ago (2015-12-03 19:24:29 UTC) #56
Message was sent while issue was closed.
On 2015/12/03 16:59:38, Thiemo Nagel wrote:
> On 2015/12/03 15:08:57, commit-bot: I haz the power wrote:
> > The author mailto:fhorschig@chromium.org has not signed Google Contributor
> License
> > Agreement. Please visit https://cla.developers.google.com to sign and manage
> > CLA.
> 
> Friedrich, could you please be so kind to sign the CLA for your contributions
> in-between contracts?  ;)

Okay, I did. (Or at least, I think I did ... by typing my data into the linked
form.)

Powered by Google App Engine
This is Rietveld 408576698