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

Side by Side Diff: chrome/browser/resources/chromeos/login/demo_user_login.js

Issue 9538002: Create Login UI for Demo User. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Demo login UI.
7 */
8
9 /**
10 * Handles a user clicking anywhere on the screen. This will log the demo user
11 * in. Yes, this actually _is the intention.
12 */
13 onClick = function() {
14 chrome.send('launchDemoUser');
15 };
16
17 /**
18 * Initializes the click handler.
19 */
20 initialize = function() {
21 document.addEventListener('click', onClick);
22 };
23
24 disableTextSelectAndDrag();
25 document.addEventListener('DOMContentLoaded', initialize);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698