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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.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/ServiceWorkerCacheViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
index 3acf838f63c8cc4fef6325e8254f2ae4a6745814..e9d1b95b353533892ad5ade1ebfcf3270008fa2f 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js
@@ -4,13 +4,13 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.ServiceWorkerCacheModel} model
* @param {!WebInspector.ServiceWorkerCacheModel.Cache} cache
*/
WebInspector.ServiceWorkerCacheView = function(model, cache)
{
- WebInspector.View.call(this, WebInspector.UIString("Cache"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Cache"));
this.registerRequiredCSS("resources/serviceWorkerCacheViews.css");
this._model = model;
@@ -148,7 +148,7 @@ WebInspector.ServiceWorkerCacheView.prototype = {
* @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
return [this._refreshButton];
},
@@ -159,5 +159,5 @@ WebInspector.ServiceWorkerCacheView.prototype = {
this._entries = [];
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698