| Index: chrome/browser/resources/options/cookies_view.js
|
| diff --git a/chrome/browser/resources/options/cookies_view.js b/chrome/browser/resources/options/cookies_view.js
|
| index 7e2221ae0dcf35b08fbb98786cadc56a6a5df0cc..304bf8b6efe7e8acbc4b31ee9e9cc26e21f20501 100644
|
| --- a/chrome/browser/resources/options/cookies_view.js
|
| +++ b/chrome/browser/resources/options/cookies_view.js
|
| @@ -16,9 +16,9 @@ cr.define('options', function() {
|
| * @extends {cr.ui.pageManager.Page}
|
| */
|
| function CookiesView(model) {
|
| - Page.call(this, 'cookies',
|
| - loadTimeData.getString('cookiesViewPageTabTitle'),
|
| - 'cookies-view-page');
|
| + Page.call(
|
| + this, 'cookies', loadTimeData.getString('cookiesViewPageTabTitle'),
|
| + 'cookies-view-page');
|
| }
|
|
|
| cr.addSingletonGetter(CookiesView);
|
| @@ -55,8 +55,8 @@ cr.define('options', function() {
|
|
|
| this.pageDiv.querySelector('.remove-all-cookies-button').onclick =
|
| function(e) {
|
| - chrome.send('removeAllCookies');
|
| - };
|
| + chrome.send('removeAllCookies');
|
| + };
|
|
|
| var cookiesList = this.pageDiv.querySelector('.cookies-list');
|
| options.CookiesList.decorate(cookiesList);
|
| @@ -92,14 +92,15 @@ cr.define('options', function() {
|
| */
|
| handleSearchQueryChange_: function(e) {
|
| var stringId = document.querySelector('.cookies-search-box').value ?
|
| - 'remove_all_shown_cookie' : 'remove_all_cookie';
|
| + 'remove_all_shown_cookie' :
|
| + 'remove_all_cookie';
|
| document.querySelector('.remove-all-cookies-button').innerHTML =
|
| loadTimeData.getString(stringId);
|
| if (this.queryDelayTimerId_)
|
| window.clearTimeout(this.queryDelayTimerId_);
|
|
|
| - this.queryDelayTimerId_ = window.setTimeout(
|
| - this.searchCookie.bind(this), 500);
|
| + this.queryDelayTimerId_ =
|
| + window.setTimeout(this.searchCookie.bind(this), 500);
|
| },
|
|
|
| initialized_: false,
|
| @@ -140,8 +141,6 @@ cr.define('options', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - CookiesView: CookiesView
|
| - };
|
| + return {CookiesView: CookiesView};
|
|
|
| });
|
|
|