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

Unified Diff: chrome/browser/resources/settings/site_settings/site_list.html

Issue 2699013002: MD Settings: Allow editing a cookie site exception. (Closed)
Patch Set: Address nits. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/site_settings/site_list.html
diff --git a/chrome/browser/resources/settings/site_settings/site_list.html b/chrome/browser/resources/settings/site_settings/site_list.html
index fe3f2a56388c6ae376fd3ae09005d8407480053c..6f2117f6c1b82b05ffcad425afe75c54026f1c2f 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.html
+++ b/chrome/browser/resources/settings/site_settings/site_list.html
@@ -10,6 +10,7 @@
<link rel="import" href="../settings_shared_css.html">
<link rel="import" href="add_site_dialog.html">
<link rel="import" href="constants.html">
+<link rel="import" href="edit_exception_dialog.html">
<link rel="import" href="site_settings_behavior.html">
<link rel="import" href="site_settings_prefs_browser_proxy.html">
@@ -48,6 +49,10 @@
hidden$="[[!showSessionOnlyActionForSite_(actionMenuSite_)]]">
$i18n{siteSettingsActionSessionOnly}
</button>
+ <button class="dropdown-item" role="option" id="edit"
+ on-tap="onEditTap_" hidden$="[[!showEditAction_]]">
+ $i18n{edit}
+ </button>
<button class="dropdown-item" role="option" id="reset"
on-tap="onResetTap_">
$i18n{siteSettingsActionReset}
@@ -93,6 +98,11 @@
</template>
</div>
</div>
+ <template is="dom-if" if="[[showEditExceptionDialog_]]" restamp>
+ <settings-edit-exception-dialog model="[[actionMenuSite_]]"
+ on-close="onEditExceptionDialogClosed_">
+ </settings-edit-exception-dialog>
+ </template>
</template>
<script src="site_list.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698