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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <html> 8 <html>
9 9
10 <head> 10 <head>
(...skipping 15 matching lines...) Expand all
26 <button onclick="clearOAuth2();" id="oauth2_clear_button"> 26 <button onclick="clearOAuth2();" id="oauth2_clear_button">
27 Clear 27 Clear
28 </button> 28 </button>
29 <form id='oauth2_form' action="" 29 <form id='oauth2_form' action=""
30 onsubmit="authorizeOAuth2(this['oauth2_code'].value); return false;" 30 onsubmit="authorizeOAuth2(this['oauth2_code'].value); return false;"
31 style="display:none"> 31 style="display:none">
32 <label for="auth2_code">OAuth2 Code (from window):</label> 32 <label for="auth2_code">OAuth2 Code (from window):</label>
33 <input type="text" name="oauth2_code" id="oauth2_code" /> 33 <input type="text" name="oauth2_code" id="oauth2_code" />
34 <input type="submit"/> 34 <input type="submit"/>
35 </form> 35 </form>
36 <div id="xmpp_div"> 36 <div id="email_div">
37 Current Email: <span id="current_email"></span>
38 <form id='new_email_form' action=""
39 onsubmit="setEmail(this); return false;">
40 <label for="new_email">New Email:</label>
41 <input type="text" name="new_email" id="new_email" />
42 <input type="submit" name="Set E-mail"/>
43 </form>
44 </div>
45 <div id="xmpp_div" style="display:none;">
Jamie 2011/05/25 17:04:52 Does this div ever get shown?
awong 2011/05/25 18:00:02 nope. I didn't quite want to delete it completely
37 XMPP Token: <span id="xmpp_status"></span> 46 XMPP Token: <span id="xmpp_status"></span>
38 <button onclick="clearXmpp();" id="xmpp_clear" style="display:none;"> 47 <button onclick="clearXmpp();" id="xmpp_clear" style="display:none;">
39 Clear 48 Clear
40 </button> 49 </button>
41 50
42 <form id='xmpp_form' action="" 51 <form id='xmpp_form' action=""
43 onsubmit="authorizeXmpp(this); return false;"> 52 onsubmit="authorizeXmpp(this); return false;">
44 <label for="xmpp_username">Email:</label> 53 <label for="xmpp_username">Email:</label>
45 <input type="text" name="xmpp_username" id="xmpp_username" /> 54 <input type="text" name="xmpp_username" id="xmpp_username" />
46 <label for="xmpp_password">App-specific Password:</label> 55 <label for="xmpp_password">App-specific Password:</label>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 </div> 132 </div>
124 133
125 <!-- Client UI --> 134 <!-- Client UI -->
126 <div id="client"> 135 <div id="client">
127 136
128 <div id="unconnected"> 137 <div id="unconnected">
129 <p class="message"> 138 <p class="message">
130 To connect to another computer, enter the access code provided to you 139 To connect to another computer, enter the access code provided to you
131 by that computer's user. 140 by that computer's user.
132 </p> 141 </p>
133 <form action="" onsubmit="tryConnect(this); return false;"> 142 <form action="" onsubmit="tryConnect(this['access_code_entry'].value);
143 return false;">
134 <input type="text" 144 <input type="text"
135 id="access_code_entry"/> 145 id="access_code_entry"/>
136 <button type="submit"> 146 <button type="submit">
137 Connect 147 Connect
138 </button> 148 </button>
139 </form> 149 </form>
140 <a class="switch_mode" 150 <a class="switch_mode"
141 href="#h" 151 href="#h"
142 onclick="setGlobalModePersistent('host');"> 152 onclick="setGlobalModePersistent('host');">
143 I want to share this computer instead... 153 I want to share this computer instead...
(...skipping 30 matching lines...) Expand all
174 onclick="setClientMode('unconnected');"> 184 onclick="setClientMode('unconnected');">
175 OK 185 OK
176 </button> 186 </button>
177 </div> 187 </div>
178 188
179 </div> 189 </div>
180 190
181 </body> 191 </body>
182 192
183 </html> 193 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698