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

Unified Diff: remoting/webapp/base/js/ui_mode.js

Issue 1370283004: [Chromoting] Remote Assistance in Public Session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PublicSession
Patch Set: Rebase Created 5 years, 3 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 | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/build_template.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/ui_mode.js
diff --git a/remoting/webapp/base/js/ui_mode.js b/remoting/webapp/base/js/ui_mode.js
index 53388600a1cc79a71be0d13c850cea55318f8304..07ad094f5a588c9311e7fac4be256c67bc9c7c9b 100644
--- a/remoting/webapp/base/js/ui_mode.js
+++ b/remoting/webapp/base/js/ui_mode.js
@@ -287,3 +287,12 @@ remoting.showSetupProcessingMessage = function(tag) {
l10n.localizeElementFromTag(messageDiv, tag);
remoting.setMode(remoting.AppMode.HOST_SETUP_PROCESSING);
}
+
+remoting.testEvents = new base.EventSourceImpl();
+
+/** @enum {string} */
+remoting.testEvents.Names = {
+ uiModeChanged: 'uiModeChanged'
+};
+
+remoting.testEvents.defineEvents(base.values(remoting.testEvents.Names));
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/build_template.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698