diff options
| author | dbeam <dbeam@chromium.org> | 2016-03-25 12:41:47 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 19:43:07 +0000 |
| commit | 5fe41f00c535ab1ec78b3cd2ba7fd13ae788807b (patch) | |
| tree | 1e375ec497a61698aab117b00e87f0b254aaaae7 /chrome/browser/resources/settings/a11y_page | |
| parent | c2ebe562761c4deecfbdef0db95d662131e469b4 (diff) | |
| download | chromium_src-5fe41f00c535ab1ec78b3cd2ba7fd13ae788807b.zip chromium_src-5fe41f00c535ab1ec78b3cd2ba7fd13ae788807b.tar.gz chromium_src-5fe41f00c535ab1ec78b3cd2ba7fd13ae788807b.tar.bz2 | |
MD Settings: show part of a11y page on Mac/Windows/Linux
R=tommycli@chromium.org
BUG=597880
Review URL: https://codereview.chromium.org/1835533003
Cr-Commit-Position: refs/heads/master@{#383333}
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 */ |
