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

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: Add FIXME Created 6 years, 8 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 | « Source/devtools/front_end/Main.js ('k') | Source/devtools/front_end/externs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index 8a7259bcb3809f44b7bc32682fe5bacccecaf2f6..d0fed5de1d677fe8d5a08bd965c77322c1b6e646 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -486,7 +486,7 @@ WebInspector.SourcesPanel.prototype = {
/**
* @return {boolean}
*/
- _togglePause: function()
+ togglePause: function()
{
if (this._paused) {
delete this._skipExecutionLineRevealing;
@@ -634,7 +634,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);
« no previous file with comments | « Source/devtools/front_end/Main.js ('k') | Source/devtools/front_end/externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698