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

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

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: rebase + blink reformat Created 3 years, 8 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
OLDNEW
1 <div id="content-settings-page" class="page" hidden> 1 <div id="content-settings-page" class="page" hidden>
2 <div class="close-button"></div> 2 <div class="close-button"></div>
3 <h1 i18n-content="contentSettingsPage"></h1> 3 <h1 i18n-content="contentSettingsPage"></h1>
4 <div class="content-area"> 4 <div class="content-area">
5 <!-- Cookie filter tab contents --> 5 <!-- Cookie filter tab contents -->
6 <section> 6 <section>
7 <h3 i18n-content="cookiesTabLabel"></h3> 7 <h3 i18n-content="cookiesTabLabel"></h3>
8 <div> 8 <div>
9 <div class="radio controlled-setting-with-label"> 9 <div class="radio controlled-setting-with-label">
10 <label> 10 <label>
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 <input type="radio" name="midi-sysex" value="block"> 525 <input type="radio" name="midi-sysex" value="block">
526 <span i18n-content="midiSysExBlock"></span> 526 <span i18n-content="midiSysExBlock"></span>
527 </label> 527 </label>
528 </div> 528 </div>
529 <div class="settings-row"> 529 <div class="settings-row">
530 <button class="exceptions-list-button" contentType="midi-sysex" 530 <button class="exceptions-list-button" contentType="midi-sysex"
531 i18n-content="manageExceptions"></button> 531 i18n-content="manageExceptions"></button>
532 </div> 532 </div>
533 </div> 533 </div>
534 </section> 534 </section>
535 <!-- Sensors filter -->
536 <section>
537 <h3 i18n-content="sensorsHeader"></h3>
538 <div>
539 <div class="radio">
540 <label>
541 <input type="radio" name="sensors" value="allow">
542 <span i18n-content="sensorsAllow"></span>
543 </label>
544 </div>
545 <div class="radio">
546 <label>
547 <input type="radio" name="sensors" value="ask">
548 <span i18n-content="sensorsAsk"></span>
549 </label>
550 </div>
551 <div class="radio">
552 <label>
553 <input type="radio" name="sensors" value="block">
554 <span i18n-content="sensorsBlock"></span>
555 </label>
556 </div>
557 <div class="settings-row">
558 <button class="exceptions-list-button" contentType="sensors"
559 i18n-content="manageExceptions"></button>
560 </div>
561 </div>
562 </section>
535 <!-- Push messaging filter --> 563 <!-- Push messaging filter -->
536 <section id="experimental-push-messaging-settings" hidden="true"> 564 <section id="experimental-push-messaging-settings" hidden="true">
537 <h3 i18n-content="pushMessagingHeader"></h3> 565 <h3 i18n-content="pushMessagingHeader"></h3>
538 <div> 566 <div>
539 <div class="radio"> 567 <div class="radio">
540 <label> 568 <label>
541 <input type="radio" name="push-messaging" value="allow"> 569 <input type="radio" name="push-messaging" value="allow">
542 <span i18n-content="pushMessagingAllow"></span> 570 <span i18n-content="pushMessagingAllow"></span>
543 </label> 571 </label>
544 </div> 572 </div>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 </section> 649 </section>
622 </div> 650 </div>
623 <div class="action-area"> 651 <div class="action-area">
624 <div class="button-strip"> 652 <div class="button-strip">
625 <button id="content-settings-overlay-confirm" class="default-button" 653 <button id="content-settings-overlay-confirm" class="default-button"
626 i18n-content="done"> 654 i18n-content="done">
627 </button> 655 </button>
628 </div> 656 </div>
629 </div> 657 </div>
630 </div> 658 </div>
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_util.cc ('k') | chrome/browser/resources/options/content_settings_exceptions_area.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698