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

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

Issue 2450423002: [MD settings] cookie and site data from dialog to subpage (Closed)
Patch Set: review nit Created 4 years, 1 month 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_data_details_subpage.html
diff --git a/chrome/browser/resources/settings/site_settings/site_data_details_subpage.html b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.html
new file mode 100644
index 0000000000000000000000000000000000000000..ea776b32f6ba3a11e40aad7064962004efdb3d8d
--- /dev/null
+++ b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.html
@@ -0,0 +1,37 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
+<link rel="import" href="/route.html">
+<link rel="import" href="/settings_shared_css.html">
+<link rel="import" href="/site_settings/cookie_tree_behavior.html">
+
+<dom-module id="site-data-details-subpage">
+ <template>
+ <style include="settings-shared md-select">
+ [first] {
+ border-top: none;
+ }
+ </style>
+ <template is="dom-repeat" items="[[entries_]]">
+ <div class="settings-box" first$="[[!index]]">
+ <div class="start">[[getEntryDescription_(item)]]</div>
+ <!-- TODO(dschuyler): expand/collapse details. -->
+ <paper-icon-button data-id$="[[item.id]]" icon="cr:close"
+ on-tap="onRemove_">
+ </paper-icon-button>
+ </div>
+ <div class="list-frame vertical-list">
+ <template is="dom-repeat" items="[[getCookieNodes_(item)]]">
+ <div class="list-item two-line">
+ <div class="start">
+ [[item.label]]
+ <div class="secondary">[[item.content]]</div>
+ </div>
+ </div>
+ </template>
+ </div>
+ </template>
+ </template>
+ <script src="cookie_info.js"></script>
+ <script src="cookie_tree_node.js"></script>
+ <script src="site_data_details_subpage.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698