diff options
Diffstat (limited to 'chrome/browser/resources/settings/a11y_page')
| -rw-r--r-- | chrome/browser/resources/settings/a11y_page/a11y_page.html | 11 | ||||
| -rw-r--r-- | chrome/browser/resources/settings/a11y_page/a11y_page.js | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.html b/chrome/browser/resources/settings/a11y_page/a11y_page.html index b8e37d1..25ae86f 100644 --- a/chrome/browser/resources/settings/a11y_page/a11y_page.html +++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html @@ -1,11 +1,14 @@ <link rel="import" href="chrome://resources/html/polymer.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> +<if expr="chromeos"> <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html"> +</if> <link rel="import" href="chrome://md-settings/settings_shared_css.html"> <dom-module id="settings-a11y-page"> <template> <style include="settings-shared"></style> +<if expr="chromeos"> <div class="settings-box row first"> <span i18n-content="a11yExplanation"></span> <a i18n-values="href:a11yLearnMoreUrl" i18n-content="learnMore" @@ -76,10 +79,16 @@ </settings-checkbox> </template> </div> +</if> +<if expr="chromeos"> <div class="settings-box"> +</if> +<if expr="not chromeos"> + <div class="settings-box first"> +</if> <div class="button-strip"> - <paper-button i18n-content="moreFeaturesLink" + <paper-button i18n-content="moreFeaturesLink" class="primary-button" on-tap="onMoreFeaturesTap_"></paper-button> </div> </div> diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.js b/chrome/browser/resources/settings/a11y_page/a11y_page.js index 109c99e..0c56580 100644 --- a/chrome/browser/resources/settings/a11y_page/a11y_page.js +++ b/chrome/browser/resources/settings/a11y_page/a11y_page.js @@ -26,6 +26,7 @@ Polymer({ notify: true, }, +<if expr="chromeos"> /** * Whether to show experimental accessibility features. * @private {boolean} @@ -36,6 +37,7 @@ Polymer({ return loadTimeData.getBoolean('showExperimentalA11yFeatures'); }, } +</if> }, /** @private */ |
