Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js |
| index 1d32c3045f4ad361f0848c5bade99bffcab54621..04432869a13f4ea8a5e5d0f6fd7b4ed07e266e15 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js |
| @@ -940,6 +940,11 @@ SDK.DebuggerEventTypes = { |
| NativeBreakpoint: 2 |
| }; |
| +SDK.DebuggerModel.ContinueToLocationTargetCallFrames = { |
| + Any: 'any', |
| + Current: 'current' |
| +}; |
| + |
| /** |
| * @implements {Protocol.DebuggerDispatcher} |
| * @unrestricted |
| @@ -1076,7 +1081,8 @@ SDK.DebuggerModel.Location = class { |
| continueToLocation(pausedCallback) { |
| if (pausedCallback) |
| this.debuggerModel._continueToLocationCallback = this._paused.bind(this, pausedCallback); |
| - this.debuggerModel._agent.continueToLocation(this.payload()); |
| + this.debuggerModel._agent.continueToLocation( |
| + this.payload(), SDK.DebuggerModel.ContinueToLocationTargetCallFrames.Current); |
|
dgozman
2017/05/18 21:50:32
There is a Protocol.DebuggerAgent..... enum alread
kozy
2017/05/18 23:30:20
Acknowledged.
|
| } |
| /** |