Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/assert.html"> | 1 <link rel="import" href="chrome://resources/html/assert.html"> |
| 2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> | 2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.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/cr_elements/cr_action_menu/cr_action _menu.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action _menu.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> |
| 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 7 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 10 <link rel="import" href="../i18n_setup.html"> | 10 <link rel="import" href="../i18n_setup.html"> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 </template> | 86 </template> |
| 87 </div> | 87 </div> |
| 88 <template is="dom-if" if="[[item.controlledBy]]"> | 88 <template is="dom-if" if="[[item.controlledBy]]"> |
| 89 <cr-policy-pref-indicator pref="[[item]]" | 89 <cr-policy-pref-indicator pref="[[item]]" |
| 90 icon-aria-label="[[label]]"> | 90 icon-aria-label="[[label]]"> |
| 91 </cr-policy-pref-indicator> | 91 </cr-policy-pref-indicator> |
| 92 </template> | 92 </template> |
| 93 | 93 |
| 94 <paper-icon-button id="resetSite" icon="cr:delete" | 94 <paper-icon-button id="resetSite" icon="cr:delete" |
| 95 hidden="[[isResetButtonHidden_( | 95 hidden="[[isResetButtonHidden_( |
| 96 item.enforcement, readOnlyList)]]" | 96 item.enforcement, readOnlyList, item)]]" |
|
dpapad
2017/05/10 21:44:57
It seems a bit redundant that we pass |item.enforc
dschuyler
2017/05/10 22:05:36
Done.
| |
| 97 on-tap="onResetButtonTap_" | 97 on-tap="onResetButtonTap_" |
| 98 alt="$i18n{siteSettingsActionReset}"> | 98 alt="$i18n{siteSettingsActionReset}"> |
| 99 </paper-icon-button> | 99 </paper-icon-button> |
| 100 <paper-icon-button id="actionMenuButton" icon="cr:more-vert" | 100 <paper-icon-button id="actionMenuButton" icon="cr:more-vert" |
| 101 hidden= | 101 hidden="[[isActionMenuHidden_( |
| 102 "[[isActionMenuHidden_(item.enforcement, readOnlyList)]]" | 102 item.enforcement, readOnlyList, item)]]" |
| 103 on-tap="onShowActionMenuTap_" title="$i18n{moreActions}"> | 103 on-tap="onShowActionMenuTap_" title="$i18n{moreActions}"> |
| 104 </paper-icon-button> | 104 </paper-icon-button> |
| 105 </div> | 105 </div> |
| 106 </template> | 106 </template> |
| 107 </div> | 107 </div> |
| 108 </div> | 108 </div> |
| 109 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> | 109 <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp> |
| 110 <settings-edit-exception-dialog model="[[actionMenuSite_]]" | 110 <settings-edit-exception-dialog model="[[actionMenuSite_]]" |
| 111 on-close="onEditExceptionDialogClosed_"> | 111 on-close="onEditExceptionDialogClosed_"> |
| 112 </settings-edit-exception-dialog> | 112 </settings-edit-exception-dialog> |
| 113 </template> | 113 </template> |
| 114 </template> | 114 </template> |
| 115 <script src="site_list.js"></script> | 115 <script src="site_list.js"></script> |
| 116 </dom-module> | 116 </dom-module> |
| OLD | NEW |