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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 23608003: Default keyboard layout should be set considering owners preference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 380
381 // Returns true if offline login is allowed. 381 // Returns true if offline login is allowed.
382 bool IsOfflineLoginAllowed() const; 382 bool IsOfflineLoginAllowed() const;
383 383
384 // Attempts login for test. 384 // Attempts login for test.
385 void SubmitLoginFormForTest(); 385 void SubmitLoginFormForTest();
386 386
387 // Update current input method (namely keyboard layout) to LRU by this user. 387 // Update current input method (namely keyboard layout) to LRU by this user.
388 void SetUserInputMethod(const std::string& username); 388 void SetUserInputMethod(const std::string& username);
389 389
390 // Update current input method to HW default.
391 void SetUserInputMethodHWDefault();
392
393 // Current UI state of the signin screen. 390 // Current UI state of the signin screen.
394 UIState ui_state_; 391 UIState ui_state_;
395 392
396 // Current state of Gaia frame. 393 // Current state of Gaia frame.
397 FrameState frame_state_; 394 FrameState frame_state_;
398 395
399 // Latest Gaia frame error. 396 // Latest Gaia frame error.
400 net::Error frame_error_; 397 net::Error frame_error_;
401 398
402 // A delegate that glues this handler with backend LoginDisplay. 399 // A delegate that glues this handler with backend LoginDisplay.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or 467 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or
471 // NOTIFICATION_AUTH_CANCELLED. 468 // NOTIFICATION_AUTH_CANCELLED.
472 bool has_pending_auth_ui_; 469 bool has_pending_auth_ui_;
473 470
474 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 471 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
475 }; 472 };
476 473
477 } // namespace chromeos 474 } // namespace chromeos
478 475
479 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 476 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698