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

Unified Diff: Source/devtools/front_end/DebuggerModel.js

Issue 213423010: DevTools: Migrate General tab settings to extensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/devtools/front_end/HandlerRegistry.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/DebuggerModel.js
diff --git a/Source/devtools/front_end/DebuggerModel.js b/Source/devtools/front_end/DebuggerModel.js
index 35aceea981833c6ab3b45b651641aca8d6efa027..68423125cfd4eedc4aee33ef83d1633557555314 100644
--- a/Source/devtools/front_end/DebuggerModel.js
+++ b/Source/devtools/front_end/DebuggerModel.js
@@ -55,7 +55,9 @@ WebInspector.DebuggerModel = function(target)
this.enableDebugger();
- this.applySkipStackFrameSettings();
+ WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._applySkipStackFrameSettings, this);
+ WebInspector.settings.skipStackFramesPattern.addChangeListener(this._applySkipStackFrameSettings, this);
+ this._applySkipStackFrameSettings();
}
/**
@@ -689,7 +691,7 @@ WebInspector.DebuggerModel.prototype = {
this._pausedScript(newCallFrames, this._debuggerPausedDetails.reason, this._debuggerPausedDetails.auxData, this._debuggerPausedDetails.breakpointIds, asyncStackTrace);
},
- applySkipStackFrameSettings: function()
+ _applySkipStackFrameSettings: function()
{
if (!WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled())
return;
« no previous file with comments | « no previous file | Source/devtools/front_end/HandlerRegistry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698