| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action
_menu.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 7 <link rel="import" href="../i18n_setup.html"> | 7 <link rel="import" href="../i18n_setup.html"> |
| 8 <link rel="import" href="../icons.html"> | 8 <link rel="import" href="../icons.html"> |
| 9 <link rel="import" href="../route.html"> | 9 <link rel="import" href="../route.html"> |
| 10 <link rel="import" href="../settings_shared_css.html"> | 10 <link rel="import" href="../settings_shared_css.html"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 | 24 |
| 25 .selectable { | 25 .selectable { |
| 26 -webkit-user-select: text; | 26 -webkit-user-select: text; |
| 27 } | 27 } |
| 28 </style> | 28 </style> |
| 29 <div id="category"> | 29 <div id="category"> |
| 30 <div class="settings-box first" hidden$="[[allSites]]"> | 30 <div class="settings-box first" hidden$="[[allSites]]"> |
| 31 <h2 class="start">[[categoryHeader]]</h2> | 31 <h2 class="start">[[categoryHeader]]</h2> |
| 32 <paper-button class="secondary-button header-aligned-button" id="icon" | 32 <paper-button class="secondary-button header-aligned-button" id="icon" |
| 33 on-tap="onAddSiteTap_"> | 33 hidden="[[readOnlyList]]" on-tap="onAddSiteTap_"> |
| 34 $i18n{add} | 34 $i18n{add} |
| 35 </paper-button> | 35 </paper-button> |
| 36 </div> | 36 </div> |
| 37 | 37 |
| 38 <dialog is="cr-action-menu"> | 38 <dialog is="cr-action-menu"> |
| 39 <button class="dropdown-item" role="option" id="allow" | 39 <button class="dropdown-item" role="option" id="allow" |
| 40 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]"> | 40 on-tap="onAllowTap_" hidden$="[[!showAllowAction_]]"> |
| 41 $i18n{siteSettingsActionAllow} | 41 $i18n{siteSettingsActionAllow} |
| 42 </button> | 42 </button> |
| 43 <button class="dropdown-item" role="option" id="block" | 43 <button class="dropdown-item" role="option" id="block" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 74 <!-- This div must not contain extra whitespace. --> | 74 <!-- This div must not contain extra whitespace. --> |
| 75 <div class="selectable secondary text-elide" id="siteDescription" | 75 <div class="selectable secondary text-elide" id="siteDescription" |
| 76 >[[computeSiteDescription_(item)]]</div> | 76 >[[computeSiteDescription_(item)]]</div> |
| 77 </div> | 77 </div> |
| 78 | 78 |
| 79 <template is="dom-if" if="[[!!computeIconControlledBy_(item)]]"> | 79 <template is="dom-if" if="[[!!computeIconControlledBy_(item)]]"> |
| 80 <iron-icon icon="[[computeIconControlledBy_(item)]]"></iron-icon> | 80 <iron-icon icon="[[computeIconControlledBy_(item)]]"></iron-icon> |
| 81 </template> | 81 </template> |
| 82 | 82 |
| 83 <paper-icon-button id="dots" icon="cr:more-vert" | 83 <paper-icon-button id="dots" icon="cr:more-vert" |
| 84 hidden="[[isActionMenuHidden_(item.source)]]" | 84 hidden="[[isActionMenuHidden_(item.source, readOnlyList)]]" |
| 85 on-tap="onShowActionMenuTap_" title="$i18n{moreActions}"> | 85 on-tap="onShowActionMenuTap_" title="$i18n{moreActions}"> |
| 86 </paper-icon-button> | 86 </paper-icon-button> |
| 87 <template is="dom-if" if="[[enableSiteSettings_]]"> | 87 <template is="dom-if" if="[[enableSiteSettings_]]"> |
| 88 <div on-tap="onOriginTap_" actionable> | 88 <div on-tap="onOriginTap_" actionable> |
| 89 <button class="subpage-arrow" is="paper-icon-button-light" | 89 <button class="subpage-arrow" is="paper-icon-button-light" |
| 90 aria-label$="[[item.displayName]]" | 90 aria-label$="[[item.displayName]]" |
| 91 aria-describedby="siteDescription"></button> | 91 aria-describedby="siteDescription"></button> |
| 92 </div> | 92 </div> |
| 93 </template> | 93 </template> |
| 94 </div> | 94 </div> |
| 95 </template> | 95 </template> |
| 96 </div> | 96 </div> |
| 97 </div> | 97 </div> |
| 98 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> | 98 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> |
| 99 <settings-edit-exception-dialog model="[[actionMenuSite_]]" | 99 <settings-edit-exception-dialog model="[[actionMenuSite_]]" |
| 100 on-close="onEditExceptionDialogClosed_"> | 100 on-close="onEditExceptionDialogClosed_"> |
| 101 </settings-edit-exception-dialog> | 101 </settings-edit-exception-dialog> |
| 102 </template> | 102 </template> |
| 103 </template> | 103 </template> |
| 104 <script src="site_list.js"></script> | 104 <script src="site_list.js"></script> |
| 105 </dom-module> | 105 </dom-module> |
| OLD | NEW |