| 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..f0222da8493287c759d64a3652290adafc1600ea 100644
|
| --- a/chrome/browser/resources/options2/cookies_list.js
|
| +++ b/chrome/browser/resources/options2/cookies_list.js
|
| @@ -118,16 +118,26 @@ cr.define('options', function() {
|
| /** @inheritDoc */
|
| decorate: function() {
|
| this.siteChild = this.ownerDocument.createElement('div');
|
| - this.siteChild.className = 'cookie-site';
|
| this.dataChild = this.ownerDocument.createElement('div');
|
| - this.dataChild.className = 'cookie-data';
|
| this.sizeChild = this.ownerDocument.createElement('div');
|
| - this.sizeChild.className = 'cookie-size';
|
| this.itemsChild = this.ownerDocument.createElement('div');
|
| - this.itemsChild.className = 'cookie-items';
|
| this.infoChild = this.ownerDocument.createElement('div');
|
| - this.infoChild.className = 'cookie-details';
|
| this.infoChild.hidden = true;
|
| +
|
| + if (this.origin.data.appId && this.origin.data.appId !== '') {
|
| + this.siteChild.className = 'app-cookie-site';
|
| + this.dataChild.className = 'app-cookie-data';
|
| + this.sizeChild.className = 'app-cookie-size';
|
| + this.itemsChild.className = 'app-cookie-items';
|
| + this.infoChild.className = 'app-cookie-details';
|
| + } else {
|
| + this.siteChild.className = 'cookie-site';
|
| + this.dataChild.className = 'cookie-data';
|
| + this.sizeChild.className = 'cookie-size';
|
| + this.itemsChild.className = 'cookie-items';
|
| + this.infoChild.className = 'cookie-details';
|
| + }
|
| +
|
| var remove = this.ownerDocument.createElement('button');
|
| remove.textContent = loadTimeData.getString('remove_cookie');
|
| remove.onclick = this.removeCookie_.bind(this);
|
|
|