OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 { | 392 { |
393 var target = WebInspector.context.flavor(WebInspector.Target); | 393 var target = WebInspector.context.flavor(WebInspector.Target); |
394 var debuggerModel = WebInspector.DebuggerModel.fromTarget(target); | 394 var debuggerModel = WebInspector.DebuggerModel.fromTarget(target); |
395 | 395 |
396 debuggerModel.setEvaluateOnCallFrameMode(this._evaluateOnStackCheckBox.c
hecked); | 396 debuggerModel.setEvaluateOnCallFrameMode(this._evaluateOnStackCheckBox.c
hecked); |
397 this._updateExecutionContextSelectorState(); | 397 this._updateExecutionContextSelectorState(); |
398 }, | 398 }, |
399 | 399 |
400 _updateExecutionContextSelectorState: function() | 400 _updateExecutionContextSelectorState: function() |
401 { | 401 { |
402 this._executionContextSelector.setEnabled(!this._isPaused || !this._eval
uateOnStackCheckBox.checked); | 402 this._executionContextComboBox.setEnabled(!this._isPaused || !this._eval
uateOnStackCheckBox.checked); |
403 }, | 403 }, |
404 // END DART SPECIFIC CODE | 404 // END DART SPECIFIC CODE |
405 | 405 |
406 _executionContextChanged: function() | 406 _executionContextChanged: function() |
407 { | 407 { |
408 this._prompt.clearAutoComplete(true); | 408 this._prompt.clearAutoComplete(true); |
409 if (!this._showAllMessagesCheckbox.checked()) | 409 if (!this._showAllMessagesCheckbox.checked()) |
410 this._updateMessageList(); | 410 this._updateMessageList(); |
411 }, | 411 }, |
412 | 412 |
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 handleAction: function(context, actionId) | 1384 handleAction: function(context, actionId) |
1385 { | 1385 { |
1386 WebInspector.console.show(); | 1386 WebInspector.console.show(); |
1387 } | 1387 } |
1388 } | 1388 } |
1389 | 1389 |
1390 /** | 1390 /** |
1391 * @typedef {{messageIndex: number, matchIndex: number}} | 1391 * @typedef {{messageIndex: number, matchIndex: number}} |
1392 */ | 1392 */ |
1393 WebInspector.ConsoleView.RegexMatchRange; | 1393 WebInspector.ConsoleView.RegexMatchRange; |
OLD | NEW |