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

Unified Diff: chrome/browser/resources/options2/cookies_list.js

Issue 10636019: Adding Application Data dialog for isolated apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Properly done JavaScript and CSS. Created 8 years, 6 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/options2/cookies_list.js
diff --git a/chrome/browser/resources/options2/cookies_list.js b/chrome/browser/resources/options2/cookies_list.js
index 8a4ae577c02f4d747b0f37eddc89e8d827ab04ff..e9424f2ebec43f0d87e912f1a31c334a6b9c1568 100644
--- a/chrome/browser/resources/options2/cookies_list.js
+++ b/chrome/browser/resources/options2/cookies_list.js
@@ -128,6 +128,12 @@ cr.define('options', function() {
this.infoChild = this.ownerDocument.createElement('div');
this.infoChild.className = 'cookie-details';
this.infoChild.hidden = true;
+
+ if (this.origin.data.appId !== '') {
Evan Stade 2012/07/02 18:15:37 if (this.origin.data.appId)
nasko 2012/07/02 20:48:40 Done.
+ this.siteChild.className += ' app-cookie-site';
Evan Stade 2012/07/02 18:15:37 classList.add
nasko 2012/07/02 20:48:40 Done.
+ this.itemsChild.className += ' app-cookie-items';
+ }
+
var remove = this.ownerDocument.createElement('button');
remove.textContent = loadTimeData.getString('remove_cookie');
remove.onclick = this.removeCookie_.bind(this);

Powered by Google App Engine
This is Rietveld 408576698