• sadrul@chromium.org's avatar
    Integrate WebUI Login with cros. · 502356d4
    sadrul@chromium.org authored
    This patch covers integrating the the WebUI based login with cros, so that when --dom-login is passed in on boot the WebUI login screen is used, keyboard comes up and the user can login.
    
    I have refactored the WebUI login code to not use a subclass of the Browser class. I have removed the unneeded DOMBrowser* classes. This work was based off a combination of the BackgroundView and the TouchBrowserFrameView. If there is comments or variable names that betray this please let me know. I have endevoured to update the comments, but significant portions of code were pulled in.
    
    Since both of the TouchBrowserFrameView and WebUILoginView have common code for having a a touch keyboard there is some refactoring to be done that will remove duplicated code between the two. This will be dealt with in a follow on CL.
    
    The animation of the keyboard has not been included in this CL, mostly because I was having issues getting it to correctly size and this CL is pretty large already. This will be resolved in a follow on CL.
    
    I am also converting from the use of DOM to WebUI at the moment, so some of the new code uses WebUI instead of DOM. I will be uploading a follow on CL that finishes this conversion.
    
    This CL depends on http://gerrit.chromium.org/gerrit/706 and http://gerrit.chromium.org/gerrit/759 landing before it to work correctly.
    
    It also depends on http://codereview.chromium.org/7014021/ to build.
    
    Patch from Ryan Harrison <rharrison@chromium.org>
    
    BUG=none
    TEST=manual
    
    Review URL: http://codereview.chromium.org/6973029
    Patch from Ryan Harrison <rharrison@chromium.org>.
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86659 0039d316-1c4b-4281-b951-d872f2087c98
    502356d4
webui_login_view.h 4.02 KB