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

Issue 2272213005: Site Settings Desktop: Add links to Adobe settings and Learn more. (Closed)

Created:
4 years, 3 months ago by Finnur
Modified:
4 years, 3 months ago
Reviewers:
dschuyler, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Site Settings Desktop: Add links to Adobe settings and Learn more. Adobe Flash settings are for ChromeOS only. Learn More for all categories. BUG=635850, 614277 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/dcf428ae8f05ccb8c936128c84565d44ccdc2fc8 Cr-Commit-Position: refs/heads/master@{#415003}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Working #

Total comments: 6

Patch Set 3 : Address feedback #

Total comments: 3

Patch Set 4 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.html View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_category.js View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
Finnur
https://codereview.chromium.org/2272213005/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2272213005/diff/1/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode4 chrome/browser/resources/settings/privacy_page/privacy_page.html:4: <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html"> I thought this line was making ...
4 years, 3 months ago (2016-08-25 15:36:52 UTC) #6
dschuyler
Assuming the comments below will be addressed, LGTM. https://codereview.chromium.org/2272213005/diff/20001/chrome/app/settings_strings.grdp File chrome/app/settings_strings.grdp (right): https://codereview.chromium.org/2272213005/diff/20001/chrome/app/settings_strings.grdp#newcode1387 chrome/app/settings_strings.grdp:1387: Adobe ...
4 years, 3 months ago (2016-08-25 18:24:17 UTC) #7
Finnur
Thanks Dave, I know you've greenlighted this, but can you take a look at the ...
4 years, 3 months ago (2016-08-26 13:09:21 UTC) #12
dschuyler
https://codereview.chromium.org/2272213005/diff/40001/chrome/browser/resources/settings/site_settings/site_settings_category.html File chrome/browser/resources/settings/site_settings/site_settings_category.html (right): https://codereview.chromium.org/2272213005/diff/40001/chrome/browser/resources/settings/site_settings/site_settings_category.html#newcode64 chrome/browser/resources/settings/site_settings/site_settings_category.html:64: </div> On 2016/08/26 13:09:21, Finnur wrote: > OK, I'm ...
4 years, 3 months ago (2016-08-26 17:34:59 UTC) #15
Finnur
Thank you, Dave. That was it.
4 years, 3 months ago (2016-08-29 09:51:26 UTC) #16
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/2272213005/60001
4 years, 3 months ago (2016-08-29 09:52:46 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/131873)
4 years, 3 months ago (2016-08-29 10:53:22 UTC) #21
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/2272213005/60001
4 years, 3 months ago (2016-08-29 11:13:34 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/131901)
4 years, 3 months ago (2016-08-29 12:33:07 UTC) #25
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/2272213005/60001
4 years, 3 months ago (2016-08-29 13:25:01 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-29 14:02:40 UTC) #28
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/dcf428ae8f05ccb8c936128c84565d44ccdc2fc8 Cr-Commit-Position: refs/heads/master@{#415003}
4 years, 3 months ago (2016-08-29 14:04:55 UTC) #30
Dan Beam
4 years, 3 months ago (2016-08-30 00:18:15 UTC) #32
Message was sent while issue was closed.
https://codereview.chromium.org/2272213005/diff/40001/chrome/browser/resource...
File chrome/browser/resources/settings/site_settings/site_settings_category.html
(right):

https://codereview.chromium.org/2272213005/diff/40001/chrome/browser/resource...
chrome/browser/resources/settings/site_settings/site_settings_category.html:64:
</div>
On 2016/08/26 17:34:59, dschuyler wrote:
> On 2016/08/26 13:09:21, Finnur wrote:
> > OK, I'm stumped now...
> > 
> > I am pretty sure this <if> trick for ChromeOS worked when I was testing it
> > earlier, but now it is not.
> > 
> > Lets say I add this to the HTML:
> > 
> > <if expr="chromeos">ChromeOS</if>
> > <if expr="not chromeos">Not ChromeOs</if>
> > 
> > What would you expect it to write on the page? Clearly, it should write
either
> > 'ChromeOS' or 'Not ChromeOs', right?
> > 
> > Well, in my case it writes 'ChromeOS Not ChromeOs'.
> > 
> > But if I copy the exact same code to settings/about_page/about_page.html, it
> > writes only 'Not ChromeOs'.
> > 
> > Huh!?
> > 
> > How is that possible? I'm not even sure where to go to track this down? Do
you
> > have any ideas for me, Dave? Does it work the same way for you?
> 
> The feature to filter the html to strip out platform specifics is optional. 
> It needs to be enabled on that file. The way to do this is to go into this
> file
> 
>
https://cs.chromium.org/chromium/src/chrome/browser/resources/settings/settin...
> 
> and add 
> 
>                  flattenhtml="true"
>                  allowexternalscript="true"
> 
> similarly to the way it's done here
> 
>
https://cs.chromium.org/chromium/src/chrome/browser/resources/settings/settin...
> 
> Bonus info: I think this is where the <if> is being evaluated, if you're
curious
> 
>
https://cs.chromium.org/chromium/src/tools/grit/grit/format/html_inline.py?q=...
> 
> which appears to be triggered by
> 
>
https://cs.chromium.org/chromium/src/tools/grit/grit/gather/chrome_html.py?q=...

prefer preprocess="true" when not using <include>

Powered by Google App Engine
This is Rietveld 408576698