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

Unified Diff: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html

Issue 2792563003: Settings: a11y: Just hide 'additional features' link (Closed)
Patch Set: Created 3 years, 9 months 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
Index: chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
diff --git a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
index 60dc81b833ae257a2ca7b05dd956bb94afe64ecf..e68a5f60367cdacbdbb9862c1c805d25b7f0c138 100644
--- a/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/manage_a11y_page.html
@@ -205,17 +205,19 @@
</settings-toggle-button>
</div>
- <div class="settings-box two-line" on-tap="onMoreFeaturesTap_" actionable>
- <div class="start">
- $i18n{additionalFeaturesTitle}
- <div class="secondary" id="moreFeaturesSecondary">
- $i18n{a11yWebStore}
+ <template is="dom-if" if="[[!isGuest_]]">
+ <div class="settings-box two-line" on-tap="onMoreFeaturesTap_" actionable>
+ <div class="start">
+ $i18n{additionalFeaturesTitle}
+ <div class="secondary" id="moreFeaturesSecondary">
+ $i18n{a11yWebStore}
+ </div>
</div>
+ <button class="icon-external" is="paper-icon-button-light"
+ aria-label="$i18n{additionalFeaturesTitle}"
+ aria-describedby="moreFeaturesSecondary"></button>
</div>
- <button class="icon-external" is="paper-icon-button-light"
- aria-label="$i18n{additionalFeaturesTitle}"
- aria-describedby="moreFeaturesSecondary"></button>
- </div>
+ </template>
</template>
<script src="manage_a11y_page.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698