| Index: Source/devtools/front_end/DebuggerModel.js
|
| diff --git a/Source/devtools/front_end/DebuggerModel.js b/Source/devtools/front_end/DebuggerModel.js
|
| index fdf6d8adcb9ee71247b631a4a06d4857e62bc724..9f534bd3ca613c7455046fb8af029feb21d4d3bf 100644
|
| --- a/Source/devtools/front_end/DebuggerModel.js
|
| +++ b/Source/devtools/front_end/DebuggerModel.js
|
| @@ -85,7 +85,8 @@ WebInspector.DebuggerModel.Events = {
|
| CallFrameSelected: "CallFrameSelected",
|
| ExecutionLineChanged: "ExecutionLineChanged",
|
| ConsoleCommandEvaluatedInSelectedCallFrame: "ConsoleCommandEvaluatedInSelectedCallFrame",
|
| - BreakpointsActiveStateChanged: "BreakpointsActiveStateChanged"
|
| + BreakpointsActiveStateChanged: "BreakpointsActiveStateChanged",
|
| + SetBreakpointRequested: "SetBreakpointRequested"
|
| }
|
|
|
| WebInspector.DebuggerModel.BreakReason = {
|
| @@ -253,6 +254,14 @@ WebInspector.DebuggerModel.prototype = {
|
| this.dispatchEventToListeners(WebInspector.DebuggerModel.Events.BreakpointResolved, {breakpointId: breakpointId, location: location});
|
| },
|
|
|
| + /**
|
| + * @param {DebuggerAgent.Location} location
|
| + */
|
| + _setBreakpointRequested: function(location)
|
| + {
|
| + this.dispatchEventToListeners(WebInspector.DebuggerModel.Events.SetBreakpointRequested, {location: location});
|
| + },
|
| +
|
| _globalObjectCleared: function()
|
| {
|
| this._setDebuggerPausedDetails(null);
|
| @@ -672,6 +681,14 @@ WebInspector.DebuggerDispatcher.prototype = {
|
| breakpointResolved: function(breakpointId, location)
|
| {
|
| this._debuggerModel._breakpointResolved(breakpointId, location);
|
| + },
|
| +
|
| + /**
|
| + * @param {DebuggerAgent.Location} location
|
| + */
|
| + setBreakpointRequested: function(location)
|
| + {
|
| + this._debuggerModel._setBreakpointRequested(location);
|
| }
|
| }
|
|
|
|
|