blob: af0304159c7249673bcf48bb2a35d06c972cabac (
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
36
37
38
39
|
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/list_property_update_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-tooltip/paper-tooltip.html">
<link rel="import" href="../i18n_setup.html">
<link rel="import" href="../settings_shared_css.html">
<link rel="import" href="constants.html">
<link rel="import" href="chooser_exception_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">
<template>
<style include="settings-shared">
paper-tooltip {
--paper-tooltip: var(--cr-tooltip);
}
</style>
<div class="list-frame" id="empty-list-message"
hidden$="[[hasExceptions_(chooserExceptions.*)]]">
<div class="list-item secondary">[[emptyListMessage_]]</div>
</div>
<template is="dom-repeat" items="[[chooserExceptions]]">
<chooser-exception-list-entry exception="[[item]]"
on-show-tooltip="onShowTooltip_">
</chooser-exception-list-entry>
</template>
<paper-tooltip id="tooltip" manual-mode position="top">
[[tooltipText_]]
</paper-tooltip>
</template>
<script src="chooser_exception_list.js"></script>
</dom-module>
|