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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js

Issue 2623743002: DevTools: extract modules (non-extensions) (Closed)
Patch Set: rebaseline Created 3 years, 11 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: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
index 83441316f432eb19b7883c53f78aecb9a5bb2a4b..74b1d1141472261a12a81f48b0941f407d3b4825 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
@@ -71,10 +71,7 @@ Resources.CookieItemsView = class extends UI.SimpleView {
* @return {!Array.<!UI.ToolbarItem>}
*/
syncToolbarItems() {
- return [
- this._refreshButton, this._clearButton, this._deleteButton,
- this._filterSeparator, this._filterButton
- ];
+ return [this._refreshButton, this._clearButton, this._deleteButton, this._filterSeparator, this._filterButton];
}
/**
@@ -123,7 +120,7 @@ Resources.CookieItemsView = class extends UI.SimpleView {
if (!this._cookiesTable) {
this._cookiesTable =
- new Components.CookiesTable(false, this._update.bind(this), this._enableDeleteButton.bind(this));
+ new CookieTable.CookiesTable(false, this._update.bind(this), this._enableDeleteButton.bind(this));
}
var shownCookies = this._filterCookiesForFilters(this._cookies);
@@ -149,7 +146,7 @@ Resources.CookieItemsView = class extends UI.SimpleView {
const candidate = `${cookie.name()} ${cookie.value()} ${cookie.domain()}`;
return this._filterRegex.test(candidate);
});
- }
+ }
/**
* @param {!Array.<!SDK.Cookie>} allCookies

Powered by Google App Engine
This is Rietveld 408576698