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

Unified Diff: chrome/browser/resources/settings/site_settings/edit_exception_dialog.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/edit_exception_dialog.html
diff --git a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html
new file mode 100644
index 0000000000000000000000000000000000000000..9497e3c032d513579ad260168f596b9551651137
--- /dev/null
+++ b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.html
@@ -0,0 +1,29 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
+<link rel="import" href="../i18n_setup.html">
+<link rel="import" href="site_settings_prefs_browser_proxy.html">
+
+<dom-module id="settings-edit-exception-dialog">
+ <template>
+ <style include="settings-shared"></style>
+ <dialog is="cr-dialog" id="dialog">
+ <div class="title">$i18n{editSiteTitle}</div>
+ <div class="body">
+ <paper-input always-float-label label="$i18n{addSite}"
+ value="{{origin_}}" on-input="validate_" on-keypress="onKeypress_" >
+ </paper-input>
+ </div>
+ <div class="button-container">
+ <div class="action-buttons">
+ <paper-button class="cancel-button" on-tap="onCancelTap_"
+ id="cancel">$i18n{cancel}</paper-button>
+ <paper-button id="actionButton" class="action-button"
+ on-tap="onActionButtonTap_">$i18n{edit}</paper-button>
+ </div>
+ </div>
+ </dialog>
+ </template>
+ <script src="edit_exception_dialog.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698