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

Unified Diff: third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback 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/settings/EditFileSystemView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js b/third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js
index 9d4d9bd5ccd4d126b4dee49ebad1801c009f738a..5314a9e7f15e8f90085b285486970c18fe9b0536 100644
--- a/third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js
+++ b/third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js
@@ -68,7 +68,7 @@ Settings.EditFileSystemView = class extends UI.VBox {
} else {
mappingsPlaceholder.textContent = Common.UIString('No mappings');
mappingsHeader.appendChild(
- createTextButton(Common.UIString('Add'), this._addMappingButtonClicked.bind(this), 'add-button'));
+ UI.createTextButton(Common.UIString('Add'), this._addMappingButtonClicked.bind(this), 'add-button'));
}
this._mappingsList.setEmptyPlaceholder(mappingsPlaceholder);
this._mappingsList.show(this.contentElement);
@@ -77,7 +77,7 @@ Settings.EditFileSystemView = class extends UI.VBox {
excludedFoldersHeader.createChild('div', 'file-system-header-text').textContent =
Common.UIString('Excluded folders');
excludedFoldersHeader.appendChild(
- createTextButton(Common.UIString('Add'), this._addExcludedFolderButtonClicked.bind(this), 'add-button'));
+ UI.createTextButton(Common.UIString('Add'), this._addExcludedFolderButtonClicked.bind(this), 'add-button'));
this._excludedFoldersList = new UI.ListWidget(this);
this._excludedFoldersList.element.classList.add('file-system-list');
this._excludedFoldersList.registerRequiredCSS('settings/editFileSystemView.css');

Powered by Google App Engine
This is Rietveld 408576698