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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes Created 3 years, 11 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/settings/SettingsScreen.js
diff --git a/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js b/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
index ca1dcafedc7244c74bdcf12ec3b8d6810d6c4d1d..b391ce6cc3db51b99bcc1bec6588e2187610be07 100644
--- a/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
+++ b/third_party/WebKit/Source/devtools/front_end/settings/SettingsScreen.js
@@ -52,7 +52,7 @@ Settings.SettingsScreen = class extends UI.VBox {
tabbedPane.setShrinkableTabs(false);
tabbedPane.setVerticalTabLayout(true);
var shortcutsView = new UI.SimpleView(Common.UIString('Shortcuts'));
- Components.shortcutsScreen.createShortcutsTabView().show(shortcutsView.element);
+ UI.shortcutsScreen.createShortcutsTabView().show(shortcutsView.element);
this._tabbedLocation.appendView(shortcutsView);
tabbedPane.show(this.contentElement);
@@ -181,7 +181,7 @@ Settings.GenericSettingsTab = class extends Settings.SettingsTab {
function restoreAndReload() {
Common.settings.clearAll();
- Components.reload();
+ Main.reload();
}
}

Powered by Google App Engine
This is Rietveld 408576698