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

Side by Side Diff: chrome/browser/resources/options2/advanced_options.html

Issue 9560005: [uber page] Merge advanced options page into browser options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase again. Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <div id="advancedPage" class="page" hidden>
2 <header>
3 <h1 i18n-content="advancedPage"></h1>
4 <button id="advanced-section-back-button"
5 i18n-content="advancedSectionBackButton"></button>
6 </header>
7 <if expr="pp_ifdef('chromeos')">
8 <section>
9 <h3 i18n-content="datetimeTitle"></h3>
10 <div class="option-control-table">
11 <span class="option-name" i18n-content="timezone"></span>
12 <div id="timezone-value">
13 <select id="timezone-select" class="control" i18n-options="timezoneList"
14 data-type="string" pref="cros.system.timezone"></select>
15 </div>
16 <div class="checkbox">
17 <label>
18 <input id="use-24hour-clock" pref="settings.clock.use_24hour_clock"
19 type="checkbox">
20 <span i18n-content="use24HourClock"></span>
21 </label>
22 </div>
23 </div>
24 </section>
25 </if>
26 <section>
27 <h3 i18n-content="advancedSectionTitlePrivacy"></h3>
28 <div>
29 <div class="settings-row">
30 <button id="privacyContentSettingsButton"
31 i18n-content="privacyContentSettingsButton"></button>
32 <button id="privacyClearDataButton"
33 i18n-content="privacyClearDataButton"></button>
34 </div>
35 <div id="privacy-explanation" class="settings-row">
36 <span i18n-content="improveBrowsingExperience"
37 class="informational-text">
38 </span>
39 <span i18n-content="disableWebServices"
40 class="informational-text">
41 </span>
42 <a target="_blank" i18n-content="learnMore"
43 i18n-values="href:privacyLearnMoreURL"></a>
44 </div>
45 <div class="checkbox">
46 <label>
47 <input id="alternateErrorPagesEnabled"
48 pref="alternate_error_pages.enabled"
49 metric="Options_LinkDoctorCheckbox" type="checkbox">
50 <span i18n-content="linkDoctorPref"></span>
51 </label>
52 </div>
53 <div class="checkbox">
54 <label>
55 <input id="searchSuggestEnabled" pref="search.suggest_enabled"
56 metric="Options_UseSuggestCheckbox" type="checkbox">
57 <span i18n-content="suggestPref"></span>
58 </label>
59 </div>
60 <div class="checkbox">
61 <label>
62 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled"
63 metric="Options_DnsPrefetchCheckbox" type="checkbox">
64 <span i18n-content="networkPredictionEnabledDescription"></span>
65 </label>
66 </div>
67 <div class="checkbox">
68 <label>
69 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
70 metric="Options_SafeBrowsingCheckbox" type="checkbox">
71 <span i18n-content="safeBrowsingEnableProtection"></span>
72 </label>
73 </div>
74 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')">
75 <div id="metricsReportingSetting" class="checkbox">
76 <label>
77 <input id="metricsReportingEnabled"
78 pref="cros.metrics.reportingEnabled" type="checkbox">
79 <span id="metricsReportingEnabledText"
80 i18n-content="enableLogging">
81 </span>
82 </label>
83 </div>
84 </if>
85 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
86 <div id="metricsReportingSetting" class="checkbox">
87 <label>
88 <input id="metricsReportingEnabled" type="checkbox">
89 <span i18n-content="enableLogging"></span>
90 </label>
91 </div>
92 </if>
93 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')">
94 <div class="checkbox">
95 <label>
96 <input id="spellingServiceEnabled"
97 pref="spellcheck.use_spelling_service"
98 metric="Options_UseSpellingServiceCheckbox" type="checkbox">
99 <span i18n-content="spellingPref"></span>
100 </label>
101 </div>
102 </if>
103 </div>
104 </section>
105 <!-- By default, the bluetooth section is hidden. It is only
106 visible if the command line flag 'enable_bluetooth' is set
107 and a bluetooth adapter is discovered or emmulating ChromeOS. -->
108 <if expr="pp_ifdef('chromeos')">
109 <section id="bluetooth-devices" hidden>
110 <h3 i18n-content="bluetooth"></h3>
111 <div id="bluetooth-options-div">
112 <div class="checkbox">
113 <label>
114 <input type="checkbox" id="enable-bluetooth">
115 <span i18n-content="enableBluetooth">
116 </label>
117 </div>
118 <div class="settings-list bluetooth-device-list" hidden>
119 <list id="bluetooth-paired-devices-list"></list>
120 <div id="bluetooth-paired-devices-list-empty-placeholder"
121 class="bluetooth-empty-list-label" hidden>
122 <span i18n-content="bluetoothNoDevices"></span>
123 </div>
124 </div>
125 <div id="bluetooth-button-group">
126 <button id="bluetooth-add-device"
127 i18n-content="addBluetoothDevice" hidden></button>
128 <button id="bluetooth-reconnect-device"
129 i18n-content="bluetoothConnectDevice" disabled hidden></button>
130 </div>
131 </div>
132 </section>
133 </if>
134 <section id="passwords-and-autofill-section">
135 <h3 i18n-content="passwordsAndAutofillGroupName"></h3>
136 <div class="checkbox">
137 <label>
138 <input id="autofill-enabled" pref="autofill.enabled"
139 metric="Options_FormAutofill" type="checkbox">
140 <span i18n-content="autofillEnabled"></span>
141 </label>
142 <button id="autofill-settings" class="link-button"
143 pref="autofill.enabled"
144 i18n-content="manageAutofillSettings"></button>
145 </div>
146 <div class="checkbox">
147 <label>
148 <input id="password-manager-enabled"
149 pref="profile.password_manager_enabled"
150 metric="Options_PasswordManager" type="checkbox">
151 <span i18n-content="passwordManagerEnabled"></span>
152 </label>
153 <button id="manage-passwords" class="link-button"
154 i18n-content="managePasswords"
155 pref="profile.password_manager_enabled"></button>
156 </div>
157 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden>
158 </div>
159 <!-- This makes the managed-banner appear when the "pref" is configured by
160 the IT administrator. -->
161 <input name="password_allow_show_hidden" type="text"
162 pref="profile.password_manager_allow_show_passwords" hidden>
163 </section>
164 <section>
165 <h3 i18n-content="advancedSectionTitleContent"></h3>
166 <div>
167 <div class="settings-row">
168 <label class="web-content-select-label">
169 <span i18n-content="defaultFontSizeLabel"></span>
170 <select id="defaultFontSize">
171 <option value="9" i18n-content="fontSizeLabelVerySmall">
172 </option>
173 <option value="12" i18n-content="fontSizeLabelSmall"></option>
174 <option value="16" i18n-content="fontSizeLabelMedium"></option>
175 <option value="20" i18n-content="fontSizeLabelLarge"></option>
176 <option value="24" i18n-content="fontSizeLabelVeryLarge">
177 </option>
178 </select>
179 </label>
180 <button id="fontSettingsCustomizeFontsButton"
181 i18n-content="fontSettingsCustomizeFontsButton"></button>
182 </div>
183 <div class="settings-row">
184 <label class="web-content-select-label">
185 <span i18n-content="defaultZoomFactorLabel"></span>
186 <select id="defaultZoomFactor" dataType="double"></select>
187 </label>
188 </div>
189 <if expr="is_macosx">
190 <div class="checkbox">
191 <label>
192 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links"
193 metric="Options_TabsToLinks" type="checkbox">
194 <span i18n-content="tabsToLinksPref"></span>
195 </label>
196 </div>
197 </if>
198 </div>
199 </section>
200 <if expr="not pp_ifdef('chromeos')">
201 <section>
202 <h3 i18n-content="advancedSectionTitleNetwork"></h3>
203 <div>
204 <span id="proxiesLabel" class="settings-row"></span>
205 <div class="settings-row">
206 <button id="proxiesConfigureButton"
207 i18n-content="proxiesConfigureButton"></button>
208 </div>
209 </div>
210 </section>
211 </if>
212 <section>
213 <h3 i18n-content="advancedSectionTitleLanguages"></h3>
214 <span class="settings-row" i18n-content="languageSectionLabel"></span>
215 <button id="language-button"
216 i18n-content="languageAndSpellCheckSettingsButton"></button>
217 <div class="checkbox">
218 <label>
219 <input id="enableTranslate" pref="translate.enabled"
220 metric="Options_Translate" type="checkbox">
221 <span i18n-content="translateEnableTranslate"></span>
222 </label>
223 </div>
224 </section>
225 <if expr="not pp_ifdef('chromeos')">
226 <section>
227 <h3 i18n-content="downloadLocationGroupName"></h3>
228 <div>
229 <div class="settings-row">
230 <label>
231 <span i18n-content="downloadLocationBrowseTitle"></span>
232 <input id="downloadLocationPath" class="weakrtl" type="text"
233 pref="download.default_directory" size="36">
234 </label>
235 <button id="downloadLocationChangeButton"
236 pref="download.prompt_for_download"
237 i18n-content="downloadLocationChangeButton"></button>
238 </div>
239 <div class="checkbox">
240 <label>
241 <input type="checkbox"
242 pref="download.prompt_for_download"
243 metric="Options_AskForSaveLocation">
244 <span i18n-content="downloadLocationAskForSaveLocation"></span>
245 </label>
246 </div>
247 <div id="auto-open-file-types-label" class="settings-row"
248 i18n-content="autoOpenFileTypesInfo"></div>
249 <div class="settings-row">
250 <button id="autoOpenFileTypesResetToDefault"
251 i18n-content="autoOpenFileTypesResetToDefault"></button>
252 </div>
253 </div>
254 </section>
255 </if>
256 <section>
257 <h3 i18n-content="advancedSectionTitleSecurity"></h3>
258 <div>
259 <div class="settings-row">
260 <button id="certificatesManageButton"
261 i18n-content="certificatesManageButton"></button>
262 </div>
263 <div class="checkbox">
264 <label>
265 <input id="sslCheckRevocation" type="checkbox">
266 <span i18n-content="sslCheckRevocation"></span>
267 </label>
268 </div>
269 </div>
270 </section>
271 <if expr="not pp_ifdef('chromeos')">
272 <section id="cloud-print-connector-section">
273 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
274 <div>
275 <span id="cloudPrintConnectorLabel" class="settings-row"
276 i18n-content="cloudPrintConnectorDisabledLabel"></span>
277 <div class="settings-row">
278 <button id="cloudPrintConnectorSetupButton"
279 i18n-content="cloudPrintConnectorDisabledButton"></button>
280 <button id="cloudPrintManageButton"
281 i18n-content="cloudPrintConnectorEnabledManageButton"></button>
282 </div>
283 </div>
284 </section>
285 </if>
286 <if expr="pp_ifdef('chromeos')">
287 <section id="cloud-print-connector-section">
288 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
289 <div>
290 <div>
291 <span i18n-content="cloudPrintChromeosOptionLabel"
292 class="informational-text">
293 </span>
294 <a target="_blank" i18n-content="learnMore"
295 i18n-values="href:cloudPrintLearnMoreURL"></a>
296 </div>
297 <div class="settings-row">
298 <button id="cloudPrintManageButton"
299 i18n-content="cloudPrintChromeosOptionButton"></button>
300 </div>
301 </div>
302 </section>
303 <section>
304 <h3 i18n-content="accessibilityTitle"></h3>
305 <div class="option-control-table">
306 <div class="option-name">
307 <div class="checkbox">
308 <label>
309 <input id="accessibility-spoken-feedback-check" type="checkbox">
310 <span i18n-content="accessibilitySpokenFeedback"></span>
311 </label>
312 </div>
313 </div>
314 </div>
315 </section>
316 </if>
317 <if expr="not is_macosx and not pp_ifdef('chromeos')">
318 <section id="background-section">
319 <h3 i18n-content="advancedSectionTitleBackground"></h3>
320 <div class="checkbox">
321 <label>
322 <input id="backgroundModeCheckbox" type="checkbox">
323 <span i18n-content="backgroundModeCheckbox"></span>
324 </label>
325 </div>
326 </section>
327 </if>
328 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/advanced_options.css ('k') | chrome/browser/resources/options2/advanced_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698