tree: ee42f2d12fcefcf066c89f7c15ba0a0d7af018f5 [path history] [tgz]
  1. resources/
  2. ui/
  3. DEPS
  4. DIR_METADATA
  5. LOGIN_LOCK_METADATA
  6. LOGIN_LOCK_OWNERS
  7. login_screen_controller.cc
  8. login_screen_controller.h
  9. login_screen_controller_unittest.cc
  10. login_screen_test_api.cc
  11. mock_login_screen_client.cc
  12. mock_login_screen_client.h
  13. OOBE_WEBUI_OWNERS
  14. OWNERS
  15. README.md
  16. SAML_INTEGRATION_OWNERS
  17. security_token_request_controller.cc
  18. security_token_request_controller.h
  19. security_token_request_controller_unittest.cc
ash/login/README.md

Entities used on the login/lock screen

The main entities used to show the login/lock screen UI.

  • //ash/public/cpp/:

    • This folder contains inferfaces that are implemented in ash or chrome and are used to communicate between ash and chrome services.
    • LoginScreenClient - handles method calls sent from ash to chrome & handles messages from chrome to ash. Forwards some of the calls to the Delegate.
  • //chrome/browser/ash/login/ui/:

    • This folder contains implementations of login and OOBE UIs.
    • [LoginDisplayHostMojo](/chrome/browser/ash/login/ui/ login_display_host_mojo.h) - a LoginDisplayHost instance that implements LoginScreenClient and sends requests to the views-based sign in. Handles calls like HandleAuthenticateUserWith...(). Owned by ChromeBrowserMainExtraPartsAsh.
  • //ash/login/:

    • This folder contains the implementation of login UI views (buttons, inputs, etc), and additional classes that handle notifications and update the UI. Also see ash/login/ui/README.md
    • LoginScreenController - mostly forwards requests to LoginScreenClient or calls Shelf APIs directly. Owned by Shell.
    • LoginDataDispatcher - provides access to data notification events needed by the lock/login screen (via the observer). Owned by LoginScreenController.
    • LockContentsView - hosts the root view for the login/lock screen. Receives notifications from the LoginDataDispatcher and updates the UI. Owned by LockScreen.
  • //chrome/browser/ash/login/lock/:

    • This folder contains the lock screen - specific logic for the login UIs.
    • ViewsScreenLocker handles calls between ash and chrome on the lock screen by implementing Delegate interfaces.