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

Unified Diff: chrome/browser/resources/options/cookies_view.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 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/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};
});

Powered by Google App Engine
This is Rietveld 408576698