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

Unified Diff: chrome/browser/resources/settings/about_page/about_page.html

Issue 2583743002: Add mac-only "Set Up Automatic Updates..." button to the new about page. (Closed)
Patch Set: add back nullptr check Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/mac/keystone_glue.mm ('k') | chrome/browser/resources/settings/about_page/about_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/about_page/about_page.html
diff --git a/chrome/browser/resources/settings/about_page/about_page.html b/chrome/browser/resources/settings/about_page/about_page.html
index d657f1c5e24bf8afee65c5941a0fd15b434c48a1..1c124b8c179e5f91a7a636396ba7832e31c913db 100644
--- a/chrome/browser/resources/settings/about_page/about_page.html
+++ b/chrome/browser/resources/settings/about_page/about_page.html
@@ -22,6 +22,10 @@
<link rel="import" href="/settings_page/settings_subpage.html">
</if>
+<if expr="_google_chrome and is_macosx">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
+</if>
+
<dom-module id="settings-about-page">
<template>
<style include="settings-shared settings-page-styles">
@@ -69,6 +73,12 @@
#regulatoryInfo img {
width: 330px;
}
+
+<if expr="_google_chrome and is_macosx">
+ #promoteUpdater[disabled] {
+ @apply(--settings-secondary);
+ }
+</if>
</style>
<div>
<settings-section page-title="$i18n{aboutPageTitle}" section="about">
@@ -128,6 +138,27 @@
</if>
</span>
</div>
+<if expr="_google_chrome and is_macosx">
+ <template is="dom-if" if="[[!promoteUpdaterStatus_.hidden]]">
+ <div id="promoteUpdater" class="settings-box"
+ disabled$="[[promoteUpdaterStatus_.disabled]]"
+ actionable$="[[promoteUpdaterStatus_.actionable]]"
+ on-tap="onPromoteUpdaterTap_">
+ <div class="start">
+ [[promoteUpdaterStatus_.text]]
+ <a href="https://support.google.com/chrome/answer/95414"
+ target="_blank" id="updaterLearnMore"
+ on-tap="onLearnMoreTap_">
+ $i18n{learnMore}
+ </a>
+ </div>
+ <button class="subpage-arrow" is="paper-icon-button-light"
+ disabled="[[promoteUpdaterStatus_.disabled]]"
+ hidden="[[!promoteUpdaterStatus_.actionable]]">
+ </button>
+ </div>
+ </template>
+</if>
<div id="help" class="settings-box" on-tap="onHelpTap_" actionable>
<div class="start">$i18n{aboutGetHelpUsingChrome}</div>
<button class="icon-external" is="paper-icon-button-light">
« no previous file with comments | « chrome/browser/mac/keystone_glue.mm ('k') | chrome/browser/resources/settings/about_page/about_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698