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

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

Issue 2560553004: Revert of [DevTools] Remove methods on Common.Event. (Closed)
Patch Set: Created 4 years 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/DatabaseTableView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
index ce6f2629ce136181d4eb43c0225c81cd71de9208..6b98450edc9ed48b5f63772eac16ff6118f0e98f 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js
@@ -38,7 +38,7 @@
this._visibleColumnsSetting = Common.settings.createSetting('databaseTableViewVisibleColumns', {});
this.refreshButton = new UI.ToolbarButton(Common.UIString('Refresh'), 'largeicon-refresh');
- this.refreshButton.addEventListener(UI.ToolbarButton.Events.Click, this._refreshButtonClicked, this);
+ this.refreshButton.addEventListener('click', this._refreshButtonClicked, this);
this._visibleColumnsInput = new UI.ToolbarInput(Common.UIString('Visible columns'), 1);
this._visibleColumnsInput.addEventListener(UI.ToolbarInput.Event.TextChanged, this._onVisibleColumnsChanged, this);
}
@@ -134,9 +134,6 @@
this.element.appendChild(errorMsgElement);
}
- /**
- * @param {!Common.Event} event
- */
_refreshButtonClicked(event) {
this.update();
}

Powered by Google App Engine
This is Rietveld 408576698