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

Unified Diff: remoting/webapp/me2mom/choice.html

Issue 7008003: Wire in OAuth2 support into non-sandboxed connections in libjingle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright + rebase Created 9 years, 7 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/remoting.gyp ('k') | remoting/webapp/me2mom/remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/choice.html
diff --git a/remoting/webapp/me2mom/choice.html b/remoting/webapp/me2mom/choice.html
index 3c44172cd1804993b119dca6f9a7643e282f6df4..768e314deb0366b41334feb1d51895eea04545eb 100644
--- a/remoting/webapp/me2mom/choice.html
+++ b/remoting/webapp/me2mom/choice.html
@@ -33,7 +33,16 @@ found in the LICENSE file.
<input type="text" name="oauth2_code" id="oauth2_code" />
<input type="submit"/>
</form>
- <div id="xmpp_div">
+ <div id="email_div">
+ Current Email: <span id="current_email"></span>
+ <form id='new_email_form' action=""
+ onsubmit="setEmail(this); return false;">
+ <label for="new_email">New Email:</label>
+ <input type="text" name="new_email" id="new_email" />
+ <input type="submit" name="Set E-mail"/>
+ </form>
+ </div>
+ <div id="xmpp_div" style="display:none;">
XMPP Token: <span id="xmpp_status"></span>
<button onclick="clearXmpp();" id="xmpp_clear" style="display:none;">
Clear
@@ -130,7 +139,8 @@ found in the LICENSE file.
To connect to another computer, enter the access code provided to you
by that computer's user.
</p>
- <form action="" onsubmit="tryConnect(this); return false;">
+ <form action="" onsubmit="tryConnect(this['access_code_entry'].value);
+ return false;">
<input type="text"
id="access_code_entry"/>
<button type="submit">
« no previous file with comments | « remoting/remoting.gyp ('k') | remoting/webapp/me2mom/remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698