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

Unified Diff: remoting/webapp/me2mom/remoting.js

Issue 7547001: Propagate connected user to web app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 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
Index: remoting/webapp/me2mom/remoting.js
diff --git a/remoting/webapp/me2mom/remoting.js b/remoting/webapp/me2mom/remoting.js
index 79589630d71eb217edf60f20e48f018dce336015..ae99b3dae3563729aadc4ad61819c288407d8990 100644
--- a/remoting/webapp/me2mom/remoting.js
+++ b/remoting/webapp/me2mom/remoting.js
@@ -332,6 +332,9 @@ function onStateChanged_() {
remoting.cancelShare();
}
} else if (state == plugin.CONNECTED) {
+ var element = document.getElementById('host-shared-message');
+ var client = plugin.client;
+ l10n.localizeElement(element, client);
remoting.setMode(remoting.AppMode.HOST_SHARED);
disableTimeoutCountdown_();
} else if (state == plugin.DISCONNECTED) {
« remoting/host/plugin/host_script_object.cc ('K') | « remoting/webapp/me2mom/l10n.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698