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

Side by Side Diff: chrome/browser/resources/options/browser_options.html

Issue 11193002: Add third batch of controlled setting indicators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment addressed. Created 8 years, 2 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
1 <div id="settings" class="page" hidden> 1 <div id="settings" class="page" hidden>
2 <header> 2 <header>
3 <h1 i18n-content="settingsTitle"></h1> 3 <h1 i18n-content="settingsTitle"></h1>
4 </header> 4 </header>
5 <if expr="not pp_ifdef('chromeos')"> 5 <if expr="not pp_ifdef('chromeos')">
6 <include src="sync_section.html"> 6 <include src="sync_section.html">
7 </if> 7 </if>
8 <if expr="pp_ifdef('chromeos')"> 8 <if expr="pp_ifdef('chromeos')">
9 <section> 9 <section>
10 <h3 i18n-content="sectionTitleInternet"></h3> 10 <h3 i18n-content="sectionTitleInternet"></h3>
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 <label for="dnsPrefetchingEnabled" 247 <label for="dnsPrefetchingEnabled"
248 i18n-content="networkPredictionEnabledDescription"> 248 i18n-content="networkPredictionEnabledDescription">
249 </label> 249 </label>
250 <span class="controlled-setting-indicator" 250 <span class="controlled-setting-indicator"
251 pref="dns_prefetching.enabled"> 251 pref="dns_prefetching.enabled">
252 </span> 252 </span>
253 </span> 253 </span>
254 </span> 254 </span>
255 </div> 255 </div>
256 <div class="checkbox"> 256 <div class="checkbox">
257 <label> 257 <span class="controlled-setting-with-label">
258 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled" 258 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled"
259 metric="Options_SafeBrowsingCheckbox" type="checkbox"> 259 metric="Options_SafeBrowsingCheckbox" type="checkbox">
260 <span i18n-content="safeBrowsingEnableProtection"></span> 260 <span>
261 </label> 261 <label for="safeBrowsingEnabled"
262 i18n-content="safeBrowsingEnableProtection">
263 </label>
264 <span class="controlled-setting-indicator"
265 pref="safebrowsing.enabled">
266 </span>
267 </span>
268 </span>
262 </div> 269 </div>
263 <if expr="pp_ifdef('_google_chrome')"> 270 <if expr="pp_ifdef('_google_chrome')">
264 <div class="checkbox"> 271 <div class="checkbox">
265 <label id="spelling-label"> 272 <label id="spelling-label">
266 <input id="spelling-enabled-control" type="checkbox" 273 <input id="spelling-enabled-control" type="checkbox"
267 pref="spellcheck.use_spelling_service"> 274 pref="spellcheck.use_spelling_service">
268 <span i18n-content="spellingPref"></span> 275 <span i18n-content="spellingPref"></span>
269 </label> 276 </label>
270 </div> 277 </div>
271 <div id="metricsReportingSetting" class="checkbox"> 278 <div id="metricsReportingSetting" class="checkbox">
272 <label> 279 <span class="controlled-setting-with-label">
273 <if expr="pp_ifdef('chromeos')"> 280 <if expr="pp_ifdef('chromeos')">
274 <input id="metricsReportingEnabled" 281 <input id="metricsReportingEnabled"
275 pref="cros.metrics.reportingEnabled" type="checkbox"> 282 pref="cros.metrics.reportingEnabled" type="checkbox">
276 </if> 283 </if>
277 <if expr="not pp_ifdef('chromeos')"> 284 <if expr="not pp_ifdef('chromeos')">
278 <input id="metricsReportingEnabled" 285 <input id="metricsReportingEnabled"
279 pref="user_experience_metrics.reporting_enabled" type="checkbox"> 286 pref="user_experience_metrics.reporting_enabled" type="checkbox">
280 </if> 287 </if>
281 <span i18n-content="enableLogging"></span> 288 <span>
282 </label> 289 <label for="metricsReportingEnabled" i18n-content="enableLogging">
290 </label>
291 <span class="controlled-setting-indicator"
292 pref="user_experience_metrics.reporting_enabled">
293 </span>
294 </span>
295 </span>
283 </div> 296 </div>
284 </if> <!-- pp_ifdef('_google_chrome') --> 297 </if> <!-- pp_ifdef('_google_chrome') -->
285 <div class="checkbox"> 298 <div class="checkbox">
286 <label> 299 <label>
287 <input id="do-not-track-enabled" pref="enable_do_not_track" 300 <input id="do-not-track-enabled" pref="enable_do_not_track"
288 metric="Options_DoNotTrackCheckbox" type="checkbox"> 301 metric="Options_DoNotTrackCheckbox" type="checkbox">
289 <span i18n-content="doNotTrack"></span> 302 <span i18n-content="doNotTrack"></span>
290 </label> 303 </label>
291 </div> 304 </div>
292 </div> 305 </div>
(...skipping 22 matching lines...) Expand all
315 i18n-content="addBluetoothDevice" hidden></button> 328 i18n-content="addBluetoothDevice" hidden></button>
316 <button id="bluetooth-reconnect-device" 329 <button id="bluetooth-reconnect-device"
317 i18n-content="bluetoothConnectDevice" disabled hidden></button> 330 i18n-content="bluetoothConnectDevice" disabled hidden></button>
318 </div> 331 </div>
319 </div> 332 </div>
320 </section> 333 </section>
321 </if> <!-- pp_ifdef('chromeos') --> 334 </if> <!-- pp_ifdef('chromeos') -->
322 <section id="passwords-and-autofill-section"> 335 <section id="passwords-and-autofill-section">
323 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> 336 <h3 i18n-content="passwordsAndAutofillGroupName"></h3>
324 <div class="checkbox"> 337 <div class="checkbox">
325 <label> 338 <span class="controlled-setting-with-label">
326 <input id="autofill-enabled" pref="autofill.enabled" 339 <input id="autofill-enabled" pref="autofill.enabled"
327 metric="Options_FormAutofill" type="checkbox"> 340 metric="Options_FormAutofill" type="checkbox">
328 <span i18n-content="autofillEnabled"></span> 341 <span>
329 </label> 342 <label for="autofill-enabled" i18n-content="autofillEnabled"></label>
330 <button id="autofill-settings" class="link-button" 343 <span class="controlled-setting-indicator" pref="autofill.enabled">
331 pref="autofill.enabled" 344 </span>
332 i18n-content="manageAutofillSettings"></button> 345 <button id="autofill-settings" class="link-button"
346 i18n-content="manageAutofillSettings">
347 </button>
348 </span>
349 </span>
333 </div> 350 </div>
334 <div class="checkbox"> 351 <div class="checkbox">
335 <label> 352 <span class="controlled-setting-with-label">
336 <input id="password-manager-enabled" 353 <input id="password-manager-enabled"
337 pref="profile.password_manager_enabled" 354 pref="profile.password_manager_enabled"
338 metric="Options_PasswordManager" type="checkbox"> 355 metric="Options_PasswordManager" type="checkbox">
339 <span i18n-content="passwordManagerEnabled"></span> 356 <span>
340 </label> 357 <label for="password-manager-enabled"
341 <button id="manage-passwords" class="link-button" 358 i18n-content="passwordManagerEnabled">
342 i18n-content="managePasswords" 359 </label>
343 pref="profile.password_manager_enabled"></button> 360 <span class="controlled-setting-indicator"
361 pref="profile.password_manager_enabled">
362 </span>
363 <button id="manage-passwords" class="link-button"
364 i18n-content="managePasswords">
365 </button>
366 </span>
367 </span>
344 </div> 368 </div>
345 <div class="checkbox" id="password-generation-checkbox"> 369 <div class="checkbox" id="password-generation-checkbox">
346 <label> 370 <label>
347 <input id="password-generation-enabled" pref="password_generation.enable d" 371 <input id="password-generation-enabled" pref="password_generation.enable d"
348 metric="Options_PasswordGenerationCheckbox" type="checkbox"> 372 metric="Options_PasswordGenerationCheckbox" type="checkbox">
349 <span i18n-content="passwordGenerationEnabledDescription"></span> 373 <span i18n-content="passwordGenerationEnabledDescription"></span>
350 </label> 374 </label>
351 </div> 375 </div>
352 <if expr="is_macosx"> 376 <if expr="is_macosx">
353 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> 377 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 metric="Options_Translate" type="checkbox"> 443 metric="Options_Translate" type="checkbox">
420 <span i18n-content="translateEnableTranslate"></span> 444 <span i18n-content="translateEnableTranslate"></span>
421 </label> 445 </label>
422 </div> 446 </div>
423 </section> 447 </section>
424 <section> 448 <section>
425 <h3 i18n-content="downloadLocationGroupName"></h3> 449 <h3 i18n-content="downloadLocationGroupName"></h3>
426 <div> 450 <div>
427 <div class="settings-row"> 451 <div class="settings-row">
428 <label> 452 <label>
429 <span i18n-content="downloadLocationBrowseTitle"></span> 453 <span id="download-location-label"
454 i18n-content="downloadLocationBrowseTitle">
455 </span>
430 <input id="downloadLocationPath" class="weakrtl" type="text" 456 <input id="downloadLocationPath" class="weakrtl" type="text"
431 size="36" readonly> 457 size="36" readonly>
432 </label> 458 </label>
433 <button id="downloadLocationChangeButton" 459 <button id="downloadLocationChangeButton"
434 pref="download.prompt_for_download" 460 i18n-content="downloadLocationChangeButton">
435 i18n-content="downloadLocationChangeButton"></button> 461 </button>
462 <span class="controlled-setting-indicator"
463 pref="download.default_directory">
464 </span>
436 </div> 465 </div>
437 <div class="checkbox"> 466 <div class="checkbox">
438 <label> 467 <span class="controlled-setting-with-label">
439 <input type="checkbox" 468 <input id="prompt-for-download" type="checkbox"
440 pref="download.prompt_for_download" 469 pref="download.prompt_for_download"
441 metric="Options_AskForSaveLocation"> 470 metric="Options_AskForSaveLocation">
442 <span i18n-content="downloadLocationAskForSaveLocation"></span> 471 <span>
443 </label> 472 <label for="prompt-for-download"
473 i18n-content="downloadLocationAskForSaveLocation">
474 </label>
475 <span class="controlled-setting-indicator"
476 pref="download.prompt_for_download">
477 </span>
478 </span>
479 </span>
444 </div> 480 </div>
445 <if expr="pp_ifdef('chromeos')"> 481 <if expr="pp_ifdef('chromeos')">
446 <div class="checkbox" guest-visibility="disabled"> 482 <div class="checkbox" guest-visibility="disabled">
447 <label> 483 <label>
448 <input type="checkbox" 484 <input type="checkbox"
449 pref="gdata.disabled" 485 pref="gdata.disabled"
450 metric="Options_DisableGData"> 486 metric="Options_DisableGData">
451 <span i18n-content="disableGData"></span> 487 <span i18n-content="disableGData"></span>
452 </label> 488 </label>
453 </div> 489 </div>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 </section> 606 </section>
571 </if> 607 </if>
572 </div> <!-- advanced-settings-container --> 608 </div> <!-- advanced-settings-container -->
573 </div> <!-- advanced-settings --> 609 </div> <!-- advanced-settings -->
574 <footer> 610 <footer>
575 <button id="advanced-settings-expander" class="link-button" 611 <button id="advanced-settings-expander" class="link-button"
576 i18n-content="showAdvancedSettings"> 612 i18n-content="showAdvancedSettings">
577 </button> 613 </button>
578 </footer> 614 </footer>
579 </div> 615 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.css ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698