OLD | NEW |
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
2 <link rel="import" href="chrome://resources/html/md_select_css.html"> | 2 <link rel="import" href="chrome://resources/html/md_select_css.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
7 <link rel="import" href="../controls/extension_controlled_indicator.html"> | 7 <link rel="import" href="../controls/extension_controlled_indicator.html"> |
8 <link rel="import" href="../controls/settings_toggle_button.html"> | 8 <link rel="import" href="../controls/settings_toggle_button.html"> |
9 <link rel="import" href="../icons.html"> | 9 <link rel="import" href="../icons.html"> |
10 <link rel="import" href="../i18n_setup.html"> | 10 <link rel="import" href="../i18n_setup.html"> |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 <template is="dom-if" | 99 <template is="dom-if" |
100 if="[[getShowHotwordError_(hotwordInfo_.*, | 100 if="[[getShowHotwordError_(hotwordInfo_.*, |
101 hotwordSearchEnablePref_)]]"> | 101 hotwordSearchEnablePref_)]]"> |
102 <div class="settings-box continuation indented"> | 102 <div class="settings-box continuation indented"> |
103 <iron-icon icon="settings:warning"></iron-icon> | 103 <iron-icon icon="settings:warning"></iron-icon> |
104 <div inner-h-t-m-l="[[hotwordInfo_.errorMessage]]"></div> | 104 <div inner-h-t-m-l="[[hotwordInfo_.errorMessage]]"></div> |
105 </div> | 105 </div> |
106 </template> | 106 </template> |
107 | 107 |
108 <template is="dom-if" if="[[hotwordInfo_.historyEnabled]]"> | 108 <template is="dom-if" if="[[hotwordInfo_.historyEnabled]]"> |
109 <div class="settings-box two-line continuation indented" | 109 <a class="settings-box two-line continuation indented inherit-color |
110 on-tap="onManageAudioHistoryTap_" actionable> | 110 no-outline" tabindex="-1" target="_blank" |
| 111 href="$i18n{manageAudioHistoryUrl}"> |
111 <div class="start"> | 112 <div class="start"> |
112 [[i18n('searchOkGoogleAudioHistoryLabel', | 113 [[i18n('searchOkGoogleAudioHistoryLabel', |
113 hotwordInfo_.userName)]] | 114 hotwordInfo_.userName)]] |
114 <div class="secondary" id="audioHistorySecondary"> | 115 <div class="secondary" id="audioHistorySecondary"> |
115 $i18n{searchOkGoogleAudioHistorySubtext} | 116 $i18n{searchOkGoogleAudioHistorySubtext} |
116 </div> | 117 </div> |
117 </div> | 118 </div> |
118 <button class="icon-external" is="paper-icon-button-light" | 119 <button actionable class="icon-external" |
| 120 is="paper-icon-button-light" |
119 aria-label$="[[i18n('searchOkGoogleAudioHistoryLabel', | 121 aria-label$="[[i18n('searchOkGoogleAudioHistoryLabel', |
120 hotwordInfo_.userName)]]" | 122 hotwordInfo_.userName)]]" |
121 aria-describedby="audioHistorySecondary"></button> | 123 aria-describedby="audioHistorySecondary"></button> |
122 </div> | 124 </a> |
123 </template> | 125 </template> |
124 </template> | 126 </template> |
125 | 127 |
126 <!-- Manage search engines --> | 128 <!-- Manage search engines --> |
127 <div id="subpage-trigger" class="settings-box" | 129 <div id="subpage-trigger" class="settings-box" |
128 on-tap="onManageSearchEnginesTap_" actionable> | 130 on-tap="onManageSearchEnginesTap_" actionable> |
129 <div class="start"> | 131 <div class="start"> |
130 $i18n{searchEnginesManage} | 132 $i18n{searchEnginesManage} |
131 </div> | 133 </div> |
132 <button class="subpage-arrow" is="paper-icon-button-light" | 134 <button class="subpage-arrow" is="paper-icon-button-light" |
133 aria-label="$i18n{searchEnginesManage}"></button> | 135 aria-label="$i18n{searchEnginesManage}"></button> |
134 </div> | 136 </div> |
135 </neon-animatable> | 137 </neon-animatable> |
136 <template is="dom-if" route-path="/searchEngines"> | 138 <template is="dom-if" route-path="/searchEngines"> |
137 <settings-subpage | 139 <settings-subpage |
138 associated-control="[[$$('#subpage-trigger')]]" | 140 associated-control="[[$$('#subpage-trigger')]]" |
139 page-title="$i18n{searchEnginesManage}"> | 141 page-title="$i18n{searchEnginesManage}"> |
140 <settings-search-engines-page></settings-search-engines-page> | 142 <settings-search-engines-page></settings-search-engines-page> |
141 </settings-subpage> | 143 </settings-subpage> |
142 </template> | 144 </template> |
143 </settings-animated-pages> | 145 </settings-animated-pages> |
144 </template> | 146 </template> |
145 <script src="search_page.js"></script> | 147 <script src="search_page.js"></script> |
146 </dom-module> | 148 </dom-module> |
OLD | NEW |