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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2148563003: DevTools: Add reload button to disconnection dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace Created 4 years, 5 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/main/remoteDebuggingTerminatedScreen.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 8c8748bfb858a998fbaaa0c822000a21fe0a9695..4b1d40a369855e6f40f18cdf910ad8b5a754b2c9 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -986,6 +986,8 @@ WebInspector.RemoteDebuggingTerminatedScreen = function(reason)
message.createChild("span").textContent = WebInspector.UIString("Debugging connection was closed. Reason: ");
message.createChild("span", "reason").textContent = reason;
this.contentElement.createChild("div", "message").textContent = WebInspector.UIString("Reconnect when ready by reopening DevTools.");
+ var button = createTextButton(WebInspector.UIString("Reconnect DevTools"), () => window.location.reload());
+ this.contentElement.createChild("div", "button").appendChild(button);
}
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/remoteDebuggingTerminatedScreen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698