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

Issue 1342033002: Add tooltips to cr-policy-indicator (Closed)

Created:
5 years, 3 months ago by stevenjb
Modified:
5 years, 2 months ago
CC:
chromium-reviews, khorimoto+watch-md-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, jhawkins+watch-md-settings_chromium.org, orenb+watch-md-settings_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, jlklein+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@issue_521791_settings_policy_1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tooltips to cr-policy-indicator Currently paper-tooltips are fairly broken, so use built-in tooltips while we solidify the design and file bugs against paper-tooltip (e.g. https://github.com/PolymerElements/paper-tooltip/issues/34) BUG=521791 Committed: https://crrev.com/3019d610e251d001db1a77a18f2c46ec108aaf79 Cr-Commit-Position: refs/heads/master@{#350866}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Use builtin tooltips #

Patch Set 5 : . #

Total comments: 12

Patch Set 6 : Use IronIconsetSvgElement #

Patch Set 7 : Rebase #

Patch Set 8 : Feedback #

Total comments: 8

Patch Set 9 : Fix comments #

Patch Set 10 : Use iron-icon instead #

Total comments: 2

Patch Set 11 : Elim unnecessary div #

Total comments: 2

Patch Set 12 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -33 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/app/settings_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/settings_private/prefs_util.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +16 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/checkbox/checkbox.css View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +22 lines, -9 lines 0 comments Download
M chrome/common/extensions/api/settings_private.idl View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/closure_compiler/externs/settings_private.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/compiled_resources.gyp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.css View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +41 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
stevenjb
kalman@ for small settings_private API change https://codereview.chromium.org/1342033002/diff/80001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (left): https://codereview.chromium.org/1342033002/diff/80001/chrome/app/chromeos_strings.grdp#oldcode3161 chrome/app/chromeos_strings.grdp:3161: </message> (Unreferenced anywhere ...
5 years, 3 months ago (2015-09-18 22:40:16 UTC) #2
not at google - send to devlin
lgtm
5 years, 3 months ago (2015-09-18 22:42:38 UTC) #3
michaelpg
https://codereview.chromium.org/1342033002/diff/80001/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js File third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js (right): https://codereview.chromium.org/1342033002/diff/80001/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js#newcode35 third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js:35: Polymer.IronIconsetSvg = Polymer({ On 2015/09/18 22:40:15, stevenjb wrote: > ...
5 years, 3 months ago (2015-09-19 03:04:08 UTC) #4
Dan Beam
https://codereview.chromium.org/1342033002/diff/80001/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc File chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc (left): https://codereview.chromium.org/1342033002/diff/80001/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc#oldcode130 chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc:130: void AddCommonStrings(content::WebUIDataSource* html_source) { this was alphabetized https://codereview.chromium.org/1342033002/diff/80001/third_party/closure_compiler/externs/settings_private.js File ...
5 years, 3 months ago (2015-09-21 21:50:47 UTC) #5
michaelpg
https://codereview.chromium.org/1342033002/diff/80001/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js File third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js (right): https://codereview.chromium.org/1342033002/diff/80001/third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js#newcode35 third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js:35: Polymer.IronIconsetSvg = Polymer({ i just discovered this: @type {IronIconsetSvgElement} ...
5 years, 3 months ago (2015-09-22 23:57:47 UTC) #7
stevenjb
PTAL https://codereview.chromium.org/1342033002/diff/80001/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc File chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc (left): https://codereview.chromium.org/1342033002/diff/80001/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc#oldcode130 chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc:130: void AddCommonStrings(content::WebUIDataSource* html_source) { On 2015/09/21 21:50:47, Dan ...
5 years, 3 months ago (2015-09-23 18:46:24 UTC) #8
michaelpg
https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js (right): https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js#newcode41 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js:41: * Polymer iron-meta instance for icon images nit: end ...
5 years, 3 months ago (2015-09-23 20:06:32 UTC) #9
stevenjb
PTAL https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js (right): https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js#newcode41 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js:41: * Polymer iron-meta instance for icon images On ...
5 years, 3 months ago (2015-09-23 20:47:20 UTC) #10
michaelpg
lgtm after comment https://codereview.chromium.org/1342033002/diff/180001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html (right): https://codereview.chromium.org/1342033002/diff/180001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html#newcode12 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html:12: <iron-icon id="indicator" icon="[[getIcon_(indicatorType)]]"> dedupe IDs
5 years, 3 months ago (2015-09-23 20:49:42 UTC) #11
Dan Beam
https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js (right): https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js#newcode120 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js:120: iconset.applyIcon(this.$.indicator, iconName); On 2015/09/23 20:47:20, stevenjb wrote: > On ...
5 years, 3 months ago (2015-09-23 20:54:51 UTC) #12
stevenjb
ptal https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js (right): https://codereview.chromium.org/1342033002/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js#newcode120 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js:120: iconset.applyIcon(this.$.indicator, iconName); On 2015/09/23 20:54:51, Dan Beam wrote: ...
5 years, 3 months ago (2015-09-23 21:12:20 UTC) #13
Dan Beam
lgtm https://codereview.chromium.org/1342033002/diff/80001/third_party/closure_compiler/externs/settings_private.js File third_party/closure_compiler/externs/settings_private.js (right): https://codereview.chromium.org/1342033002/diff/80001/third_party/closure_compiler/externs/settings_private.js#newcode60 third_party/closure_compiler/externs/settings_private.js:60: * policySourceName: (string|undefined), On 2015/09/23 18:46:24, stevenjb wrote: ...
5 years, 2 months ago (2015-09-25 01:47:36 UTC) #14
stevenjb
https://codereview.chromium.org/1342033002/diff/200001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js (right): https://codereview.chromium.org/1342033002/diff/200001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js#newcode131 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js:131: return this.i18n_('controlledSettingRecommendedDiffers'); On 2015/09/25 01:47:36, Dan Beam wrote: > ...
5 years, 2 months ago (2015-09-25 16:45:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342033002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342033002/220001
5 years, 2 months ago (2015-09-25 16:46:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/67562)
5 years, 2 months ago (2015-09-25 17:37:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342033002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342033002/220001
5 years, 2 months ago (2015-09-25 17:45:59 UTC) #22
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 2 months ago (2015-09-25 18:19:55 UTC) #23
commit-bot: I haz the power
5 years, 2 months ago (2015-09-25 18:20:30 UTC) #24
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/3019d610e251d001db1a77a18f2c46ec108aaf79
Cr-Commit-Position: refs/heads/master@{#350866}

Powered by Google App Engine
This is Rietveld 408576698