summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/settings/site_settings/chooser_exception_list_entry.html
blob: 3bf1c47f580d54c163396656d1ba93cd9f91d435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<link rel="import" href="chrome://resources/html/polymer.html">

<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="../settings_shared_css.html">
<link rel="import" href="constants.html">
<link rel="import" href="site_list_entry.html">
<link rel="import" href="site_settings_behavior.html">
<link rel="import" href="site_settings_prefs_browser_proxy.html">

<dom-module id="chooser-exception-list-entry">
  <template>
    <style include="settings-shared"></style>

    <div class="settings-box first">
      <h2 class="start">[[exception.displayName]]</h2>
    </div>

    <div class="list-frame menu-content vertical-list" id="listContainer">
      <iron-list items="[[exception.sites]]" preserve-focus risk-selection>
        <template>
          <site-list-entry model="[[item]]"
              tabindex$="[[tabIndex]]" first$="[[!index]]"
              iron-list-tab-index="[[tabIndex]]"
              last-focused="{{lastFocused_}}"
              chooser-type="[[exception.chooserType]]"
              chooser-object="[[exception.object]]" read-only-list>
          </site-list-entry>
        </template>
      </iron-list>
    </div>
  </template>
  <script src="chooser_exception_list_entry.js"></script>
</dom-module>