Index: remoting/webapp/ui_mode.js |
diff --git a/remoting/webapp/ui_mode.js b/remoting/webapp/ui_mode.js |
index e9d8474a2d4282e7c78a137a080dcf6172f00f69..16e5e5354abdee70e14dec18ae3c1a789a246aa9 100644 |
--- a/remoting/webapp/ui_mode.js |
+++ b/remoting/webapp/ui_mode.js |
@@ -276,3 +276,12 @@ function confineOrRestoreFocus_(mutations) { |
} |
} |
} |
+ |
+/** |
+ * @param {string} tag |
+ */ |
+remoting.showSetupProcessingMessage = function(tag) { |
+ var messageDiv = document.getElementById('host-setup-processing-message'); |
+ l10n.localizeElementFromTag(messageDiv, tag); |
+ remoting.setMode(remoting.AppMode.HOST_SETUP_PROCESSING); |
+} |