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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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 1b58eee22f67e18f50ec5be09a4089fae8810f9b..09d58bcb65f83d4b283d22a3b9a9f33495e9e137 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
@@ -29,11 +29,11 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
*/
WebInspector.CookieItemsView = function(treeElement, cookieDomain)
{
- WebInspector.View.call(this, WebInspector.UIString("Cookies"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Cookies"));
this.element.classList.add("storage-view");
@@ -62,7 +62,7 @@ WebInspector.CookieItemsView.prototype = {
* @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
return [this._refreshButton, this._clearButton, this._deleteButton];
},
@@ -187,5 +187,5 @@ WebInspector.CookieItemsView.prototype = {
}
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698