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

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

Issue 225873004: DevTools: Handle the F8 shortcut forwarded from the inspected page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index 21faf8febd1f052eccb3ca0201c6dde13f59ccfd..b3048f9e8a57a7434db674d4cad51c7712cf581e 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -487,7 +487,7 @@ WebInspector.SourcesPanel.prototype = {
/**
* @return {boolean}
*/
- _togglePause: function()
+ togglePause: function()
{
if (this._paused) {
delete this._skipExecutionLineRevealing;
@@ -635,7 +635,7 @@ WebInspector.SourcesPanel.prototype = {
this._runSnippetButton.element.classList.add("hidden");
// Continue.
- handler = this._togglePause.bind(this);
+ handler = this.togglePause.bind(this);
this._pauseButton = this._createButtonAndRegisterShortcuts("scripts-pause", "", handler, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.PauseContinue);
debugToolbar.appendChild(this._pauseButton.element);

Powered by Google App Engine
This is Rietveld 408576698