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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.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/IndexedDBViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
index 7be9accc5877f0f95ba0b33bc58cc9d977c1e6c3..63b5ed953c4ec0973f54a446efc6cbbb47ced409 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
@@ -97,7 +97,7 @@ WebInspector.IDBDatabaseView.prototype = {
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.IndexedDBModel} model
* @param {!WebInspector.IndexedDBModel.DatabaseId} databaseId
* @param {!WebInspector.IndexedDBModel.ObjectStore} objectStore
@@ -105,7 +105,7 @@ WebInspector.IDBDatabaseView.prototype = {
*/
WebInspector.IDBDataView = function(model, databaseId, objectStore, index)
{
- WebInspector.View.call(this, WebInspector.UIString("IDB"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("IDB"));
this.registerRequiredCSS("resources/indexedDBViews.css");
this._model = model;
@@ -337,7 +337,7 @@ WebInspector.IDBDataView.prototype = {
* @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
return [this._refreshButton, this._clearButton];
},
@@ -348,7 +348,7 @@ WebInspector.IDBDataView.prototype = {
this._entries = [];
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698