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

Side by Side Diff: remoting/webapp/ui_mode.js

Issue 12905012: Webapp changes to support third party authentication (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase, update patch Created 7 years, 8 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
« no previous file with comments | « remoting/webapp/third_party_token_fetcher.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Functions related to controlling the modal UI state of the app. UI states 7 * Functions related to controlling the modal UI state of the app. UI states
8 * are expressed as HTML attributes with a dotted hierarchy. For example, the 8 * are expressed as HTML attributes with a dotted hierarchy. For example, the
9 * string 'host.shared' will match any elements with an associated attribute 9 * string 'host.shared' will match any elements with an associated attribute
10 * of 'host' or 'host.shared', showing those elements and hiding all others. 10 * of 'host' or 'host.shared', showing those elements and hiding all others.
(...skipping 13 matching lines...) Expand all
24 TOKEN_REFRESH_FAILED: 'home.token-refresh-failed', 24 TOKEN_REFRESH_FAILED: 'home.token-refresh-failed',
25 HOST: 'home.host', 25 HOST: 'home.host',
26 HOST_WAITING_FOR_CODE: 'home.host.waiting-for-code', 26 HOST_WAITING_FOR_CODE: 'home.host.waiting-for-code',
27 HOST_WAITING_FOR_CONNECTION: 'home.host.waiting-for-connection', 27 HOST_WAITING_FOR_CONNECTION: 'home.host.waiting-for-connection',
28 HOST_SHARED: 'home.host.shared', 28 HOST_SHARED: 'home.host.shared',
29 HOST_SHARE_FAILED: 'home.host.share-failed', 29 HOST_SHARE_FAILED: 'home.host.share-failed',
30 HOST_SHARE_FINISHED: 'home.host.share-finished', 30 HOST_SHARE_FINISHED: 'home.host.share-finished',
31 CLIENT: 'home.client', 31 CLIENT: 'home.client',
32 CLIENT_UNCONNECTED: 'home.client.unconnected', 32 CLIENT_UNCONNECTED: 'home.client.unconnected',
33 CLIENT_PIN_PROMPT: 'home.client.pin-prompt', 33 CLIENT_PIN_PROMPT: 'home.client.pin-prompt',
34 CLIENT_THIRD_PARTY_AUTH: 'home.client.third-party-auth',
34 CLIENT_CONNECTING: 'home.client.connecting', 35 CLIENT_CONNECTING: 'home.client.connecting',
35 CLIENT_CONNECT_FAILED_IT2ME: 'home.client.connect-failed.it2me', 36 CLIENT_CONNECT_FAILED_IT2ME: 'home.client.connect-failed.it2me',
36 CLIENT_CONNECT_FAILED_ME2ME: 'home.client.connect-failed.me2me', 37 CLIENT_CONNECT_FAILED_ME2ME: 'home.client.connect-failed.me2me',
37 CLIENT_SESSION_FINISHED_IT2ME: 'home.client.session-finished.it2me', 38 CLIENT_SESSION_FINISHED_IT2ME: 'home.client.session-finished.it2me',
38 CLIENT_SESSION_FINISHED_ME2ME: 'home.client.session-finished.me2me', 39 CLIENT_SESSION_FINISHED_ME2ME: 'home.client.session-finished.me2me',
39 CLIENT_HOST_NEEDS_UPGRADE: 'home.client.host-needs-upgrade', 40 CLIENT_HOST_NEEDS_UPGRADE: 'home.client.host-needs-upgrade',
40 HISTORY: 'home.history', 41 HISTORY: 'home.history',
41 CONFIRM_HOST_DELETE: 'home.confirm-host-delete', 42 CONFIRM_HOST_DELETE: 'home.confirm-host-delete',
42 HOST_SETUP: 'home.host-setup', 43 HOST_SETUP: 'home.host-setup',
43 HOST_SETUP_INSTALL: 'home.host-setup.install', 44 HOST_SETUP_INSTALL: 'home.host-setup.install',
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 break; 248 break;
248 } 249 }
249 } 250 }
250 if (removeFromKeyboardNavigation) { 251 if (removeFromKeyboardNavigation) {
251 element.setAttribute(kSavedAttributeName, element.tabIndex); 252 element.setAttribute(kSavedAttributeName, element.tabIndex);
252 element.tabIndex = -1; 253 element.tabIndex = -1;
253 } 254 }
254 } 255 }
255 } 256 }
256 } 257 }
OLDNEW
« no previous file with comments | « remoting/webapp/third_party_token_fetcher.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698