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

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

Issue 292233002: Disable VK overscroll for login/out-of-box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 Common OOBE controller methods. 6 * @fileoverview Common OOBE controller methods.
7 */ 7 */
8 8
9 <include src="../../login/screen.js"></include> 9 <include src="../../login/screen.js"></include>
10 <include src="../user_images_grid.js"></include> 10 <include src="../user_images_grid.js"></include>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 chrome.send('oauthEnrollClose', ['done']); 313 chrome.send('oauthEnrollClose', ['done']);
314 }; 314 };
315 315
316 /** 316 /**
317 * Shows/hides login UI control bar with buttons like [Shut down]. 317 * Shows/hides login UI control bar with buttons like [Shut down].
318 */ 318 */
319 Oobe.showControlBar = function(show) { 319 Oobe.showControlBar = function(show) {
320 Oobe.getInstance().headerHidden = !show; 320 Oobe.getInstance().headerHidden = !show;
321 }; 321 };
322 322
323 /**
324 * Sets the current state of the virtual keyboard (shown/hidden).
325 */
326 Oobe.setKeyboardState = function(shown) {
327 Oobe.getInstance().virtualKeyboardShown = shown;
328 };
329
323 // Export 330 // Export
324 return { 331 return {
325 Oobe: Oobe 332 Oobe: Oobe
326 }; 333 };
327 }); 334 });
328 335
329 var Oobe = cr.ui.Oobe; 336 var Oobe = cr.ui.Oobe;
330 337
331 // Allow selection events on components with editable text (password field) 338 // Allow selection events on components with editable text (password field)
332 // bug (http://code.google.com/p/chromium/issues/detail?id=125863) 339 // bug (http://code.google.com/p/chromium/issues/detail?id=125863)
(...skipping 21 matching lines...) Expand all
354 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { 361 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() {
355 // This screen is async-loaded so we manually trigger i18n processing. 362 // This screen is async-loaded so we manually trigger i18n processing.
356 i18nTemplate.process($('oauth-enrollment'), loadTimeData); 363 i18nTemplate.process($('oauth-enrollment'), loadTimeData);
357 // Delayed binding since this isn't defined yet. 364 // Delayed binding since this isn't defined yet.
358 login.OAuthEnrollmentScreen.register(); 365 login.OAuthEnrollmentScreen.register();
359 }); 366 });
360 367
361 // Delayed binding since this isn't defined yet. 368 // Delayed binding since this isn't defined yet.
362 cr.ui.Oobe.initialize(); 369 cr.ui.Oobe.initialize();
363 }); 370 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698